Cargo Features

embedded-nal-coap has no features set by default.

[dependencies]
embedded-nal-coap = { version = "0.1.0-alpha.4", features = ["defmt"] }
defmt

Enables defmt

to provide Format on errors

and defmt of coap-message-implementations

coap-message-implementations:

Derive defmt::Format where it makes sense, in particular on error types. The underlying defmt is not pub used; when newer versions of defmt come out after 0.3, old derives will be kept in parallel.