Cargo Features

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

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

rt default = riscv-rt
ch56x

Affects ch56x::ch56x

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