lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README | LICENSE

commit ecef6d2c169ce679a243db2f6f1be2185cf9a509
parent baf73786aa77cca7a2d8f6bff7910d36a4323928
Author: triesap <tyson@radroots.org>
Date:   Wed,  8 Apr 2026 01:22:31 +0000

vault: gate format import for keyring builds

- keep the format macro available only for the os-keyring backend
- remove the repeated unused-import warning from the runtime-path verification lane
- preserve the secret-vault build across the std and keyring-backed matrix
- keep the change scoped to the surfaced build issue without widening behavior

Diffstat:
Mcrates/secret-vault/src/vault.rs | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/crates/secret-vault/src/vault.rs b/crates/secret-vault/src/vault.rs @@ -1,4 +1,6 @@ -use alloc::{format, string::String}; +#[cfg(feature = "os-keyring")] +use alloc::format; +use alloc::string::String; use crate::error::RadrootsSecretVaultAccessError;