mirror of
https://github.com/tokio-rs/tracing.git
synced 2025-09-30 06:20:38 +00:00
chore: disable default features of tracing dependencies (#1144)
This avoids relatively heavy dependencies (`tracing-attributes`, `syn`, etc.) in some cases.
This commit is contained in:
parent
2003af6815
commit
8cbc00e731
@ -39,7 +39,7 @@ traced-error = []
|
||||
|
||||
[dependencies]
|
||||
tracing-subscriber = { path = "../tracing-subscriber", version = "0.2.7", default-features = false, features = ["registry", "fmt"] }
|
||||
tracing = { path = "../tracing", version = "0.1.12"}
|
||||
tracing = { path = "../tracing", version = "0.1.12", default-features = false, features = ["std"] }
|
||||
|
||||
[badges]
|
||||
maintenance = { status = "experimental" }
|
||||
|
@ -26,7 +26,7 @@ smallvec = ["tracing-subscriber/smallvec"]
|
||||
|
||||
[dependencies]
|
||||
tracing-subscriber = { path = "../tracing-subscriber", version = "0.2.3", default-features = false, features = ["registry", "fmt"] }
|
||||
tracing = { path = "../tracing", version = "0.1.12"}
|
||||
tracing = { path = "../tracing", version = "0.1.12", default-features = false, features = ["std"] }
|
||||
lazy_static = "1.3.0"
|
||||
|
||||
[dev-dependencies]
|
||||
|
@ -23,7 +23,7 @@ default = ["tracing-log"]
|
||||
|
||||
[dependencies]
|
||||
opentelemetry = { version = "0.12", default-features = false, features = ["trace"] }
|
||||
tracing = { path = "../tracing", version = "0.1" }
|
||||
tracing = { path = "../tracing", version = "0.1", default-features = false, features = ["std"] }
|
||||
tracing-core = { path = "../tracing-core", version = "0.1" }
|
||||
tracing-subscriber = { path = "../tracing-subscriber", version = "0.2", default-features = false, features = ["registry"] }
|
||||
tracing-log = { path = "../tracing-log", version = "0.1", default-features = false, optional = true }
|
||||
|
@ -34,7 +34,7 @@ json = ["tracing-serde", "serde", "serde_json"]
|
||||
tracing-core = { path = "../tracing-core", version = "0.1.17" }
|
||||
|
||||
# only required by the filter feature
|
||||
tracing = { optional = true, path = "../tracing", version = "0.1" }
|
||||
tracing = { optional = true, path = "../tracing", version = "0.1", default-features = false, features = ["std"] }
|
||||
matchers = { optional = true, version = "0.0.1" }
|
||||
regex = { optional = true, version = "1", default-features = false, features = ["std"] }
|
||||
smallvec = { optional = true, version = "1" }
|
||||
|
@ -24,7 +24,7 @@ tower-make = [
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
tracing = { path = "../tracing", version = "0.1"}
|
||||
tracing = { path = "../tracing", version = "0.1", default-features = false, features = ["std"] }
|
||||
tracing-futures = { version = "0.2.1", path = "../tracing-futures", features = ["std-future"] }
|
||||
futures = "0.3"
|
||||
tower-service = "0.3"
|
||||
|
Loading…
x
Reference in New Issue
Block a user