From 10eb6fa15fae127cd1dfab532a5d1c3f75833680 Mon Sep 17 00:00:00 2001 From: Wiktor Kwapisiewicz Date: Mon, 13 Apr 2026 13:30:56 +0200 Subject: [PATCH 1/2] Set required features to examples This command previously failed: cargo test --all-targets --no-default-features --features codec Closes: https://github.com/wiktor-k/ssh-agent-lib/issues/102 Signed-off-by: Wiktor Kwapisiewicz --- Cargo.toml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 70038c9..199d99e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -55,3 +55,23 @@ secrecy = "0.10.3" [target.'cfg(target_os = "windows")'.dev-dependencies] interprocess = "2.4.0" + +[[example]] +name = "agent-socket-info" +required-features = ["agent"] + +[[example]] +name = "key-storage" +required-features = ["agent"] + +[[example]] +name = "proto-dumper" +required-features = ["agent"] + +[[example]] +name = "random-key" +required-features = ["agent"] + +[[example]] +name = "ssh-agent-client" +required-features = ["agent"] From b1283dfe729421dfb8cf582ec710c9f4513f17f0 Mon Sep 17 00:00:00 2001 From: Wiktor Kwapisiewicz Date: Mon, 13 Apr 2026 13:34:55 +0200 Subject: [PATCH 2/2] Suppress the `rand` warning Signed-off-by: Wiktor Kwapisiewicz --- deny.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/deny.toml b/deny.toml index 2a1db59..7ee6785 100644 --- a/deny.toml +++ b/deny.toml @@ -3,6 +3,7 @@ version = 2 yanked = "deny" ignore = [ "RUSTSEC-2023-0071", # the vurnerable crate is used in tests only + "RUSTSEC-2026-0097", # the `log` and `thread_rng` features are not enabled ] [bans]