1[package] 2name = "tracing" 3# When releasing to crates.io: 4# - Remove path dependencies 5# - Update html_root_url. 6# - Update doc url 7# - Cargo.toml 8# - README.md 9# - Update CHANGELOG.md. 10# - Create "v0.1.x" git tag 11version = "0.1.40" 12authors = ["Eliza Weisman <eliza@buoyant.io>", "Tokio Contributors <team@tokio.rs>"] 13license = "MIT" 14readme = "README.md" 15repository = "https://github.com/tokio-rs/tracing" 16homepage = "https://tokio.rs" 17description = """ 18Application-level tracing for Rust. 19""" 20categories = [ 21 "development-tools::debugging", 22 "development-tools::profiling", 23 "asynchronous", 24 "no-std", 25] 26keywords = ["logging", "tracing", "metrics", "async"] 27edition = "2018" 28rust-version = "1.56.0" 29 30[dependencies] 31tracing-core = { path = "../tracing-core", version = "0.1.32", default-features = false } 32log = { version = "0.4.17", optional = true } 33tracing-attributes = { path = "../tracing-attributes", version = "0.1.27", optional = true } 34pin-project-lite = "0.2.9" 35 36[dev-dependencies] 37criterion = { version = "0.3.6", default_features = false } 38futures = { version = "0.3.21", default_features = false } 39log = "0.4.17" 40tracing-mock = { path = "../tracing-mock" } 41 42[target.'cfg(target_arch = "wasm32")'.dev-dependencies] 43wasm-bindgen-test = "^0.3" 44 45[features] 46default = ["std", "attributes"] 47 48max_level_off = [] 49max_level_error = [] 50max_level_warn = [] 51max_level_info = [] 52max_level_debug = [] 53max_level_trace = [] 54 55release_max_level_off = [] 56release_max_level_error = [] 57release_max_level_warn = [] 58release_max_level_info = [] 59release_max_level_debug = [] 60release_max_level_trace = [] 61 62# This feature flag is no longer necessary. 63async-await = [] 64 65std = ["tracing-core/std"] 66log-always = ["log"] 67attributes = ["tracing-attributes"] 68valuable = ["tracing-core/valuable"] 69 70[[bench]] 71name = "baseline" 72harness = false 73 74[[bench]] 75name = "dispatch_get_clone" 76harness = false 77 78[[bench]] 79name = "dispatch_get_ref" 80harness = false 81 82[[bench]] 83name = "empty_span" 84harness = false 85 86[[bench]] 87name = "enter_span" 88harness = false 89 90[[bench]] 91name = "event" 92harness = false 93 94[[bench]] 95name = "span_fields" 96harness = false 97 98[[bench]] 99name = "span_no_fields" 100harness = false 101 102[[bench]] 103name = "span_repeated" 104harness = false 105 106[badges] 107maintenance = { status = "actively-developed" } 108 109[package.metadata.docs.rs] 110all-features = true 111# enable unstable features in the documentation 112rustdoc-args = ["--cfg", "docsrs", "--cfg", "tracing_unstable"] 113# it's necessary to _also_ pass `--cfg tracing_unstable` to rustc, or else 114# dependencies will not be enabled, and the docs build will fail. 115rustc-args = ["--cfg", "tracing_unstable"] 116