Cargo Features

drm-fourcc = { version = "2.2.0", default-features = false, features = ["std", "build_bindings", "serde"] }
default = std

The std feature is set by default whenever drm-fourcc is added without default-features = false somewhere in the dependency tree.

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


A generic serialization/deserialization framework

regex build build_bindings?
bindgen build build_bindings?

Enables bindgen ^0.57.0