Minimal Leptos setup
This commit is contained in:
parent
1e77a7d831
commit
e03a16d13e
29 changed files with 1345 additions and 684 deletions
39
Cargo.toml
39
Cargo.toml
|
@ -5,6 +5,22 @@ description = "Buchhaltung für „Darmstadt sagt Nein zur Bezahlkarte!“"
|
|||
authors = ["Bianca Fürstenau"]
|
||||
edition = "2021"
|
||||
|
||||
[features]
|
||||
tauri = ["server"]
|
||||
leptos = []
|
||||
server = [
|
||||
"dep:tauri",
|
||||
"dep:tauri-plugin-opener",
|
||||
"dep:tauri-plugin-fs",
|
||||
"dep:rusqlite",
|
||||
"dep:rand",
|
||||
"dep:chrono",
|
||||
"dep:tokio",
|
||||
"dep:curl",
|
||||
"dep:openssl",
|
||||
"dep:ring-compat",
|
||||
]
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[lib]
|
||||
|
@ -18,15 +34,18 @@ crate-type = ["staticlib", "cdylib", "rlib"]
|
|||
tauri-build = { version = "2", features = [] }
|
||||
|
||||
[dependencies]
|
||||
tauri = { version = "2", features = [] }
|
||||
tauri-plugin-opener = "2"
|
||||
leptos = { version = "^0.7", features = ["ssr"] }
|
||||
tauri-sys = { git = "https://github.com/JonasKruckenberg/tauri-sys", features = ["tauri"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
rusqlite = {version = "^0.33", features = ["backup", "bundled"] }
|
||||
rand = {version = "^0.8"}
|
||||
chrono = {version = "^0.4"}
|
||||
tokio = {version = "^1.43"}
|
||||
tauri-plugin-fs = {version = "2"}
|
||||
curl = {version = "^0.4"}
|
||||
openssl = {version = "^0.10", features = ["vendored"] }
|
||||
ring-compat = {version = "^0.8", features = ["signature", "rand_core"] }
|
||||
|
||||
tauri = { version = "2", features = [], optional = true }
|
||||
tauri-plugin-opener = { version = "2", 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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue