# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" rust-version = "1.65" name = "addr2line" version = "0.22.0" exclude = [ "/benches/*", "/fixtures/*", ".github", "*.sh", "*.r", ] description = "A cross-platform symbolication library written in Rust, using `gimli`" documentation = "https://docs.rs/addr2line" readme = "./README.md" keywords = [ "DWARF", "debug", "elf", "symbolicate", "atos", ] categories = ["development-tools::debugging"] license = "Apache-2.0 OR MIT" repository = "https://github.com/gimli-rs/addr2line" [profile.bench] codegen-units = 1 debug = 2 [profile.release] debug = 2 [[example]] name = "addr2line" required-features = ["default"] [[test]] name = "output_equivalence" harness = false required-features = ["default"] [[test]] name = "correctness" required-features = ["default"] [[test]] name = "parse" required-features = ["std-object"] [dependencies.alloc] version = "1.0.0" optional = true package = "rustc-std-workspace-alloc" [dependencies.compiler_builtins] version = "0.1.2" optional = true [dependencies.core] version = "1.0.0" optional = true package = "rustc-std-workspace-core" [dependencies.cpp_demangle] version = "0.4" features = ["alloc"] optional = true default-features = false [dependencies.fallible-iterator] version = "0.3.0" optional = true default-features = false [dependencies.gimli] version = "0.29.0" features = ["read"] default-features = false [dependencies.memmap2] version = "0.9.4" optional = true [dependencies.object] version = "0.35.0" features = ["read"] optional = true default-features = false [dependencies.rustc-demangle] version = "0.1" optional = true [dependencies.smallvec] version = "1" optional = true default-features = false [dev-dependencies.backtrace] version = "0.3.13" [dev-dependencies.clap] version = "4.3.21" features = ["wrap_help"] [dev-dependencies.findshlibs] version = "0.10" [dev-dependencies.libtest-mimic] version = "0.7.2" [dev-dependencies.typed-arena] version = "2" [features] default = [ "rustc-demangle", "cpp_demangle", "std-object", "fallible-iterator", "smallvec", "memmap2", ] rustc-dep-of-std = [ "core", "alloc", "compiler_builtins", "gimli/rustc-dep-of-std", ] std = ["gimli/std"] std-object = [ "std", "object", "object/std", "object/compression", "gimli/endian-reader", ]