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 wheneverbern-kernel
is added without
somewhere in the dependency tree.default-features = false - 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