Cargo Features

gd32vf103-pac has no features set by default.

[dependencies]
gd32vf103-pac = { version = "0.5.0", features = ["critical-section", "rt"] }
critical-section = critical_section

Enables critical-section-single-hart of riscv ^0.10.1

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.

critical_section critical-section?

Enables critical-section