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 whenevergpiocdev-embedded-hal
is added without
somewhere in the dependency tree.default-features = false - async_io = embedded-hal-async
-
Affects
async::async_io
… - async_tokio = embedded-hal-async
-
Enables async_tokio of gpiocdev
Affects
async::tokio
… - uapi_v1
- uapi_v2 default
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.