Cargo Features
[dependencies]
mb2-wukong-expansion = { version = "0.1.2", default-features = false, features = ["ambient", "bus", "buzzer", "mood_lights", "motor", "servo", "rt", "embedded-hal-02", "defmt-03"] }
- default = ambient, buzzer, mood_lights, motor, servo
-
These default features are set whenever
mb2-wukong-expansion
is added without
somewhere in the dependency tree.default-features = false - ambient default
-
Affects
mb2-wukong-expansion::ambient
… - bus mood_lights motor servo
-
Affects
mb2-wukong-expansion::bus
… - buzzer default
-
Affects
mb2-wukong-expansion::buzzer
… - mood_lights default = bus
-
Affects
bus::mood_lights
… - motor default = bus
-
Affects
bus::motor
… - servo default = bus
-
Affects
bus::servo
… - rt
-
Enables rt of nrf52833-hal
- embedded-hal-02
-
Enables embedded-hal-02 of nrf52833-hal
- defmt-03
-
Enables defmt-03 of embedded-hal