Cargo Features

[dependencies]
bern-kernel = { version = "0.3.0", default-features = false, features = ["time-slicing", "log-defmt", "log-rtt", "log-global", "trace"] }
default = time-slicing

The time-slicing feature is set by default whenever bern-kernel is added without default-features = false somewhere in the dependency tree.

time-slicing default
log-defmt = defmt

Affects log::log_defmt

log-rtt = rtt-target

Enables cortex-m of rtt-target ^0.3

Affects log::rtt

log-global = log
trace

Enables trace_impl of rtos-trace

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.

log log-global?
defmt none log-defmt?
rtt-target none log-rtt?

Enables rtt-target ^0.3