# 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"
name = "cpp_demangle"
version = "0.5.1"
authors = [
    "Nick Fitzgerald <fitzgen@gmail.com>",
    "Jim Blandy <jimb@red-bean.com>",
    "Kyle Huey <khuey@kylehuey.com>",
]
build = "build.rs"
exclude = [
    "tests/**",
    "in/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A crate for demangling C++ symbols"
documentation = "https://docs.rs/cpp_demangle"
readme = "README.md"
keywords = [
    "demangle",
    "symbolicate",
    "c-plus-plus",
    "itanium",
]
categories = [
    "development-tools::debugging",
    "development-tools::ffi",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/gimli-rs/cpp_demangle"

[features]
alloc = []
default = ["std"]
fuzz = ["afl"]
logging = ["std"]
run_libiberty_tests = []
std = ["alloc"]

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

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

[[example]]
name = "cppfilt"
path = "examples/cppfilt.rs"

[[example]]
name = "simple"
path = "examples/simple.rs"
required-features = ["std"]

[dependencies.afl]
version = "0.16"
optional = true

[dependencies.cfg-if]
version = "1.0.0"

[dev-dependencies.clap]
version = "4.0"
features = ["derive"]

[dev-dependencies.diff]
version = "0.1.11"

[profile.release]
debug = 2
