Cargo Features
[dependencies]
embedded-update = { version = "0.12.0", default-features = false, features = ["std", "nightly", "defmt", "log", "rand_core", "serde_cbor"] }
- default = nightly
-
The
nightly
feature is set by default wheneverembedded-update
is added without
somewhere in the dependency tree.default-features = false - std
- nightly default = embedded-hal-async, embedded-io-async, futures, postcard
-
Affects
embedded-update::device
,embedded-update::service
… - defmt
-
Enables defmt
Affects
traits::FirmwareVersion
…
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.
- postcard nightly
- embedded-io-async nightly
- log implicit feature
-
Enables log
log:
A lightweight logging facade for Rust
- embedded-hal-async nightly
- futures nightly
- rand_core implicit feature
-
Enables rand_core
rand_core:
Core random number generator traits and tools for implementation
- serde_cbor implicit feature
-
Enables serde_cbor
serde_cbor:
CBOR support for serde