Cargo Features

[dependencies]
proc-maps = { version = "0.4.0", default-features = false, features = ["generate-bindings"] }
default = generate-bindings

The generate-bindings feature is set by default whenever proc-maps is added without default-features = false somewhere in the dependency tree.

generate-bindings default = bindgen

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.

bindgen build freebsd generate-bindings