53f801ec0b755ebca5c0b9a332ee34a9969cbe68
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.
donglora-protocol
Wire protocol types and COBS framing for DongLoRa, shared between firmware
and host crates (client-rs, mux-rs, bridge).
no_std by default. defmt::Format derives are opt-in via the default
defmt feature. Host consumers disable default features:
donglora-protocol = { version = "0.1", default-features = false }
Status
Pre-1.0. Currently consumed by path dep; will publish to crates.io once the surface area settles.
Layout
src/lib.rs—Command,Response,RadioConfig,ErrorCode, etc.src/framing.rs—CobsDecoder+cobs_encode_responsefor USB/UART transports.tests/— proptest suite (roundtrips, bounded-capacity invariants, regional-regs, duty-cycle math).fuzz/— cargo-fuzz targets on the parser and framer.
Languages
Rust
98.6%
Just
1.4%