feat(tui): update keyring initialization and enhance token handling in main function

This commit is contained in:
2026-05-07 21:24:01 +02:00
parent 9a84fcf061
commit 46bd416410
4 changed files with 574 additions and 50 deletions

View File

@@ -5,22 +5,24 @@ edition = "2024"
[features]
default = []
macos = ["dep:apple-native-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"]
macos = ["dep:apple-native-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"]
[dependencies]
ratatui = "0.30.0"
keyring-core = "1.0.0"
directories = "6"
csv = "1"
apple-native-keyring-store = { version = "1.0.0", optional = true, features = ["keychain"] }
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.2-pre.2", optional = true }
windows-native-keyring-store = { version = "1.0.0", optional = true }
reqwest = { workspace = true }
serde = { workspace = true }