- Make `encode` const fn for compile-time COBS encoding (MSRV bumped to 1.83) - Optimize decode by removing unnecessary branch in inner loop - Add comprehensive rustdoc with examples for every function - Add crate-level doc sections: quick start, buffer sizing, framing, stream parsing, compile-time encoding, error handling - Expand README with decision matrix, examples section, testing depth - Bump version to 0.2.0 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
35 lines
832 B
TOML
35 lines
832 B
TOML
[package]
|
|
name = "ucobs"
|
|
version = "0.2.0"
|
|
edition = "2021"
|
|
rust-version = "1.83"
|
|
license = "MIT"
|
|
description = "μCOBS — Consistent Overhead Byte Stuffing. no_std, zero-alloc, fastest, most-tested COBS implementation."
|
|
authors = ["Stephen Waits <steve@waits.net>"]
|
|
repository = "https://github.com/swaits/ucobs"
|
|
homepage = "https://github.com/swaits/ucobs"
|
|
documentation = "https://docs.rs/ucobs"
|
|
readme = "README.md"
|
|
keywords = ["cobs", "framing", "no-std", "embedded", "codec"]
|
|
categories = ["encoding", "no-std::no-alloc", "embedded"]
|
|
|
|
[features]
|
|
default = []
|
|
|
|
[lints.rust]
|
|
unsafe_code = "forbid"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[dev-dependencies]
|
|
cobs = "0.3"
|
|
corncobs = "0.1"
|
|
criterion = { version = "0.5", features = ["html_reports"] }
|
|
proptest = "1"
|
|
rand = "0.8"
|
|
|
|
[[bench]]
|
|
name = "bench"
|
|
harness = false
|