mirror of
https://github.com/tower-rs/tower.git
synced 2025-10-03 15:55:24 +00:00
tower: Allow opting out of tracing/log
This is of particular importance since the `log` feature of `tracing` (currently) fails to compile if the `tracing` dependency is renamed. Without a way to disable it in `tower`, any package that both depends on `tower` **and** renames `tracing` in its dependencies is doomed.
This commit is contained in:
parent
7e35b758be
commit
ccfe7da592
@ -24,11 +24,12 @@ keywords = ["io", "async", "non-blocking", "futures", "service"]
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["full"]
|
default = ["full", "log"]
|
||||||
full = []
|
full = []
|
||||||
|
log = ["tower-buffer/log"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tower-buffer = { version = "0.3", path = "../tower-buffer" }
|
tower-buffer = { version = "0.3", path = "../tower-buffer", default-features = false }
|
||||||
tower-discover = { version = "0.3", path = "../tower-discover" }
|
tower-discover = { version = "0.3", path = "../tower-discover" }
|
||||||
tower-layer = "0.3"
|
tower-layer = "0.3"
|
||||||
tower-limit = { version = "0.3", path = "../tower-limit" }
|
tower-limit = { version = "0.3", path = "../tower-limit" }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user