[dependencies.defmt]
optional = true
version = "1"
[dependencies.heapless]
version = "0.9"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1"
[dependencies.thiserror]
default-features = false
version = "2"
[dev-dependencies.quickcheck]
version = "1"
[features]
alloc = []
default = ["std"]
std = ["alloc", "thiserror/std"]
use_std = ["std"]
[lib]
name = "cobs"
path = "src/lib.rs"
[package]
authors = ["Allen Welkie <>", "James Munns <james@onevariable.com>", "Robin Mueller <robin.mueller.m@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = """
This 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. """
edition = "2024"
keywords = ["consistent", "overhead", "byte", "stuffing", "encoding"]
license = "MIT OR Apache-2.0"
name = "cobs"
readme = "README.md"
repository = "https://github.com/jamesmunns/cobs.rs"
rust-version = "1.86"
version = "0.5.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--generate-link-to-definition"]