$ cobs
v0.5.1This is an implementation of the Consistent Overhead Byte Stuffing (COBS) algorithm. COBS is an algorithm for transforming a message into an encoding where a specific value (the "sentinel" value) is not used. This value can then be used to mark frame boundaries in a serial communication channel.
Latest Update Summary
Crate
Name: cobs New version: 0.5.0 Release date: 2025-10-21T10:41:23Z
Crate readme
Short description This is an implementation of the Consistent Overhead Byte Stuffing (COBS) algorithm in Rust.
Long description
COBS is an algorithm for transforming a message into an encoding where a specific value (the "sentinel" value) is not used. This value can then be used to mark frame boundaries in a serial communication channel. cobs supports various runtime environments and is also suitable for no_std environments.
Features • std: Enables functionality relying on the standard library and also activates the alloc feature. Currently only adds std::error::Error support for the library error types. • alloc: Enables features which operate on containers like alloc::vec::Vec. • defmt: Adds defmt::Format derives on some data structures and error types. • serde: Adds serde derives on some data structures and error types.
Code Examples
Links • https://crates.io/crates/cobs • https://docs.rs/cobs
https://api.github.com/repos/jamesmunns/cobs.rs/releases/255965083
Release info
Release version:
Release description
Code Examples
Patch update: 0.5.0 → 0.5.1
$ DOWNLOADS TREND
$ VERSION HISTORY
$ LINKS
$ INSTALL
cargo add cobsOr add to Cargo.toml: cobs = "0.5.1"