# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
rust-version = "1.65.0"
name = "tracing-core"
version = "0.1.36"
authors = ["Tokio Contributors <team@tokio.rs>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Core primitives for application-level tracing.
"""
homepage = "https://tokio.rs"
readme = "README.md"
keywords = [
    "logging",
    "tracing",
    "profiling",
]
categories = [
    "development-tools::debugging",
    "development-tools::profiling",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/tokio-rs/tracing"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
    "--cfg",
    "tracing_unstable",
]
rustc-args = [
    "--cfg",
    "tracing_unstable",
]

[badges.maintenance]
status = "actively-developed"

[features]
default = [
    "std",
    "valuable?/std",
]
std = ["once_cell"]

[lib]
name = "tracing_core"
path = "src/lib.rs"

[[test]]
name = "dispatch"
path = "tests/dispatch.rs"

[[test]]
name = "global_dispatch"
path = "tests/global_dispatch.rs"

[[test]]
name = "local_dispatch_before_init"
path = "tests/local_dispatch_before_init.rs"

[[test]]
name = "macros"
path = "tests/macros.rs"

[[test]]
name = "missed_register_callsite"
path = "tests/missed_register_callsite.rs"

[dependencies.once_cell]
version = "1.13.0"
optional = true

[target."cfg(tracing_unstable)".dependencies.valuable]
version = "0.1.0"
optional = true
default-features = false

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(flaky_tests)",
    "cfg(tracing_unstable)",
    "cfg(unsound_local_offset)",
]
