Cargo Features
[dependencies]
rustot = { version = "0.4.1", default-features = false, features = ["std", "provision_cbor", "ota_mqtt_data", "ota_http_data", "defmt", "graphviz", "log"] }
- default = ota_mqtt_data, provision_cbor
-
These default features are set whenever
rustot
is added without
somewhere in the dependency tree.default-features = false - std
-
Enables std of serde and optional serde_cbor
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - provision_cbor default = serde_cbor
- ota_mqtt_data default = serde_cbor
-
Affects
data_interface::mqtt
,encoding::cbor
,rustot::ota
… - ota_http_data
-
Affects
data_interface::http
,rustot::ota
… - defmt
-
Enables defmt, defmt-impl of heapless ^0.7.0 and mqttrust
- graphviz
-
Enables graphviz of smlang ^0.5.0
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_cbor ota_mqtt_data provision_cbor
- log implicit feature
-
Enables log
log:
A lightweight logging facade for Rust