| 1 |
[package] |
| 2 |
authors = ["Nick Fitzgerald <[email protected]>", "Jim Blandy <[email protected]>", "Kyle Huey <[email protected]>"] |
| 3 |
build = "build.rs" |
| 4 |
categories = ["development-tools::debugging", "development-tools::ffi"] |
| 5 |
description = "A crate for demangling C++ symbols" |
| 6 |
documentation = "https://docs.rs/cpp_demangle" |
| 7 |
exclude = ["tests/**", "in/**"] |
| 8 |
keywords = ["demangle", "symbolicate", "c-plus-plus", "itanium"] |
| 9 |
license = "MIT OR Apache-2.0" |
| 10 |
name = "cpp_demangle" |
| 11 |
readme = "./README.md" |
| 12 |
repository = "https://github.com/gimli-rs/cpp_demangle" |
| 13 |
version = "0.5.1" |
| 14 |
edition = "2018" |
| 15 |
|
| 16 |
[[bin]] |
| 17 |
name = "afl_runner" |
| 18 |
path = "src/bin/afl_runner.rs" |
| 19 |
required-features = ["afl"] |
| 20 |
|
| 21 |
[dependencies] |
| 22 |
cfg-if = "1.0.0" |
| 23 |
|
| 24 |
[dependencies.afl] |
| 25 |
optional = true |
| 26 |
version = "0.16" |
| 27 |
|
| 28 |
[dev-dependencies] |
| 29 |
clap = { version = "4.0", features = ["derive"] } |
| 30 |
diff = "0.1.11" |
| 31 |
|
| 32 |
[features] |
| 33 |
# Default features. |
| 34 |
default = ["std"] |
| 35 |
|
| 36 |
# Build using the `std` library. Disabling this enables `no_std` support. |
| 37 |
std = ["alloc"] |
| 38 |
|
| 39 |
# Use collections from the `alloc` crate rather than from `std`. |
| 40 |
alloc = [] |
| 41 |
|
| 42 |
# Enable copious amounts of logging. This is for internal use only, and is only |
| 43 |
# useful for hacking on `cpp_demangle` itself. |
| 44 |
logging = ["std"] |
| 45 |
|
| 46 |
# Run all libiberty tests, even the ones that are known not to pass yet. This is |
| 47 |
# for internal use only. |
| 48 |
run_libiberty_tests = [] |
| 49 |
|
| 50 |
# Enable fuzzing support. This is for internal use only. |
| 51 |
fuzz = ["afl"] |
| 52 |
|
| 53 |
[profile.release] |
| 54 |
debug = true |
| 55 |
|
| 56 |
[[example]] |
| 57 |
name = "simple" |
| 58 |
path = "examples/simple.rs" |
| 59 |
required-features = ["std"] |