[package]
edition = "2024"
rust-version = "1.85"
name = "donglora-protocol"
version = "1.1.0"
authors = ["Stephen Waits <steve@waits.net>"]
build = false
exclude = [
".github",
".jj",
"deny.toml",
"fuzz",
"justfile",
"mise.toml",
"mutants.out",
"mutants.out.old",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DongLoRa wire protocol types and COBS framing — shared between firmware and host crates"
homepage = "https://github.com/donglora/protocol-rs"
documentation = "https://docs.rs/donglora-protocol"
readme = "README.md"
keywords = [
"lora",
"radio",
"protocol",
"no-std",
]
categories = [
"embedded",
"no-std",
"encoding",
]
license = "MIT"
repository = "https://github.com/donglora/protocol-rs"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["defmt"]
defmt = [
"dep:defmt",
"heapless/defmt",
]
std = []
[lib]
name = "donglora_protocol"
path = "src/lib.rs"
[[test]]
name = "mutation_killers"
path = "tests/mutation_killers.rs"
[[test]]
name = "proptest"
path = "tests/proptest.rs"
[[test]]
name = "vectors"
path = "tests/vectors.rs"
[dependencies.defmt]
version = "1"
optional = true
[dependencies.heapless]
version = "0.9"
[dependencies.ucobs]
version = "0.3"
[dev-dependencies.proptest]
version = "1"
[lints.clippy]
expect_used = "deny"
panic = "deny"
unwrap_used = "deny"
[lints.rust]
unsafe_code = "forbid"