Files
protocol-rs/Cargo.toml
T
swaits 53f801ec0b chore: add full-treatment quality gates
Mirrors the ucobs convention:
- justfile aggregates test-{unit,clippy,fmt,doc,deny,fuzz,miri,mutants}
  behind a single 'just test' target.
- mise.toml pins rust + cargo-{deny,fuzz,mutants,nextest}.
- deny.toml enforces permissive licenses only and bans wildcard /
  unknown-source deps.
- CLAUDE.md captures identity and first principles.
- Cargo.toml adds unsafe_code = forbid and docs.rs all-features metadata.

cargo check (all feature permutations), nextest, clippy with warnings
as errors, fmt check, doc, and deny all pass. fuzz/miri/mutants land
in follow-up commits.
2026-04-13 12:12:12 -06:00

42 lines
1.1 KiB
TOML

[package]
name = "donglora-protocol"
version = "0.1.0"
edition = "2024"
rust-version = "1.85"
authors = ["Stephen Waits <steve@waits.net>"]
license = "MIT"
description = "DongLoRa wire protocol types and COBS framing — shared between firmware and host crates"
repository = "https://github.com/donglora/protocol"
homepage = "https://github.com/donglora/protocol"
keywords = ["lora", "radio", "protocol", "no-std"]
categories = ["embedded", "no-std", "encoding"]
exclude = ["fuzz", ".jj"]
[dependencies]
heapless = "0.9"
ucobs = "0.3"
defmt = { version = "1", optional = true }
[features]
default = ["defmt"]
# Enables `defmt::Format` derives on public types. On by default so firmware
# (the primary no_std consumer) just works; host crates disable default-features.
defmt = ["dep:defmt"]
# Enables `Debug` derives and other std-only niceties for host-side fuzz /
# proptest builds. No-op on firmware.
std = []
[dev-dependencies]
proptest = "1"
[package.metadata.docs.rs]
all-features = true
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
unwrap_used = "deny"
expect_used = "deny"
panic = "deny"