Cargo Features
[dependencies]
ethercrab = { version = "0.6.0", 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, std of embedded-io-async, ethercrab-wire, and futures-lite and std of spin
spin:
Enables std-only features such as yield-relaxing.
Affects
eeprom::file_provider
,ethercrab::std
… - defmt
-
Enables defmt ^0.3.5 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
…