chore(deps): migrate keyring from 3 to 4

keyring v4 is no longer a library crate; the API moved to keyring-core
plus per-platform credential store crates. Replace the keyring dependency
with keyring-core and the native store crates, and register the default
store at runtime (lazily, once) since v4 no longer selects it at compile
time via Cargo features.
This commit is contained in:
Christian Visintin
2026-06-08 19:15:11 +02:00
parent bca261b7b2
commit b1601fb17e
4 changed files with 131 additions and 19 deletions

View File

@@ -6,7 +6,7 @@
pub mod filestorage;
pub mod keyringstorage;
// ext
use keyring::Error as KeyringError;
use keyring_core::Error as KeyringError;
use thiserror::Error;
/// defines the error type for the `KeyStorage`