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 whenever gpiocdev is added without default-features = false somewhere in the dependency tree.

async_io

Enables async-io and futures

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