Cargo Features
[dependencies]
gpiocdev-uapi = { version = "0.6.3", default-features = false, features = ["uapi_v1", "uapi_v2"] }
- default = uapi_v2
-
The
uapi_v2
feature is set by default whenevergpiocdev-uapi
is added without
somewhere in the dependency tree.default-features = false - uapi_v1
-
Affects
gpiocdev-uapi::v1
… - uapi_v2 default
-
Affects
gpiocdev-uapi::v2
…