Skip to content

cobs_codec_rs 1.0.0

Latest

Choose a tag to compare

@ajsb85 ajsb85 released this 05 Jul 06:01
v1.0.0
0c1f783

cobs_codec_rs 1.0.0

Initial release — a #![no_std], dependency-free COBS / COBS-R codec for zero-free framing of serial and packet byte streams.

✨ Added

  • Basic COBS and COBS/R encode/decode over caller-provided slices (cobs / cobsr modules), #![no_std] and allocation-free.
  • alloc-gated *_to_vec conveniences and a streaming framing::FrameDecoder with a max_frame_len bound.
  • const fn size helpers max_encoded_len and encoding_overhead.
  • DecodeError implementing core::error::Error.
  • Golden-vector + conformance tests against firechip/cobs-conformance — 2,261 vectors, byte-identical to the reference.

📦 Install

cobs_codec_rs = "1.0"

crates.io: https://crates.io/crates/cobs_codec_rs/1.0.0 · docs.rs: https://docs.rs/cobs_codec_rs/1.0.0

The attached cobs_codec_rs-1.0.0.crate is the exact published source distribution (from crates.io).