Cargo Features

[dependencies]
addr2line = { version = "0.22.0", default-features = false, features = ["std", "std-object", "rustc-dep-of-std", "fallible-iterator", "memmap2", "smallvec", "rustc-demangle", "cpp_demangle"] }
default = cpp_demangle, fallible-iterator, memmap2, rustc-demangle, smallvec, std-object

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

std std-object

Enables std of gimli

Affects addr2line::builtin_split_dwarf_loader

std-object default = object, std

Enables endian-reader of gimli, compression and std of object

Affects addr2line::ObjectContext

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
memmap2 default

Affects addr2line::builtin_split_dwarf_loader

object std-object

Affects addr2line::builtin_split_dwarf_loader

smallvec default
rustc-demangle default
cpp_demangle default
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?