tracing/tracing/Cargo.toml
Rustin 66cafe59c4
chore: remove outdated release instructions (#3154)
The outdated release instructions have been removed.

Follow up of #2384.

Signed-off-by: Rustin170506 <tech@rustin.me>
2024-12-01 11:04:50 +01:00

115 lines
2.5 KiB
TOML

[package]
name = "tracing"
# When releasing to crates.io:
# - Remove path dependencies
# - Update doc url in README.md.
# - Update CHANGELOG.md.
# - Create "v0.2.x" git tag
version = "0.2.0"
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.63.0"
[dependencies]
tracing-core = { path = "../tracing-core", version = "0.2", default-features = false }
log = { version = "0.4.17", optional = true }
tracing-attributes = { path = "../tracing-attributes", version = "0.2", optional = true }
pin-project-lite = "0.2.9"
[dev-dependencies]
criterion = { version = "0.3.6", default-features = false }
futures = { version = "0.3.21", default-features = false }
log = "0.4.17"
tracing-mock = { path = "../tracing-mock" }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3.38"
[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 = []
alloc = ["tracing-core/alloc"]
std = ["tracing-core/std", "alloc"]
log-always = ["log"]
attributes = ["tracing-attributes"]
[[bench]]
name = "baseline"
harness = false
[[bench]]
name = "dispatch_get_clone"
harness = false
[[bench]]
name = "dispatch_get_ref"
harness = false
[[bench]]
name = "empty_span"
harness = false
[[bench]]
name = "enter_span"
harness = false
[[bench]]
name = "event"
harness = false
[[bench]]
name = "span_fields"
harness = false
[[bench]]
name = "span_no_fields"
harness = false
[[bench]]
name = "span_repeated"
harness = false
[badges]
maintenance = { status = "actively-developed" }
[package.metadata.docs.rs]
all-features = true
# enable unstable features in the documentation
rustdoc-args = ["--cfg", "docsrs", "--cfg", "tracing_unstable"]
# it's necessary to _also_ pass `--cfg tracing_unstable` to rustc, or else
# dependencies will not be enabled, and the docs build will fail.
rustc-args = ["--cfg", "tracing_unstable"]
[lints]
workspace = true