cobs_codec_rs 1.3.0
cobs_codec_rs 1.3.0
Feature + tooling release, fully backward compatible — 1.2.x code compiles unchanged. Byte-identical to the Dart, Kotlin, and Swift members of the Firechip COBS family.
✨ New features
- COBS/R in-place decode —
cobsr::decode_in_place/decode_in_place_with_sentineldecode the reduced codec within the caller's buffer and return the decoded length (COBS/R never expands the data). - Optional
serdeanddefmtderives onDecodeError, behind the newserde/defmtfeatures. Both stay off by default, so the default build remainsno_stdand dependency-free.
🔧 Tooling & tests
- A
criterionthroughput benchmark (benches/throughput.rs). - Fuzzing —
cargo-fuzztargets plus a stable, dependency-free robustness test in ordinary CI. - A Protobuf + COBS framing example (
examples/protobuf_cobs.rs). - Conformance now also checks the configurable-sentinel and decode-error vectors.
📦 Install
cobs_codec_rs = "1.3"crates.io: https://crates.io/crates/cobs_codec_rs/1.3.0 · docs.rs: https://docs.rs/cobs_codec_rs/1.3.0
The attached cobs_codec_rs-1.3.0.crate is the exact published source distribution (from crates.io).