Crate features / addr2line
Feature flags · addr2line 0.27.1 · from crates.io 2026-10-24
addr2line features: what each one does, and the line to copy
Short answeraddr2line 0.27.1 has 7 features. By default it turns on rustc-demangle, cpp_demangle, loader, fallible-iterator, smallvec; add default-features = false to start from nothing. It needs Rust 1.88 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
all | bin, wasm | |
bin | loader, rustc-demangle, cpp_demangle, fallible-iterator, smallvec, dep:clap | |
cargo-all | nothing else (a switch the code checks) | |
loader | yes | std, dep:object, dep:memmap2, dep:typed-arena |
rustc-dep-of-std | core, alloc, gimli/rustc-dep-of-std | |
std | gimli/std | |
wasm | object/wasm |
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 addr2line declares (rust-version), and the release that changed it:
- 0.21.0 (2023-08-13): Rust 1.65
- 0.25.0 (2025-06-11): Rust 1.81
- 0.26.0 (2026-01-24): Rust 1.88
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p addr2line --precise <version>, or use resolver 3, which picks compatible versions for you.
More on addr2line
Real downloads, dependents and alternatives: addr2line crate data (1.1M real downloads a day, 80 dependents).
docs.rs feature list · crates.io · license Apache-2.0 OR MIT · edition 2018
Up next
Before you depend on itaddr2line crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?