Cargo Features
mmal-sys has no features set by default.
[dependencies]
mmal-sys = { version = "0.1.0-3", features = ["generate_bindings"] }
- generate_bindings = bindgen
-
Enable this feature to automatically generate bindings for the mmal headers.
The default is to use the bindings already included in the src directory.
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 generate_bindings?
-
Enables bindgen ^0.52.0