# 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-attributes"
version = "0.1.31"
authors = [
    "Tokio Contributors <team@tokio.rs>",
    "Eliza Weisman <eliza@buoyant.io>",
    "David Barsky <dbarsky@amazon.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Procedural macro attributes for automatically instrumenting functions.
"""
homepage = "https://tokio.rs"
readme = "README.md"
keywords = [
    "logging",
    "tracing",
    "macro",
    "instrument",
    "log",
]
categories = [
    "development-tools::debugging",
    "development-tools::profiling",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/tokio-rs/tracing"
resolver = "2"

[badges.maintenance]
status = "experimental"

[features]
async-await = []

[lib]
name = "tracing_attributes"
path = "src/lib.rs"
proc-macro = true

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.proc-macro2]
version = "1.0.60"

[dependencies.quote]
version = "1.0.20"

[dependencies.syn]
version = "2.0"
features = [
    "full",
    "parsing",
    "printing",
    "visit-mut",
    "clone-impls",
    "extra-traits",
    "proc-macro",
]
default-features = false

[dev-dependencies.async-trait]
version = "0.1.67"

[dev-dependencies.rustversion]
version = "1.0.9"

[dev-dependencies.tokio-test]
version = "0.4.2"

[dev-dependencies.tracing]
version = "0.1.35"

[dev-dependencies.tracing-subscriber]
version = "0.3.0"
features = ["env-filter"]

[dev-dependencies.trybuild]
version = "1.0.64"

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