From fdef98407c24fd4730c1a5b47c89e7c37463371f Mon Sep 17 00:00:00 2001 From: Sebastian Hahn Date: Thu, 26 Oct 2023 14:18:24 +0200 Subject: [PATCH] hyper and tokio "full" feature for dev builds only This was an accidental regression in d1ee9bfd868a472a04f92e15e011d0fc42db6b88 which leads to pulling in the full featureset of tokio and hyper for all dependents of tokio-boring and hyper-boring. Fixes #179. --- Cargo.toml | 4 ++-- hyper-boring/Cargo.toml | 4 ++-- tokio-boring/Cargo.toml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index adb1705c..b2b684ce 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,11 +27,11 @@ libc = "0.2" hex = "0.4" rusty-hook = "^0.11" futures = "0.3" -tokio = { version = "1", features = ["full"] } +tokio = { version = "1" } anyhow = "1" antidote = "1.0.0" http = "0.2" -hyper = { version = "0.14", default-features = false, features = ["full"] } +hyper = { version = "0.14", default-features = false } linked_hash_set = "0.1" once_cell = "1.0" tower-layer = "0.3" diff --git a/hyper-boring/Cargo.toml b/hyper-boring/Cargo.toml index edaf7a97..ae95f42f 100644 --- a/hyper-boring/Cargo.toml +++ b/hyper-boring/Cargo.toml @@ -40,6 +40,6 @@ tokio-boring = { workspace = true } tower-layer = { workspace = true } [dev-dependencies] -hyper = { workspace = true } -tokio = { workspace = true } +hyper = { workspace = true, features = [ "full" ] } +tokio = { workspace = true, features = [ "full" ] } futures = { workspace = true } diff --git a/tokio-boring/Cargo.toml b/tokio-boring/Cargo.toml index 69fdf641..96e1f767 100644 --- a/tokio-boring/Cargo.toml +++ b/tokio-boring/Cargo.toml @@ -33,5 +33,5 @@ tokio = { workspace = true } [dev-dependencies] futures = { workspace = true } -tokio = { workspace = true } +tokio = { workspace = true, features = [ "full" ] } anyhow = { workspace = true }