cobs_codec_rs 1.3.0

Consistent Overhead Byte Stuffing (COBS) and COBS/R codec: no_std, zero-dependency, for zero-free framing of serial and packet byte streams.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "cobs_codec_rs"
version = "1.3.0"
authors = ["Alexander Salas Bastidas <ajsb85@firechip.dev>"]
build = false
exclude = ["/fuzz"]
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"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--html-in-header",
    "docs/katex-header.html",
]

[features]
alloc = []
default = ["std"]
defmt = ["dep:defmt"]
serde = ["dep:serde"]
std = ["alloc"]

[lib]
name = "cobs_codec_rs"
path = "src/lib.rs"

[[example]]
name = "protobuf_cobs"
path = "examples/protobuf_cobs.rs"

[[test]]
name = "conformance"
path = "tests/conformance.rs"

[[test]]
name = "derives"
path = "tests/derives.rs"

[[test]]
name = "features"
path = "tests/features.rs"

[[test]]
name = "framing"
path = "tests/framing.rs"

[[test]]
name = "robustness"
path = "tests/robustness.rs"

[[test]]
name = "vectors"
path = "tests/vectors.rs"

[[bench]]
name = "throughput"
path = "benches/throughput.rs"
harness = false

[dependencies.defmt]
version = "1"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
default-features = false

[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.prost]
version = "0.14"

[dev-dependencies.serde_json]
version = "1"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"