[package] name = "coap-message-implementations" version = "0.1.7" description = "Implementations of coap-message traits, and tools for building them" documentation = "https://docs.rs/coap-message-implementations/" rust-version.workspace = true license.workspace = true repository.workspace = true authors.workspace = true edition.workspace = true keywords.workspace = true categories.workspace = true [lints] workspace = true [dependencies] coap-numbers = "0.2" coap-message = "0.3.3" coap-message-utils = { version = "0.3.0", path = "../coap-message-utils" } heapless = "^0.8" document-features = "0.2" defmt = { version = "0.3.8", optional = true } [badges] maintenance = { status = "actively-developed" } [features] #! ## Feature flags ## Enable the [`heap`] module with its [`heap::HeapMessage`] implementation. alloc = [] ## Enable [`Message::downcast_from`]. This is feature gated because it is the ## only place in the crate that uses unsafe code, allowing users who do not ## need it (it *is* a niche feature) more trust in the crate's correctness. downcast = [] ### 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. defmt = ["dep:defmt"] _nightly_docs = [] [package.metadata.docs.rs] all-features = true