From 3ba4c3c2b08f9827af67b208f276e95082b625bd Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sun, 31 Mar 2019 11:11:36 -0400 Subject: Remove deno_core_http_bench from core/Cargo.toml (#2023) So we don't have to have an optional tokio dependency. We build deno_core_http_bench using GN anyway. --- Cargo.lock | 1 - core/Cargo.toml | 9 --------- 2 files changed, 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7b931c8bc..9f803b281 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -188,7 +188,6 @@ dependencies = [ "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] diff --git a/core/Cargo.toml b/core/Cargo.toml index 06addd9c1..b96713e19 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -8,18 +8,9 @@ edition = "2018" [lib] path = "lib.rs" -[[bin]] -name = "deno_core_http_bench" -path = "http_bench.rs" -required-features = ["bin-dependencies"] - -[features] -bin-dependencies = ["tokio"] - [dependencies] futures = "0.1.25" lazy_static = "1.3.0" libc = "0.2.51" log = "0.4.6" serde_json = "1.0.39" -tokio = { version = "0.1.18", optional = true } -- cgit v1.2.3