Cargo Features
[dependencies]
gpiod = { version = "0.3.0", default-features = false, features = ["v2", "clap", "serde"] }
- default = v2
-
The
v2
feature is set by default whenevergpiod
is added without
somewhere in the dependency tree.default-features = false - v2 default
-
Enables v2 of gpiod-core
- clap
-
Enables clap of gpiod-core
- serde
-
Enables serde of gpiod-core
gpiod has 4 features without comments.