Cargo Features
[dependencies]
atat = { version = "0.23.0", default-features = false, features = ["std", "defmt", "derive", "bytes", "hex_str_arrays", "heapless", "log"] }
- default = bytes, derive
-
These default features are set whenever
atat
is added without
somewhere in the dependency tree.default-features = false - std
-
Enables std of embassy-time, embedded-io, nom, and serde_at
- defmt
-
Enables defmt and defmt-03 of embedded-io-async and heapless
heapless:
Implement defmt::Format from defmt v0.3
- derive default = atat_derive, serde_at
-
Affects
atat::derive
… - bytes default = heapless-bytes, serde_bytes
- custom-error-messages hex_str_arrays
- heapless defmt?
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_at derive heapless? std?
- atat_derive derive
- serde_bytes bytes
- heapless-bytes bytes
-
Enables heapless-bytes ^0.3.0
- log implicit feature
-
Enables log
log:
A lightweight logging facade for Rust