Cargo Features
[dependencies]
ethercrab = { version = "0.5.2", default-features = false, features = ["std", "defmt", "log", "serde"] }
- default = std
-
The
std
feature is set by default wheneverethercrab
is added without
somewhere in the dependency tree.default-features = false - std default = log
-
Enables async-io, pnet_datalink ^0.34.0, std of embedded-io-async, ethercrab-wire, and futures-lite
Affects
eeprom::file_reader
,ethercrab::std
… - defmt
-
Enables defmt and defmt-03 of embedded-io-async, ethercrab-wire, and heapless
heapless:
Implement defmt::Format from defmt v0.3
- log std
-
Enables log
- serde
- __internals
-
Development only - DO NOT USE
Affects
ethercrab::internals
…