bcx-wire
Wire version and bounded-message primitives for the main
bcx crate.
This crate belongs to the BCX workspace. It is published separately so the main
crate can keep small internal modules and precise dependency boundaries, but it
is not meant to be used as a standalone protocol product. Prefer depending on
bcx unless you are working on BCX internals.
Example
use ;
let limits = new.unwrap;
let header = new.unwrap;
assert_eq!;
assert_eq!;
Notes
no_stdby default.- Production profiles should construct explicit
WireLimits. UNSAFE_DEVELOPMENT_DO_NOT_USE_IN_PRODUCTIONexists only for tests and development examples.