bkbh/Cargo.toml
2025-02-22 07:09:34 +01:00

52 lines
1.7 KiB
TOML

[package]
name = "bkbh"
version = "0.1.0"
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]
# The `_lib` suffix may seem redundant but it is necessary
# to make the lib name unique and wouldn't conflict with the bin name.
# This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
name = "bkbh_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]
tauri-build = { version = "2", features = [] }
[dependencies]
leptos = { version = "^0.7", features = ["csr"] }
tauri-sys = { path = "../tauri-sys", features = ["core"] }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1" }
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}
console_error_panic_hook = {version = "0.1.7"}