Cargo Features
[dependencies]
pimoroni_gfx_pack = { version = "0.1.0", default-features = false, features = ["critical-section-impl", "boot2", "rt"] }
- default = boot2, critical-section-impl, rt
-
These default features are set whenever
pimoroni_gfx_pack
is added without
somewhere in the dependency tree.default-features = false - critical-section-impl default
-
Enables critical-section-impl of rp2040-hal
rp2040-hal:
critical section that is safe for multicore use
- boot2 default = rp2040-boot2
-
Affects
pimoroni_gfx_pack::BOOT2_FIRMWARE
… - rt default = cortex-m-rt
-
runtime
Enables rt of rp2040-hal
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.