Files
swaits e2ac01f0cb
CI / Test (all-features) (push) Canceled after 0s
CI / Test (default) (push) Canceled after 0s
CI / Test (no-default-features) (push) Canceled after 0s
CI / Clippy (all-features) (push) Canceled after 0s
CI / Clippy (default) (push) Canceled after 0s
CI / Clippy (no-default-features) (push) Canceled after 0s
CI / Format (push) Canceled after 0s
CI / Doc (push) Canceled after 0s
CI / Cargo Deny (push) Canceled after 0s
CI / Miri (push) Canceled after 0s
CI / Fuzz (60s per target) (push) Canceled after 0s
CI / Mutants (default) (push) Canceled after 0s
CI / Mutants (no-default-features) (push) Canceled after 0s
chore: repoint URLs at git.swaits.com and bump for release
Rewrites remaining github.com / git.sr.ht references to git.swaits.com,
translating GitHub URL shapes to Gitea's (/blob/<ref>/ -> /src/branch/<ref>/,
/tree/<tag> -> /src/tag/<tag>, /actions/workflows/X -> /actions?workflow=X,
/edit/ -> /_edit/).

Left pointing at GitHub on purpose: pull-request links (PRs were not migrated)
and GitHub-only surfaces Gitea lacks (security advisories, discussions).
2026-08-31 17:58:37 -06:00

53 lines
1.3 KiB
TOML

[package]
name = "donglora-protocol"
version = "1.2.1"
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://git.swaits.com/donglora/protocol-rs"
homepage = "https://git.swaits.com/donglora/protocol-rs"
documentation = "https://docs.rs/donglora-protocol"
readme = "README.md"
keywords = ["lora", "radio", "protocol", "no-std"]
categories = ["embedded", "no-std", "encoding"]
exclude = [
".github",
".jj",
"deny.toml",
"fuzz",
"justfile",
"mise.toml",
"mutants.out",
"mutants.out.old",
]
[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", "heapless/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"