Cargo Features

[dependencies]
gpiod = { version = "0.3.0", default-features = false, features = ["v2", "clap", "serde"] }
default = v2

The v2 feature is set by default whenever gpiod is added without default-features = false somewhere in the dependency tree.

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.