Cargo Features
[dependencies]
gpiocdev = { version = "0.7.2", default-features = false, features = ["async_io", "async_tokio", "serde", "uapi_v1", "uapi_v2"] }
- default = uapi_v2
-
The
uapi_v2
feature is set by default whenevergpiocdev
is added without
somewhere in the dependency tree.default-features = false - async_io
-
Affects
async::async_io
… - async_tokio
-
Enables futures, tokio, and tokio-stream
Affects
async::tokio
… - serde
-
Enables serde and serde_derive
- uapi_v1
-
Enables uapi_v1 of gpiocdev-uapi
- uapi_v2 default
-
Enables uapi_v2 of gpiocdev-uapi