Crate features / tracing
Feature flags · tracing 0.1.44 · from crates.io 2026-10-24
tracing features: what each one does, and the line to copy
Short answertracing 0.1.44 has 17 features. By default it turns on std, attributes; add default-features = false to start from nothing. It needs Rust 1.65.0 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
async-await | nothing else (a switch the code checks) | |
attributes | yes | tracing-attributes |
log-always | log | |
max_level_debug | nothing else (a switch the code checks) | |
max_level_error | nothing else (a switch the code checks) | |
max_level_info | nothing else (a switch the code checks) | |
max_level_off | nothing else (a switch the code checks) | |
max_level_trace | nothing else (a switch the code checks) | |
max_level_warn | nothing else (a switch the code checks) | |
release_max_level_debug | nothing else (a switch the code checks) | |
release_max_level_error | nothing else (a switch the code checks) | |
release_max_level_info | nothing else (a switch the code checks) | |
release_max_level_off | nothing else (a switch the code checks) | |
release_max_level_trace | nothing else (a switch the code checks) | |
release_max_level_warn | nothing else (a switch the code checks) | |
std | yes | tracing-core/std |
valuable | tracing-core/valuable |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version tracing declares (rust-version), and the release that changed it:
- 0.1.30 (2022-02-04): Rust 1.42.0
- 0.1.31 (2022-02-17): Rust 1.49.0
- 0.1.40 (2023-10-19): Rust 1.56.0
- 0.1.41 (2024-11-27): Rust 1.63.0
- 0.1.43 (2025-11-28): Rust 1.65.0
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p tracing --precise <version>, or use resolver 3, which picks compatible versions for you.
More on tracing
Real downloads, dependents and alternatives: tracing crate data (2.6M real downloads a day, 46,220 dependents).
Security record: tracing advisories.
docs.rs feature list · crates.io · license MIT · edition 2018
Up next
Before you depend on ittracing crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?