CI (Rust CLI) has been red on main since the Renovate bumps to keyring 4.1.0/4.1.1 (#159/#160). cargo clippy fails with:
error[E0425]: cannot find function `use_native_store` in crate `keyring`
--> cli/src/storage.rs:14
In keyring 4.1, the crate split into two feature modes: default = ["v1"] and cli. use_native_store moved into the cli module/feature, so with default features it is no longer at the crate root. We depend on keyring = "4" (default features) and call keyring::use_native_store(true).
Fix: depend on keyring with default-features = false, features = ["cli"]. The cli use_native_store(prefer_secret_service: bool) keeps identical behavior (true = Secret Service on Linux).
CI (Rust CLI)has been red onmainsince the Renovate bumps to keyring 4.1.0/4.1.1 (#159/#160).cargo clippyfails with:In keyring 4.1, the crate split into two feature modes:
default = ["v1"]andcli.use_native_storemoved into theclimodule/feature, so with default features it is no longer at the crate root. We depend onkeyring = "4"(default features) and callkeyring::use_native_store(true).Fix: depend on
keyringwithdefault-features = false, features = ["cli"]. Thecliuse_native_store(prefer_secret_service: bool)keeps identical behavior (true= Secret Service on Linux).