Cargo Features

[dependencies]
cpp_demangle = { version = "0.4.3", default-features = false, features = ["std", "alloc", "logging", "run_libiberty_tests", "fuzz"] }
default = std

Default features.

std default logging? = alloc

Build using the std library. Disabling this enables no_std support.

alloc std

Use collections from the alloc crate rather than from std.

logging = std

Enable copious amounts of logging. This is for internal use only, and is only useful for hacking on cpp_demangle itself.

run_libiberty_tests

Run all libiberty tests, even the ones that are known not to pass yet. This is for internal use only.

fuzz = afl

Enable fuzzing support. This is for internal use only.

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

afl fuzz?

Enables afl ^0.13.1

Required by the afl_runner binary