251 lines
4.7 KiB
TOML
251 lines
4.7 KiB
TOML
# 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.63.0"
|
|
name = "tracing"
|
|
version = "0.1.41"
|
|
authors = [
|
|
"Eliza Weisman <eliza@buoyant.io>",
|
|
"Tokio Contributors <team@tokio.rs>",
|
|
]
|
|
build = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = """
|
|
Application-level tracing for Rust.
|
|
"""
|
|
homepage = "https://tokio.rs"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"logging",
|
|
"tracing",
|
|
"metrics",
|
|
"async",
|
|
]
|
|
categories = [
|
|
"development-tools::debugging",
|
|
"development-tools::profiling",
|
|
"asynchronous",
|
|
"no-std",
|
|
]
|
|
license = "MIT"
|
|
repository = "https://github.com/tokio-rs/tracing"
|
|
resolver = "2"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustc-args = [
|
|
"--cfg",
|
|
"tracing_unstable",
|
|
]
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"docsrs",
|
|
"--cfg",
|
|
"tracing_unstable",
|
|
]
|
|
|
|
[lib]
|
|
name = "tracing"
|
|
path = "src/lib.rs"
|
|
|
|
[[test]]
|
|
name = "enabled"
|
|
path = "tests/enabled.rs"
|
|
|
|
[[test]]
|
|
name = "event"
|
|
path = "tests/event.rs"
|
|
|
|
[[test]]
|
|
name = "filter_caching_is_lexically_scoped"
|
|
path = "tests/filter_caching_is_lexically_scoped.rs"
|
|
|
|
[[test]]
|
|
name = "filters_are_not_reevaluated_for_the_same_span"
|
|
path = "tests/filters_are_not_reevaluated_for_the_same_span.rs"
|
|
|
|
[[test]]
|
|
name = "filters_are_reevaluated_for_different_call_sites"
|
|
path = "tests/filters_are_reevaluated_for_different_call_sites.rs"
|
|
|
|
[[test]]
|
|
name = "filters_dont_leak"
|
|
path = "tests/filters_dont_leak.rs"
|
|
|
|
[[test]]
|
|
name = "future_send"
|
|
path = "tests/future_send.rs"
|
|
|
|
[[test]]
|
|
name = "instrument"
|
|
path = "tests/instrument.rs"
|
|
|
|
[[test]]
|
|
name = "macro_imports"
|
|
path = "tests/macro_imports.rs"
|
|
|
|
[[test]]
|
|
name = "macros"
|
|
path = "tests/macros.rs"
|
|
|
|
[[test]]
|
|
name = "macros_incompatible_concat"
|
|
path = "tests/macros_incompatible_concat.rs"
|
|
|
|
[[test]]
|
|
name = "max_level_hint"
|
|
path = "tests/max_level_hint.rs"
|
|
|
|
[[test]]
|
|
name = "missed_register_callsite"
|
|
path = "tests/missed_register_callsite.rs"
|
|
|
|
[[test]]
|
|
name = "multiple_max_level_hints"
|
|
path = "tests/multiple_max_level_hints.rs"
|
|
|
|
[[test]]
|
|
name = "no_subscriber"
|
|
path = "tests/no_subscriber.rs"
|
|
|
|
[[test]]
|
|
name = "register_callsite_deadlock"
|
|
path = "tests/register_callsite_deadlock.rs"
|
|
|
|
[[test]]
|
|
name = "scoped_clobbers_default"
|
|
path = "tests/scoped_clobbers_default.rs"
|
|
|
|
[[test]]
|
|
name = "span"
|
|
path = "tests/span.rs"
|
|
|
|
[[test]]
|
|
name = "subscriber"
|
|
path = "tests/subscriber.rs"
|
|
|
|
[[bench]]
|
|
name = "baseline"
|
|
path = "benches/baseline.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "dispatch_get_clone"
|
|
path = "benches/dispatch_get_clone.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "dispatch_get_ref"
|
|
path = "benches/dispatch_get_ref.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "empty_span"
|
|
path = "benches/empty_span.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "enter_span"
|
|
path = "benches/enter_span.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "event"
|
|
path = "benches/event.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "shared"
|
|
path = "benches/shared.rs"
|
|
|
|
[[bench]]
|
|
name = "span_fields"
|
|
path = "benches/span_fields.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "span_no_fields"
|
|
path = "benches/span_no_fields.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "span_repeated"
|
|
path = "benches/span_repeated.rs"
|
|
harness = false
|
|
|
|
[dependencies.log]
|
|
version = "0.4.17"
|
|
optional = true
|
|
|
|
[dependencies.pin-project-lite]
|
|
version = "0.2.9"
|
|
|
|
[dependencies.tracing-attributes]
|
|
version = "0.1.28"
|
|
optional = true
|
|
|
|
[dependencies.tracing-core]
|
|
version = "0.1.33"
|
|
default-features = false
|
|
|
|
[dev-dependencies.criterion]
|
|
version = "0.3.6"
|
|
default-features = false
|
|
|
|
[dev-dependencies.futures]
|
|
version = "0.3.21"
|
|
default-features = false
|
|
|
|
[dev-dependencies.log]
|
|
version = "0.4.17"
|
|
|
|
[features]
|
|
async-await = []
|
|
attributes = ["tracing-attributes"]
|
|
default = [
|
|
"std",
|
|
"attributes",
|
|
]
|
|
log-always = ["log"]
|
|
max_level_debug = []
|
|
max_level_error = []
|
|
max_level_info = []
|
|
max_level_off = []
|
|
max_level_trace = []
|
|
max_level_warn = []
|
|
release_max_level_debug = []
|
|
release_max_level_error = []
|
|
release_max_level_info = []
|
|
release_max_level_off = []
|
|
release_max_level_trace = []
|
|
release_max_level_warn = []
|
|
std = ["tracing-core/std"]
|
|
valuable = ["tracing-core/valuable"]
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
|
|
version = "0.3.38"
|
|
|
|
[badges.maintenance]
|
|
status = "actively-developed"
|
|
|
|
[lints.rust.unexpected_cfgs]
|
|
level = "warn"
|
|
priority = 0
|
|
check-cfg = [
|
|
"cfg(flaky_tests)",
|
|
"cfg(tracing_unstable)",
|
|
]
|