From 0eb56406a4f2007d6030ddc51d0b7b7f57d9b71f Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Wed, 26 Jul 2023 03:03:44 -0400 Subject: [PATCH] Further dependency minimization for build times --- common/zalloc/Cargo.toml | 2 +- coordinator/tributary/Cargo.toml | 2 +- coordinator/tributary/tendermint/Cargo.toml | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/common/zalloc/Cargo.toml b/common/zalloc/Cargo.toml index 2a18cf3c..c639e341 100644 --- a/common/zalloc/Cargo.toml +++ b/common/zalloc/Cargo.toml @@ -13,7 +13,7 @@ all-features = true rustdoc-args = ["--cfg", "docsrs"] [dependencies] -zeroize = "^1.5" +zeroize = { version = "^1.5", default-features = false } [features] # Commented for now as it requires nightly and we don't use nightly diff --git a/coordinator/tributary/Cargo.toml b/coordinator/tributary/Cargo.toml index 824288c3..cc3bd24f 100644 --- a/coordinator/tributary/Cargo.toml +++ b/coordinator/tributary/Cargo.toml @@ -32,7 +32,7 @@ scale = { package = "parity-scale-codec", version = "3", features = ["derive"] } futures = "0.3" tendermint = { package = "tendermint-machine", path = "./tendermint" } -tokio = { version = "1", features = ["macros", "sync", "time", "rt"] } +tokio = { version = "1", features = ["sync", "time", "rt"] } [features] tests = [] diff --git a/coordinator/tributary/tendermint/Cargo.toml b/coordinator/tributary/tendermint/Cargo.toml index 91153e8a..865034de 100644 --- a/coordinator/tributary/tendermint/Cargo.toml +++ b/coordinator/tributary/tendermint/Cargo.toml @@ -16,4 +16,7 @@ log = "0.4" parity-scale-codec = { version = "3", features = ["derive"] } futures = "0.3" -tokio = { version = "1", features = ["macros", "sync", "time", "rt"] } +tokio = { version = "1", features = ["sync", "time"] } + +[dev-dependencies] +tokio = { version = "1", features = ["rt-multi-thread", "macros"] }