trace_id 0.1.1

A lightweight, high-performance tracing ID generation and propagation library for Rust, with out-of-the-box support for Axum.
Documentation
[[bench]]
harness = false
name = "core_benchmarks"
path = "benches/core_benchmarks.rs"

[dependencies.axum]
optional = true
version = "0.8.4"

[dependencies.fastrand]
version = "2.0"

[dependencies.tokio]
features = ["rt"]
version = "1.47.1"

[dependencies.tower]
optional = true
version = "0.5.2"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.axum]
version = "0.8.4"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.tokio]
features = ["macros", "time", "rt-multi-thread", "net"]
version = "1.47.1"

[dev-dependencies.tower]
version = "0.5.2"

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

[[example]]
name = "tracing_configurations"
path = "examples/tracing_configurations.rs"
required-features = ["axum"]

[[example]]
name = "tracing_example"
path = "examples/tracing_example.rs"
required-features = ["axum"]

[features]
axum = ["dep:axum", "dep:tower"]
default = []

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

[package]
authors = ["kanata996 <kkanata996@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["web-programming", "api-bindings", "asynchronous"]
description = "A lightweight, high-performance tracing ID generation and propagation library for Rust, with out-of-the-box support for Axum."
documentation = "https://docs.rs/trace_id"
edition = "2021"
homepage = "https://github.com/OpenMindOpenWorld/trace_id"
keywords = ["trace-id", "tracing", "logging", "observability", "axum"]
license = "MIT OR Apache-2.0"
name = "trace_id"
readme = "README.md"
repository = "https://github.com/OpenMindOpenWorld/trace_id"
version = "0.1.1"

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

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

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

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