Skip to content

Commit

Permalink
Resolve feature dependency tree
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhoo committed Mar 31, 2020
1 parent 63cd915 commit 9997597
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions tower/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,35 +26,36 @@ edition = "2018"
[features]
default = ["log"]
log = ["tracing/log"]
balance = ["discover", "load", "ready-cache", "make"]
buffer = []
balance = ["discover", "load", "ready-cache", "make", "rand", "slab"]
buffer = ["tokio/sync", "tokio/rt-core"]
discover = []
filter = []
hedge = ["filter"]
limit = []
load = ["discover"]
hedge = ["filter", "futures-util", "hdrhistogram", "tokio/time"]
limit = ["tokio/time"]
load = ["discover", "tokio/time"]
load-shed = []
make = []
ready-cache = []
reconnect = ["make"]
retry = []
spawn-ready = []
timeout = []
util = []
make = ["tokio/io-std"]
ready-cache = ["futures-util", "indexmap", "tokio/sync"]
reconnect = ["make", "tokio/io-std"]
retry = ["tokio/time"]
spawn-ready = ["futures-util", "tokio/sync", "tokio/rt-core"]
timeout = ["tokio/time"]
util = ["futures-util"]

[dependencies]
futures-core = "0.3"
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
hdrhistogram = "6.0"
indexmap = "1.0.2"
pin-project = "0.4"
rand = { version = "0.7", features = ["small_rng"] }
slab = "0.4"
tokio = { version = "0.2", features = ["rt-core", "sync", "time"] }
tower-layer = { version = "0.3", path = "../tower-layer" }
tower-service = { version = "0.3", path = "../tower-service" }
tracing = "0.1.2"

futures-util = { version = "0.3", default-features = false, features = ["alloc"], optional = true }
hdrhistogram = { version = "6.0", optional = true }
indexmap = { version = "1.0.2", optional = true }
rand = { version = "0.7", features = ["small_rng"], optional = true }
slab = { version = "0.4", optional = true }
tokio = { version = "0.2", optional = true }

[dev-dependencies]
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
hdrhistogram = "6.0"
Expand Down

0 comments on commit 9997597

Please sign in to comment.