1[package]
2name = "tracing-core"
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.32"
12authors = ["Tokio Contributors <team@tokio.rs>"]
13license = "MIT"
14readme = "README.md"
15repository = "https://github.com/tokio-rs/tracing"
16homepage = "https://tokio.rs"
17description = """
18Core primitives for application-level tracing.
19"""
20categories = [
21 "development-tools::debugging",
22 "development-tools::profiling",
23 "asynchronous",
24]
25keywords = ["logging", "tracing", "profiling"]
26edition = "2018"
27rust-version = "1.56.0"
28
29[features]
30default = ["std", "valuable/std"]
31std = ["once_cell"]
32
33[badges]
34maintenance = { status = "actively-developed" }
35
36[dependencies]
37once_cell = { version = "1.13.0", optional = true }
38
39[target.'cfg(tracing_unstable)'.dependencies]
40valuable = { version = "0.1.0", optional = true, default-features = false }
41
42[package.metadata.docs.rs]
43all-features = true
44# enable unstable features in the documentation
45rustdoc-args = ["--cfg", "docsrs", "--cfg", "tracing_unstable"]
46# it's necessary to _also_ pass `--cfg tracing_unstable` to rustc, or else
47# dependencies will not be enabled, and the docs build will fail.
48rustc-args = ["--cfg", "tracing_unstable"]
49