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).
39 lines
1.4 KiB
TOML
39 lines
1.4 KiB
TOML
[package]
|
|
name = "donglora-mux"
|
|
version = "1.0.3"
|
|
edition = "2024"
|
|
rust-version = "1.93"
|
|
authors = ["Stephen Waits <steve@waits.net>"]
|
|
license = "MIT"
|
|
description = "DongLoRa USB Multiplexer — share one dongle with multiple applications"
|
|
repository = "https://git.swaits.com/donglora/mux-rs"
|
|
homepage = "https://git.swaits.com/donglora/mux-rs"
|
|
keywords = ["lora", "radio", "usb", "multiplexer"]
|
|
categories = ["hardware-support"]
|
|
exclude = [".jj/", "deny.toml", "justfile", "mise.toml", "rustfmt.toml"]
|
|
|
|
[dependencies]
|
|
# Mux speaks raw DongLoRa Protocol frames — pull the wire codec directly from the
|
|
# protocol crate rather than routing through the high-level Dongle API.
|
|
donglora-protocol = { version = "1", default-features = false, features = ["std"] }
|
|
# Still used for USB discovery helpers (`find_port`, `wait_for_device`).
|
|
# The `path` makes local builds use the sibling checkout; `cargo publish`
|
|
# strips it and publishes against `version` from crates.io. Spec is
|
|
# major-only so patch/minor releases of the client propagate without
|
|
# a mux-rs re-publish.
|
|
donglora-client = { version = "1", path = "../client-rs" }
|
|
anyhow = "1"
|
|
clap = { version = "4", features = ["derive"] }
|
|
tokio = { version = "1", features = ["full"] }
|
|
tokio-serial = "5"
|
|
tokio-util = "0.7"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
fd-lock = "4"
|
|
heapless = "0.9"
|
|
|
|
[lints.clippy]
|
|
unwrap_used = "deny"
|
|
expect_used = "deny"
|
|
panic = "deny"
|