2026-07-28 20:43:46 +08:00

61 lines
1.5 KiB
TOML

[workspace]
resolver = "2"
members = [
"crates/core",
"crates/protocol",
"crates/state",
"crates/transfer",
"crates/platform",
"crates/cli",
"crates/daemon",
"crates/gui",
"crates/updater",
]
[workspace.package]
version = "1.0.0"
edition = "2024"
license = "Apache-2.0"
rust-version = "1.89"
[workspace.dependencies]
anyhow = "1.0"
base64 = "0.22"
chrono = { version = "0.4", features = ["serde"] }
clap = { version = "4.5", features = ["derive", "env"] }
directories = "6.0"
ed25519-dalek = "2.2"
eframe = "0.32"
hex = "0.4"
keyring = "3.6"
md-5 = "0.10"
notify = "8.2"
rayon = "1.11"
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "stream"] }
rusqlite = { version = "0.38", features = ["bundled"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sha2 = "0.10"
tempfile = "3.23"
thiserror = "2.0"
tokio = { version = "1.48", features = ["fs", "io-util", "macros", "net", "process", "rt-multi-thread", "signal", "sync", "time"] }
tokio-util = { version = "0.7", features = ["io"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
tray-icon = "0.21"
uuid = { version = "1.18", features = ["v4", "serde"] }
walkdir = "2.5"
[workspace.lints.rust]
unsafe_code = "forbid"
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
missing_errors_doc = "allow"
[profile.release]
lto = "thin"
codegen-units = 1
strip = "symbols"