[package]
name = "tracing-subscriber"
version = "0.3.15"
authors = [
"Eliza Weisman <eliza@buoyant.io>",
"David Barsky <me@davidbarsky.com>",
"Tokio Contributors <team@tokio.rs>",
]
edition = "2018"
license = "MIT"
readme = "README.md"
repository = "https://github.com/tokio-rs/tracing"
homepage = "https://tokio.rs"
description = """
Utilities for implementing and composing `tracing` subscribers.
"""
categories = [
"development-tools::debugging",
"development-tools::profiling",
"asynchronous",
]
keywords = ["logging", "tracing", "metrics", "subscriber"]
rust-version = "1.49.0"
[features]
default = ["smallvec", "fmt", "ansi", "tracing-log", "std"]
alloc = []
std = ["alloc", "tracing-core/std"]
env-filter = ["matchers", "regex", "once_cell", "tracing", "std", "thread_local"]
fmt = ["registry", "std"]
ansi = ["fmt", "ansi_term"]
registry = ["sharded-slab", "thread_local", "std"]
json = ["tracing-serde", "serde", "serde_json"]
valuable = ["tracing-core/valuable", "valuable_crate", "valuable-serde", "tracing-serde/valuable"]
local-time = ["time/local-offset"]
[dependencies]
tracing-core = { path = "../tracing-core", version = "0.1.28", default-features = false }
tracing = { optional = true, path = "../tracing", version = "0.1", default-features = false }
matchers = { optional = true, version = "0.1.0" }
regex = { optional = true, version = "1", default-features = false, features = ["std"] }
smallvec = { optional = true, version = "1.2.0" }
once_cell = { optional = true, version = "1.12" }
tracing-log = { path = "../tracing-log", version = "0.1.2", optional = true, default-features = false, features = ["log-tracer", "std"] }
ansi_term = { version = "0.12", optional = true }
time = { version = "0.3", features = ["formatting"], optional = true }
serde_json = { version = "1.0", optional = true }
serde = { version = "1.0", optional = true }
tracing-serde = { path = "../tracing-serde", version = "0.1.3", optional = true }
parking_lot = { version = "0.12", optional = true }
sharded-slab = { version = "0.1.0", optional = true }
thread_local = { version = "1.1.4", optional = true }
[target.'cfg(tracing_unstable)'.dependencies]
valuable_crate = { package = "valuable", version = "0.1.0", optional = true, default_features = false }
valuable-serde = { version = "0.1.0", optional = true, default_features = false }
[dev-dependencies]
tracing = { path = "../tracing", version = "0.1" }
tracing-mock = { path = "../tracing-mock" }
log = "0.4"
tracing-log = { path = "../tracing-log", version = "0.1.2" }
criterion = { version = "0.3", default_features = false }
regex = { version = "1", default-features = false, features = ["std"] }
tracing-futures = { path = "../tracing-futures", version = "0.2", default-features = false, features = ["std-future", "std"] }
tokio = { version = "1", features = ["rt", "macros"] }
time = { version = "0.3", features = ["formatting", "macros"] }
[badges]
maintenance = { status = "experimental" }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[bench]]
name = "filter"
harness = false
[[bench]]
name = "filter_log"
harness = false
[[bench]]
name = "fmt"
harness = false
[[bench]]
name = "enter"
harness = false