[package]
edition = "2021"
rust-version = "1.81"
name = "cobs_codec_rs"
version = "1.1.0"
authors = ["Alexander Salas Bastidas <ajsb85@firechip.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Consistent Overhead Byte Stuffing (COBS) and COBS/R codec: no_std, zero-dependency, for zero-free framing of serial and packet byte streams."
homepage = "https://firechip.dev"
documentation = "https://docs.rs/cobs_codec_rs"
readme = "README.md"
keywords = [
"cobs",
"serial",
"framing",
"no-std",
"embedded",
]
categories = [
"encoding",
"embedded",
"no-std",
]
license = "MIT"
repository = "https://github.com/firechip/cobs_codec_rs"
[features]
alloc = []
default = ["std"]
std = ["alloc"]
[lib]
name = "cobs_codec_rs"
path = "src/lib.rs"
[[test]]
name = "conformance"
path = "tests/conformance.rs"
[[test]]
name = "features"
path = "tests/features.rs"
[[test]]
name = "framing"
path = "tests/framing.rs"
[[test]]
name = "vectors"
path = "tests/vectors.rs"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"