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

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.

serde derive?
cortex-m implicit feature

Enables cortex-m

cortex-m:

Low level access to Cortex-M processors

Affects processor::cortex_m

defmt use-defmt?

Enables defmt ^0.2

logger-crate use-log?

Enables log

desse ram-state