Cargo Features

autocxx-bindgen = { version = "0.65.1", default-features = false, features = ["logging", "static", "runtime", "which-rustfmt", "experimental", "testing_only_extra_assertions", "testing_only_libclang_5"] }
default = logging, runtime, which-rustfmt

These default features are set whenever autocxx-bindgen is added without default-features = false somewhere in the dependency tree.

logging default = log

Enables static of clang-sys

runtime default

Enables runtime of clang-sys

which-rustfmt default = which

Dynamically discover a rustfmt binary using the which crate

experimental = annotate-snippets

Affects callbacks::ParseCallbacks.cli_args


These features only exist for CI testing -- don't use them if you're not hacking on bindgen!

testing_only_libclang_9 testing_only_libclang_5

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

which which-rustfmt

Enables which ^4.2.1

annotate-snippets experimental?

Enables annotate-snippets ^0.9.1

log logging