chore(tui): add keyring platform feature flags

This commit is contained in:
2026-05-07 21:00:30 +02:00
parent eb25c61feb
commit 71586a255a

View File

@@ -3,13 +3,25 @@ name = "tui"
version = "0.1.0"
edition = "2024"
[features]
default = []
macos = ["dep:apple-native-keyring-store"]
linux-zbus = ["dep:zbus-secret-service-keyring-store"]
windows = ["dep:windows-native-keyring-store"]
sqlite = ["dep:db-keystore"]
[dependencies]
ratatui = "0.30.0"
keyring = { version = "3", features = ["apple-native"] }
keyring-core = "1.0.0"
directories = "6"
csv = "1"
apple-native-keyring-store = { version = "1.0.0", optional = true, features = ["keychain"] }
zbus-secret-service-keyring-store = { version = "1.0.0", optional = true }
windows-native-keyring-store = { version = "1.0.0", optional = true }
db-keystore = { version = "0.4.1", optional = true }
reqwest = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }