Cargo Features
[dependencies]
moonboot = { version = "0.1.2", default-features = false, features = ["use-log", "use-defmt", "ram-state", "derive", "defmt-debug", "defmt-error", "cortex-m"] }
- default = ram-state
-
The
ram-state
feature is set by default whenevermoonboot
is added without
somewhere in the dependency tree.default-features = false - use-log = logger-crate
- use-defmt = defmt
- ram-state default = desse
-
Affects
state::ram
… - derive = serde
- defmt-default defmt-trace defmt-debug
- defmt-info defmt-warn defmt-error
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.