Files
mux-rs/Cargo.toml
2026-05-11 14:58:29 -06:00

39 lines
1.4 KiB
TOML

[package]
name = "donglora-mux"
version = "1.0.2"
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://github.com/donglora/mux-rs"
homepage = "https://github.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"