In addition to the constants themselves, it provides functions to get their names and extractable properties.
This crate tries not to be opinionated in terms of types: It uses the Rust types that reflect the possible ranges of the registry, but does not attempt to create suitable newtypes or enums for the constants. That is left to downstream libraries, as they can best judge whether they need to represent values that are unrecognized anyway.
The only optional feature is
std, which is on by default. Disabling it removes functions
that return a
String; those typically have formatter based functions they point to for
Constants and functions for CoAP codes
Constants and functions for CoAP options
Constants for OSCORE flag bits
Constants and functions for options in signaling CoAP messages (7.xx)