返回 DeepSeek-TUI-2026
Cargo.toml
根目录 / crates / secrets / Cargo.toml
1 [package]
2 name = "deepseek-secrets"
3 version.workspace = true
4 edition.workspace = true
5 license.workspace = true
6 repository.workspace = true
7 description = "Secret storage backends (OS keyring with file fallback) for DeepSeek workspace"
8
9 [dependencies]
10 serde = { workspace = true }
11 serde_json = { workspace = true }
12 thiserror = { workspace = true }
13 tracing = { workspace = true }
14 dirs = { workspace = true }
15
16 [target.'cfg(target_os = "macos")'.dependencies]
17 keyring = { version = "3", features = ["apple-native"] }
18
19 [target.'cfg(target_os = "windows")'.dependencies]
20 keyring = { version = "3", features = ["windows-native"] }
21
22 [target.'cfg(target_os = "linux")'.dependencies]
23 keyring = { version = "3", features = ["linux-native-sync-persistent", "crypto-rust"] }
24
25 [dev-dependencies]
26 tempfile = "3.16"
27
27 lines TOML