Cargo Features

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

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

rt default = riscv-rt

Affects ch32v103::interrupt.interrupt

ch32v103

Affects ch32v103::ch32v103

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