Cargo Features

[dependencies]
autocxx-bindgen = { version = "0.70.1", default-features = false, features = ["logging", "static", "runtime", "which-rustfmt", "experimental", "prettyplease"] }
default = logging, prettyplease, runtime

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

logging default

Enables log

static

Enables static of clang-sys

runtime default

Enables runtime of clang-sys

which-rustfmt

This feature is no longer used for anything and should be removed in bindgen 0.70

experimental

Enables annotate-snippets

Affects callbacks::ParseCallbacks.wrap_as_variadic_fn

__cli

The following features are for internal use and they shouldn't be used if you're not hacking on bindgen Features used by bindgen-cli

Affects callbacks::ParseCallbacks.cli_args

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.

prettyplease default