Cargo Features
[dependencies]
embedded-interfaces = { version = "0.10.2", default-features = false, features = ["std", "sync", "async", "defmt", "log", "trace-communication"] }
- default = async, sync
-
These default features are set whenever
embedded-interfacesis added withoutsomewhere in the dependency tree.default-features = false - std trace-communication?
-
Enables std of bitvec, embedded-interfaces-codegen, and thiserror
bitvec:
The standard library includes the allocator.
Affects
embedded-interfaces::BitdumpFormattable,embedded-interfaces::MaybeBitdumpFormattable… - sync default
- async default
-
Enables embedded-hal-async
- defmt
-
Enables defmt, defmt of embedded-interfaces-codegen
- log trace-communication?
-
Enables logging for this library
Enables log
- trace-communication = log, std
-
Trace-log all device communication. This is a feature intended for debugging only!
This has a heavy performance hit and no safety guarantees. Don't use this in production.