[package]
name = "tracing"
version = "0.1.31"
authors = ["Eliza Weisman <eliza@buoyant.io>", "Tokio Contributors <team@tokio.rs>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/tokio-rs/tracing"
homepage = "https://tokio.rs"
description = """
Application-level tracing for Rust.
"""
categories = [
"development-tools::debugging",
"development-tools::profiling",
"asynchronous",
"no-std",
]
keywords = ["logging", "tracing", "metrics", "async"]
edition = "2018"
rust-version = "1.49.0"
[dependencies]
tracing-core = { path = "../tracing-core", version = "0.1.22", default-features = false }
log = { version = "0.4", optional = true }
tracing-attributes = { path = "../tracing-attributes", version = "0.1.19", optional = true }
cfg-if = "1.0.0"
pin-project-lite = "0.2"
[dev-dependencies]
futures = "0.1"
criterion = { version = "0.3", default_features = false }
log = "0.4"
tokio = { version = "0.2.21", features = ["rt-core"] }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "^0.3"
[features]
default = ["std", "attributes"]
max_level_off = []
max_level_error = []
max_level_warn = []
max_level_info = []
max_level_debug = []
max_level_trace = []
release_max_level_off = []
release_max_level_error = []
release_max_level_warn = []
release_max_level_info = []
release_max_level_debug = []
release_max_level_trace = []
async-await = []
std = ["tracing-core/std"]
log-always = ["log"]
attributes = ["tracing-attributes"]
valuable = ["tracing-core/valuable"]
[[bench]]
name = "subscriber"
harness = false
[[bench]]
name = "no_subscriber"
harness = false
[badges]
maintenance = { status = "actively-developed" }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs", "--cfg", "tracing_unstable"]
rustc-args = ["--cfg", "tracing_unstable"]