1[package] 2name = "addr2line" 3version = "0.17.0" 4description = "A cross-platform symbolication library written in Rust, using `gimli`" 5documentation = "https://docs.rs/addr2line" 6exclude = ["/benches/*", "/fixtures/*", ".github"] 7keywords = ["DWARF", "debug", "elf", "symbolicate", "atos"] 8categories = ["development-tools::debugging"] 9license = "Apache-2.0 OR MIT" 10readme = "./README.md" 11repository = "https://github.com/gimli-rs/addr2line" 12 13[dependencies] 14gimli = { version = "0.26", default-features = false, features = ["read"] } 15fallible-iterator = { version = "0.2", default-features = false, optional = true } 16object = { version = "0.27.1", default-features = false, features = ["read"], optional = true } 17smallvec = { version = "1", default-features = false, optional = true } 18rustc-demangle = { version = "0.1", optional = true } 19cpp_demangle = { version = "0.3", default-features = false, optional = true } 20 21# Internal feature, only used when building as part of libstd, not part of the 22# stable interface of this crate. 23core = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-core' } 24alloc = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-alloc' } 25compiler_builtins = { version = '0.1.2', optional = true } 26 27[dev-dependencies] 28memmap = "0.7" 29clap = "2" 30backtrace = "0.3.13" 31findshlibs = "0.10" 32rustc-test = "0.3" 33auxiliary = { path = "tests/auxiliary" } 34typed-arena = "2" 35 36[profile.dev] 37split-debuginfo = 'packed' 38 39[profile.test] 40split-debuginfo = 'packed' 41 42[profile.release] 43debug = true 44split-debuginfo = 'packed' 45 46[profile.bench] 47debug = true 48codegen-units = 1 49split-debuginfo = 'packed' 50 51[features] 52default = ["rustc-demangle", "cpp_demangle", "std-object", "fallible-iterator", "smallvec"] 53std = ["gimli/std"] 54std-object = ["std", "object", "object/std", "object/compression", "gimli/endian-reader"] 55 56# Internal feature, only used when building as part of libstd, not part of the 57# stable interface of this crate. 58rustc-dep-of-std = ['core', 'alloc', 'compiler_builtins', 'gimli/rustc-dep-of-std'] 59 60[[test]] 61name = "output_equivalence" 62harness = false 63required-features = ["std-object"] 64 65[[test]] 66name = "correctness" 67required-features = ["default"] 68 69[[test]] 70name = "parse" 71required-features = ["std-object"] 72 73[[example]] 74name = "addr2line" 75required-features = ["std-object"] 76