A four-axis audit found no HIGH/MEDIUM issues. This addresses the remaining low-risk items and protects the release path: - ci: add cargo test + clippy -D warnings gate on master/tags - ci: reject malformed version tags before the pkgver sed substitution - fix: move the shipped waybar wrapper's cache/lock to $XDG_RUNTIME_DIR (mode-700, no cross-user symlink) instead of predictable /tmp paths - refactor: find_card() returns the open ALSA mixer, dropping a second open; collapse two if-let blocks into edition-2024 let-chains - docs: record in DECISIONS.md why the audit's "dead code" stays (it mirrors the Bragi spec) and why the 5ms HID sleep is left as-is Bump 0.1.4 -> 0.1.5: the shipped waybar script changes behavior.
14 lines
353 B
TOML
14 lines
353 B
TOML
[package]
|
|
name = "corsairctl"
|
|
version = "0.1.5"
|
|
edition = "2024"
|
|
description = "CLI tool for Corsair Bragi-protocol devices (HS80, etc.)"
|
|
license = "MIT"
|
|
|
|
[dependencies]
|
|
hidapi = { version = "2", default-features = false, features = ["linux-shared-hidraw"] }
|
|
alsa = "0.9"
|
|
clap = { version = "4", features = ["derive"] }
|
|
serde_json = "1"
|
|
thiserror = "2"
|