v0.2.5-pre.004-fix.002

This commit is contained in:
2026-08-19 11:47:32 +02:00
parent a0a5595186
commit 3c069347b7
3 changed files with 160 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
// file: crates/ksp-wallet-lib/tests/dependency_boundary.rs
// version: 5
// version: 6
//! Wallet-specific dependency and ownership canaries.
@@ -81,6 +81,7 @@ fn wallet_sources_use_core_pubkey_logging_facade_and_no_environment() -> std::io
assert!(all_source.contains("pub(crate) const TRACING_TARGET: &str = \"ksp-wallet-lib\";"));
assert!(!all_source.contains("solana_pubkey::"));
assert!(!all_source.contains("std::env::"));
assert!(!all_source.contains("tracing::"));
let direct_tracing_path = ["tracing", "::"].concat();
assert!(!all_source.contains(direct_tracing_path.as_str()));
return std::result::Result::Ok(());
}