Compare commits

..

No commits in common. "36a18b962dec5d39d554e3196709eecd52a9ff7b" and "be9b5ed8553e39a1175b2ee4670b50c14d7efcaa" have entirely different histories.

6 changed files with 22 additions and 33 deletions

View file

@ -1,11 +1,12 @@
[package] [package]
authors = ["Bianca Fürstenau"]
description = "Buchhaltung für „Darmstadt sagt Nein zur Bezahlkarte!“"
edition = "2024"
name = "bkbh" name = "bkbh"
version = "0.1.0" version = "0.1.0"
description = "Buchhaltung für „Darmstadt sagt Nein zur Bezahlkarte!“"
authors = ["Bianca Fürstenau"]
edition = "2021"
[features] [features]
tauri = ["server"]
leptos = [] leptos = []
server = [ server = [
"dep:tauri", "dep:tauri",
@ -19,38 +20,29 @@ server = [
"dep:openssl", "dep:openssl",
"dep:ring-compat", "dep:ring-compat",
] ]
tauri = ["server"]
[lib] [lib]
crate-type = ["staticlib", "cdylib", "rlib"]
name = "bkbh" name = "bkbh"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies] [build-dependencies]
tauri-build = { version = "2", features = [] } tauri-build = { version = "2", features = [] }
[dependencies] [dependencies]
console_error_panic_hook = { version = "0.1.7" }
leptos = { version = "^0.7", features = ["csr"] } leptos = { version = "^0.7", features = ["csr"] }
leptos_router = { version = "^0.7" } leptos_router = { version = "^0.7" }
tauri-sys = { git = "ssh://git@gitea.mathebau.de:3022/Peter/tauri-sys.git", branch = "v2", features = ["core"] }
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
serde_json = { version = "1" } serde_json = { version = "1" }
tauri-sys = { git = "ssh://git@gitea.mathebau.de:3022/Peter/tauri-sys.git", branch = "v2", features = [
"core",
] }
chrono = { version = "^0.4", optional = true }
curl = { version = "^0.4", optional = true }
openssl = { version = "^0.10", features = ["vendored"], optional = true }
rand = { version = "^0.8", optional = true }
ring-compat = { version = "^0.8", features = [
"signature",
"rand_core",
], optional = true }
rusqlite = { version = "^0.33", features = [
"backup",
"bundled",
], optional = true }
tauri = { version = "2", features = [], optional = true } tauri = { version = "2", features = [], optional = true }
tauri-plugin-fs = { version = "2", optional = true }
tauri-plugin-opener = { version = "2", optional = true } tauri-plugin-opener = { version = "2", optional = true }
tokio = { version = "^1.43", optional = true } tauri-plugin-fs = {version = "2", optional = true}
rusqlite = {version = "^0.33", features = ["backup", "bundled"], optional = true }
rand = {version = "^0.8", optional = true}
chrono = {version = "^0.4", optional = true}
tokio = {version = "^1.43", optional = true}
curl = {version = "^0.4", optional = true}
openssl = {version = "^0.10", features = ["vendored"], optional = true}
ring-compat = {version = "^0.8", features = ["signature", "rand_core"], optional = true}
console_error_panic_hook = {version = "0.1.7"}

View file

@ -1,9 +1,9 @@
[build] [build]
dist = "www"
html_output = "index.html"
target = "trunk.html" target = "trunk.html"
html_output = "index.html"
dist = "www"
[serve] [serve]
open = false
port = 1420 port = 1420
open = false
ws_protocol = "ws" ws_protocol = "ws"

View file

@ -1,4 +1,4 @@
indentation_style = "Tabs"
max_width = 80 max_width = 80
newline_style = "Unix"
tab_spaces = 8 tab_spaces = 8
indentation_style = "Tabs"
newline_style = "Unix"

View file

@ -1,4 +1,4 @@
edition = "2024" edition = "2024"
hard_tabs = true
max_width = 80 max_width = 80
hard_tabs = true
tab_spaces = 8 tab_spaces = 8

View file

@ -28,7 +28,7 @@ impl AppState {
.unwrap(); .unwrap();
let mut rng = rand::thread_rng(); let mut rng = rand::thread_rng();
let last_sync = i64::MIN; let last_sync = i64::MIN;
let id = rng.r#gen(); let id = rng.gen();
let key = SigningKey::generate(&mut rng); let key = SigningKey::generate(&mut rng);
AppState { AppState {
db, db,

View file

@ -1,3 +0,0 @@
[formatting]
indent_string = " "
reorder_keys = true