From 8bc13153b5f3290e9b70fb888890ce6ab4fbd9d3 Mon Sep 17 00:00:00 2001 From: "K.J. Valencik" Date: Tue, 27 Jul 2021 13:37:02 -0400 Subject: [PATCH] fix: Move a couple of unused dependencies to the agent feature flag --- Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d259c3e..19267ba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,15 +18,15 @@ codecov = { repository = "sekey/ssh-agent.rs" } [dependencies] byteorder = "1.2.7" serde = {version = "1.0.87", features = ["derive"]} -futures = "0.1.25" -log = "0.4.6" bytes = { version = "0.4.11", optional = true } +futures = { version = "0.1.25", optional = true } +log = { version = "0.4.6", optional = true } tokio = { version = "0.1.15", optional = true } tokio-uds = { version = "0.2.5", optional = true } [features] -agent = ["tokio", "tokio-uds", "bytes"] +agent = ["futures", "log", "tokio", "tokio-uds", "bytes"] [[example]] name = "key_storage"