| [package] |
| name = "tracing-core" |
| # When releasing to crates.io: |
| # - Remove path dependencies |
| # - Update html_root_url. |
| # - Update doc url |
| # - Cargo.toml |
| # - README.md |
| # - Update CHANGELOG.md. |
| # - Create "v0.1.x" git tag. |
| version = "0.1.32" |
| authors = ["Tokio Contributors <team@tokio.rs>"] |
| license = "MIT" |
| readme = "README.md" |
| repository = "https://github.com/tokio-rs/tracing" |
| homepage = "https://tokio.rs" |
| description = """ |
| Core primitives for application-level tracing. |
| """ |
| categories = [ |
| "development-tools::debugging", |
| "development-tools::profiling", |
| "asynchronous", |
| ] |
| keywords = ["logging", "tracing", "profiling"] |
| edition = "2018" |
| rust-version = "1.56.0" |
| |
| [features] |
| default = ["std", "valuable/std"] |
| std = ["once_cell"] |
| |
| [badges] |
| maintenance = { status = "actively-developed" } |
| |
| [dependencies] |
| once_cell = { version = "1.13.0", optional = true } |
| |
| [target.'cfg(tracing_unstable)'.dependencies] |
| valuable = { version = "0.1.0", optional = true, default-features = false } |
| |
| [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"] |