Cargo Features
[dependencies]
atat = { version = "0.24.1", default-features = false, features = ["std", "defmt", "derive", "bytes", "hex_str_arrays", "heapless", "string_errors", "log"] }
- default = bytes, derive
-
These default features are set whenever
atatis added withoutsomewhere in the dependency tree.default-features = false - std
-
Enables std of embassy-time ^0.4, embedded-io ^0.6, nom ^7.1, and serde_at
embassy-time:
Create a time driver for
stdenvironments. - defmt
-
Enables defmt ^0.3, defmt-03 of embedded-io-async ^0.6 and heapless ^0.8
- derive default = atat_derive, serde_at
-
Affects
atat::derive… - bytes default = heapless-bytes, serde_bytes
- custom-error-messages hex_str_arrays
- heapless defmt?
- string_errors
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.4.0
- log implicit feature
-
Enables log
log:
A lightweight logging facade for Rust