Cargo Features
[dependencies]
drm-fourcc = { version = "2.2.0", default-features = false, features = ["std", "build_bindings", "serde"] }
- default = std
-
The
std
feature is set by default wheneverdrm-fourcc
is added without
somewhere in the dependency tree.default-features = false - std default
-
Adds
Error
impls for the Unrecognized types. - build_bindings = bindgen, regex
-
Re-build the bindings based on the headers on your machine. Should not be necessary
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.
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- regex build build_bindings?
- bindgen build build_bindings?
-
Enables bindgen ^0.57.0