TOML formatting
This commit is contained in:
parent
be9b5ed855
commit
c4ca948f8a
5 changed files with 32 additions and 21 deletions
38
Cargo.toml
38
Cargo.toml
|
@ -1,12 +1,11 @@
|
||||||
[package]
|
[package]
|
||||||
|
authors = ["Bianca Fürstenau"]
|
||||||
|
description = "Buchhaltung für „Darmstadt sagt Nein zur Bezahlkarte!“"
|
||||||
|
edition = "2021"
|
||||||
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",
|
||||||
|
@ -20,29 +19,38 @@ server = [
|
||||||
"dep:openssl",
|
"dep:openssl",
|
||||||
"dep:ring-compat",
|
"dep:ring-compat",
|
||||||
]
|
]
|
||||||
|
tauri = ["server"]
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "bkbh"
|
|
||||||
crate-type = ["staticlib", "cdylib", "rlib"]
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
||||||
|
name = "bkbh"
|
||||||
|
|
||||||
[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 }
|
||||||
tauri-plugin-fs = {version = "2", optional = true}
|
tokio = { version = "^1.43", 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"}
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
[build]
|
[build]
|
||||||
target = "trunk.html"
|
|
||||||
html_output = "index.html"
|
|
||||||
dist = "www"
|
dist = "www"
|
||||||
|
html_output = "index.html"
|
||||||
|
target = "trunk.html"
|
||||||
|
|
||||||
[serve]
|
[serve]
|
||||||
port = 1420
|
|
||||||
open = false
|
open = false
|
||||||
|
port = 1420
|
||||||
ws_protocol = "ws"
|
ws_protocol = "ws"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
indentation_style = "Tabs"
|
||||||
max_width = 80
|
max_width = 80
|
||||||
tab_spaces = 8
|
|
||||||
indentation_style = "Tabs"
|
|
||||||
newline_style = "Unix"
|
newline_style = "Unix"
|
||||||
|
tab_spaces = 8
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
max_width = 80
|
|
||||||
hard_tabs = true
|
hard_tabs = true
|
||||||
|
max_width = 80
|
||||||
tab_spaces = 8
|
tab_spaces = 8
|
||||||
|
|
3
taplo.toml
Normal file
3
taplo.toml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[formatting]
|
||||||
|
indent_string = " "
|
||||||
|
reorder_keys = true
|
Loading…
Add table
Reference in a new issue