Cargo Features

[dependencies]
addr2line = { version = "0.24.2", default-features = false, features = ["std", "all", "loader", "bin", "cargo-all", "rustc-dep-of-std"] }
default = cpp_demangle, fallible-iterator, loader, rustc-demangle, smallvec

These default features are set whenever addr2line is added without default-features = false somewhere in the dependency tree.

std loader

Enables std of gimli

all = bin
loader default bin? = std

Enables memmap2, object, and typed-arena

object:

loader dependencies

bin all? = cpp_demangle, fallible-iterator, loader, rustc-demangle, smallvec

Enables clap

bin dependencies

Required by the binary

cargo-all

Use of --all-features is not supported.
This is a dummy feature to detect when --all-features is used.

rustc-dep-of-std = alloc, compiler_builtins, core

Internal feature, only used when building as part of libstd, not part of the stable interface of this crate.

Enables rustc-dep-of-std of gimli

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

alloc rustc-dep-of-std?

Enables rustc-std-workspace-alloc

fallible-iterator default bin?
smallvec default bin?
rustc-demangle default bin?
cpp_demangle default bin?
core rustc-dep-of-std?

Enables rustc-std-workspace-core

Internal feature, only used when building as part of libstd, not part of the stable interface of this crate.

compiler_builtins rustc-dep-of-std?