fix: drop libdbus dependency from keyring Linux backend

CI (and any Linux build without libdbus-1-dev) failed compiling
libdbus-sys, pulled in by keyring's sync-secret-service feature. Switch
to the pure-Rust zbus backend (async-secret-service + async-io +
crypto-rust): same Secret Service keychain, no system C library
needed.
This commit is contained in:
michel
2026-07-22 17:14:02 +02:00
parent 724796c1eb
commit 5e34722a1b
2 changed files with 815 additions and 11 deletions
Generated
+811 -10
View File
File diff suppressed because it is too large Load Diff
+4 -1
View File
@@ -35,7 +35,10 @@ serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.9"
directories = "6"
keyring = { version = "3", features = ["apple-native", "windows-native", "sync-secret-service"] }
# Linux uses the pure-Rust zbus Secret Service backend (async-secret-service
# + async-io + crypto-rust) instead of sync-secret-service, which links the
# system libdbus and breaks builds without libdbus-1-dev.
keyring = { version = "3", features = ["apple-native", "windows-native", "async-secret-service", "async-io", "crypto-rust"] }
[dev-dependencies]
tempfile = "3"