[package]
edition = "2024"
rust-version = "1.85"
name = "tracing-calltree"
version = "0.1.2"
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Always-on hierarchical profiling for Rust tracing spans with rolling latency statistics."
documentation = "https://docs.rs/tracing-calltree"
readme = "README.md"
keywords = [
"tracing",
"profiling",
"observability",
"latency",
"async",
]
categories = [
"development-tools::debugging",
"development-tools::profiling",
"asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tracing-calltree/tracing-calltree"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
serde = ["dep:serde"]
[lib]
name = "tracing_calltree"
path = "src/lib.rs"
[[example]]
name = "sync"
path = "examples/sync.rs"
[[example]]
name = "tokio"
path = "examples/tokio.rs"
[[test]]
name = "async_timing"
path = "tests/async_timing.rs"
[[test]]
name = "concurrency"
path = "tests/concurrency.rs"
[[test]]
name = "hierarchy"
path = "tests/hierarchy.rs"
[[test]]
name = "rolling_window"
path = "tests/rolling_window.rs"
[[bench]]
name = "recording"
path = "benches/recording.rs"
harness = false
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["registry"]
[dev-dependencies.criterion]
version = "0.5"
default-features = false
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"sync",
"time",
]