Cargo Features

[dependencies]
libbindgen = { version = "0.1.7", default-features = false, features = ["static", "logging", "docs_"] }
default = logging

The logging feature is set by default whenever libbindgen is added without default-features = false somewhere in the dependency tree.

assert_no_dangling_items llvm_stable static
logging default = env_logger, log
docs_

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.

env_logger logging

Enables env_logger ^0.4

log logging

Enables log ^0.3