Cargo Features
[dependencies]
jh7110-vf2-12a-pac = { version = "0.2.0", default-features = false, features = ["critical-section", "rt"] }
- default = critical-section
-
The
critical-section
feature is set by default wheneverjh7110-vf2-12a-pac
is added without
somewhere in the dependency tree.default-features = false - critical-section default
-
Enables critical-section
- rt = riscv-rt
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.
- riscv-rt rt?
-
Enables riscv-rt ^0.11.0