feat(tui): fix keyring import path, add init_keyring() with platform feature flags

This commit is contained in:
2026-05-07 21:09:21 +02:00
parent 4159e60148
commit 1f03889b30
2 changed files with 45 additions and 7 deletions

View File

@@ -6,7 +6,7 @@ edition = "2024"
[features]
default = []
macos = ["dep:apple-native-keyring-store"]
linux-zbus = ["dep:zbus-secret-service-keyring-store"]
linux-zbus = ["dep:zbus-secret-service-keyring-store", "zbus-secret-service-keyring-store/rt-tokio-crypto-rust"]
windows = ["dep:windows-native-keyring-store"]
sqlite = ["dep:db-keystore"]
@@ -20,7 +20,7 @@ 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 }
db-keystore = { version = "0.4.2-pre.2", optional = true }
reqwest = { workspace = true }
serde = { workspace = true }