From e8895d2eb37b9674a9d2a1de6dc9393a7e2e7a61 Mon Sep 17 00:00:00 2001 From: Mat Jones Date: Thu, 24 Oct 2024 10:19:43 -0400 Subject: [PATCH] put service-binding dependency under `agent` feature Signed-off-by: Mat Jones --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index dc5307c..90f01f2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ futures = { version = "0.3", optional = true } log = { version = "0.4", optional = true } tokio = { version = "1", optional = true, features = ["rt", "net", "time"] } tokio-util = { version = "0.7", optional = true, features = ["codec"] } -service-binding = { version = "^3" } +service-binding = { version = "^3", optional = true } ssh-encoding = { version = "0.2" } ssh-key = { version = "0.6", features = ["crypto", "alloc"] } thiserror = "1" @@ -36,7 +36,7 @@ secrecy = "0.8" [features] default = ["agent"] codec = ["tokio-util"] -agent = ["futures", "log", "tokio", "async-trait", "codec"] +agent = ["futures", "log", "tokio", "async-trait", "codec", "service-binding"] [dev-dependencies] env_logger = "0.11.5"