Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@ fix:
# Run e2e tests against live mpp-proxy (requires funded wallet)
e2e: build
cargo test --test live -- --ignored --nocapture
# Generate coverage locally (requires cargo-llvm-cov and llvm-tools-preview)
# Install once: `rustup component add llvm-tools-preview` and `cargo install cargo-llvm-cov`
coverage:
cargo llvm-cov --all-features --workspace --fail-under-lines 85 --lcov --output-path lcov.info
2 changes: 2 additions & 0 deletions src/wallet/keychain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@ pub trait KeychainBackend: Send + Sync {
/// OS keychain backend using platform-native secret storage.
///
/// Currently supports macOS only (via `security-framework`).
#[cfg_attr(all(test, not(target_os = "macos")), allow(dead_code))]
pub struct OsKeychain;

#[cfg_attr(all(test, not(target_os = "macos")), allow(dead_code))]
impl KeychainBackend for OsKeychain {
fn get(&self, profile: &str) -> Result<Option<Zeroizing<String>>> {
#[cfg(target_os = "macos")]
Expand Down