Cargo Features

xmc4300 = { version = "0.12.0", default-features = false, features = ["rt", "critical-section"] }
default = critical-section, rt

These default features are set whenever xmc4300 is added without default-features = false somewhere in the dependency tree.

rt default

Enables device of cortex-m-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.

cortex-m-rt rt
critical-section default