Cargo Features
[dependencies]
nrf24l01 = { version = "0.2.0", default-features = false, features = ["rpi_accel", "sysfs_gpio"] }
- default = sysfs_gpio
-
The
sysfs_gpio
feature is set by default whenevernrf24l01
is added without
somewhere in the dependency tree.default-features = false - rpi_accel = rppal
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.
- sysfs_gpio default
-
Enables sysfs_gpio ^0.5.1
- rppal rpi_accel?
-
Enables rppal ^0.1.3