# 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.81"
name = "addr2line"
version = "0.25.1"
build = false
include = [
    "/CHANGELOG.md",
    "/Cargo.lock",
    "/Cargo.toml",
    "/LICENSE-APACHE",
    "/LICENSE-MIT",
    "/README.md",
    "/src",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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"

[features]
all = [
    "bin",
    "wasm",
]
bin = [
    "loader",
    "rustc-demangle",
    "cpp_demangle",
    "fallible-iterator",
    "smallvec",
    "dep:clap",
]
cargo-all = []
default = [
    "rustc-demangle",
    "cpp_demangle",
    "loader",
    "fallible-iterator",
    "smallvec",
]
loader = [
    "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"]

[lib]
name = "addr2line"
path = "src/lib.rs"

[[bin]]
name = "addr2line"
path = "src/bin/addr2line.rs"
required-features = ["bin"]

[dependencies.alloc]
version = "1.0.0"
optional = true
package = "rustc-std-workspace-alloc"

[dependencies.clap]
version = "4.3.21"
features = ["wrap_help"]
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.32.0"
features = ["read"]
default-features = false

[dependencies.memmap2]
version = "0.9.4"
optional = true

[dependencies.object]
version = "0.37.0"
features = [
    "read",
    "compression",
]
optional = true
default-features = false

[dependencies.rustc-demangle]
version = "0.1"
optional = true

[dependencies.smallvec]
version = "1"
optional = true
default-features = false

[dependencies.typed-arena]
version = "2"
optional = true

[dev-dependencies.backtrace]
version = "0.3.13"

[dev-dependencies.criterion]
version = "0.7.0"

[dev-dependencies.findshlibs]
version = "0.10"

[dev-dependencies.libtest-mimic]
version = "0.8.1"

[profile.bench]
codegen-units = 1
debug = 2

[profile.release]
debug = 2
