Cargo Features
[dependencies]
nrf52-hal-common = { version = "0.8.1", default-features = false, features = ["52810", "52832", "52840", "doc"] }
- default = 52832
-
The
52832
feature is set by default whenevernrf52-hal-common
is added without
somewhere in the dependency tree.default-features = false - 52810 = nrf52810-pac
-
Affects
nrf52-hal-common::target_constants
… - 52832 default = nrf52832-pac
-
Affects
nrf52-hal-common::target_constants
… - 52840 = nrf52840-pac
-
Affects
gpio::Pin.port
,nrf52-hal-common::target_constants
… - doc
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.
- nrf52810-pac 52810?
-
Enables nrf52810-pac ^0.8.0
- nrf52832-pac 52832
-
Enables nrf52832-pac ^0.8.0
- nrf52840-pac 52840?
-
Enables nrf52840-pac ^0.8.0