Cargo Features

[dependencies]
atat = { version = "0.22.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 default-features = false somewhere in the dependency tree.

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?

Enables heapless of serde_at

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
log implicit feature

Enables log

log:

A lightweight logging facade for Rust