1 Commits
4 changed files with 12 additions and 9 deletions

No files matched your search

+3 -6
View File
@@ -13,13 +13,10 @@ jobs:
check: check:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v5
- name: Clone donglora (sibling dependency) - name: Install system dependencies
uses: actions/checkout@v4 run: sudo apt-get update && sudo apt-get install -y libudev-dev
with:
repository: swaits/donglora
path: ../donglora
- uses: dtolnay/rust-toolchain@master - uses: dtolnay/rust-toolchain@master
with: with:
+7
View File
@@ -1,5 +1,12 @@
# Changelog # Changelog
## [0.2.1] - 2026-04-06
### Fixed
- CI: removed stale sibling-clone step, added `libudev-dev` dependency,
upgraded `actions/checkout` to v5 (Node.js 24).
## [0.2.0] - 2026-04-06 ## [0.2.0] - 2026-04-06
### Added ### Added
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "donglora-bridge" name = "donglora-bridge"
version = "0.2.0" version = "0.2.1"
edition = "2024" edition = "2024"
authors = ["Stephen Waits <steve@waits.net>"] authors = ["Stephen Waits <steve@waits.net>"]
license = "MIT" license = "MIT"
+1 -2
View File
@@ -99,8 +99,7 @@ fn connect_and_run(
} else if let Ok(c) = donglora_client::connect_mux_auto(timeout) { } else if let Ok(c) = donglora_client::connect_mux_auto(timeout) {
(c, "mux".to_string()) (c, "mux".to_string())
} else { } else {
let port_path = donglora_client::find_port() let port_path = donglora_client::find_port().ok_or_else(|| anyhow::anyhow!("no mux or USB dongle found"))?;
.ok_or_else(|| anyhow::anyhow!("no mux or USB dongle found"))?;
info!("no mux found, connecting to serial port {port_path}"); info!("no mux found, connecting to serial port {port_path}");
let c = donglora_client::connect(Some(&port_path), timeout)?; let c = donglora_client::connect(Some(&port_path), timeout)?;
(c, shorten_path(&port_path)) (c, shorten_path(&port_path))