Cargo Features

[dependencies]
gpiocdev-embedded-hal = { version = "0.1.1", default-features = false, features = ["async_io", "async_tokio", "uapi_v1", "uapi_v2"] }
default = uapi_v2

The uapi_v2 feature is set by default whenever gpiocdev-embedded-hal is added without default-features = false somewhere in the dependency tree.

async_io = embedded-hal-async

Enables async_io of gpiocdev

Affects async::async_io

async_tokio = embedded-hal-async

Enables async_tokio of gpiocdev

Affects async::tokio

uapi_v1

Enables uapi_v1 of gpiocdev

uapi_v2 default

Enables uapi_v2 of gpiocdev

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

embedded-hal-async async_io? async_tokio?