[package] name = "toad-msg" version = "1.0.0-beta.6" edition = "2021" description = "Low-level CoAP message parsing & serialization" authors = ["Orion Kindel "] license = "MIT OR Apache-2.0" homepage = "https://github.com/clov-coffee/toad/toad-msg" repository = "https://github.com/clov-coffee/toad/toad-msg" readme = "README.md" keywords = ["coap", "iot", "networking", "no_std", "wasm"] categories = ["network-programming"] [badges] maintenance = { status = "actively-developed" } [features] default = ["std"] std = ["alloc", "toad-hash/std", "toad-cursor/std", "toad-array/std", "toad-len/std", "toad-map/std"] alloc = ["toad-cursor/alloc", "toad-hash/alloc", "toad-array/alloc", "toad-len/alloc", "toad-map/alloc"] test = [] docs = [] [[example]] name = "server" required-features = ["std"] [[bench]] name = "some_vs_once" harness = false [[bench]] name = "to_bytes" harness = false [[bench]] name = "from_bytes" harness = false [[bench]] name = "profile" harness = false [[bench]] name = "collections" harness = false [dependencies] tinyvec = {version = "1.5", default_features = false, features = ["rustc_1_55"]} toad-macros = "0.2.0" blake2 = "0.10" toad-map = {version = "0.2.3", default_features = false} toad-len = {version = "0.1.3", default_features = false} toad-array = {version = "0.8.0", default_features = false} toad-cursor = {version = "0.2.0", default_features = false} toad-hash = {version = "0.3.0", default_features = false} [dev-dependencies] itertools = "0.10" criterion = "0.3" coap-lite = "0.7" arrayvec = {version = "0.7", default_features = false} heapless = {version = "0.7", default_features = false}