Cargo Features

[dependencies]
ch32v20x = { version = "0.0.0", default-features = false, features = ["rt", "ch32v20x", "critical-section"] }
default = rt

The rt feature is set by default whenever ch32v20x is added without default-features = false somewhere in the dependency tree.

rt default = riscv-rt

Affects ch32v20x::interrupt.interrupt

ch32v20x

Affects ch32v20x::ch32v20x

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.

critical-section implicit feature

Enables critical-section

critical-section:

Cross-platform critical section

riscv-rt rt