Skip to content

fix(deps): update dependencies and Rust to 1.99 and fix the open security advisories - #60

Merged
MotherSphere merged 1 commit into
mainfrom
chore/dependency-refresh-2026-11
Nov 9, 2026
Merged

MotherSphere merged 1 commit into
mainfrom
chore/dependency-refresh-2026-11

Conversation

@MotherSphere

@MotherSphere MotherSphere commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Moves the dependencies, the Rust floor and the GitHub Actions to their latest releases (one exception, global-hotkey, listed under "Left out"), and clears the advisories that have kept the advisories CI job red on main.

Updated

Direct dependencies, each pinned to its full version in Cargo.toml:

Crate From To
lofty 0.25.4 0.25.5
rodio 0.22.2 0.23.0
serde_json 1.0.151 1.0.154
rfd 0.17.2 0.18.0
unicode-normalization 0.1.25 0.1.26
tokio 1.53.2 1.54.1
notify-rust 4.18.2 4.19.0
global-hotkey 0.8.0 0.9.0
ksni 0.3.6 0.3.7
zbus 5.19.0 6.2.1
winresource 0.1.31 0.1.34

iced 0.14.0, colony-ui 0.1.6, reqwest 0.13.5, serde 1.0.229, tray-icon 0.26.1, windows 0.62.2 and the other direct dependencies were already on their latest release. global-hotkey 0.10.0 came out after this branch was made and is not taken, see "Left out". cargo update refreshed the lockfile; every version the open Dependabot PRs propose is at or below the one here.

Code changes needed by the new versions, with no change in behaviour:

  • rodio 0.23 removed rodio::cpal::DevicesError in favour of the unified cpal::Error (rodio::CpalError). PlayerError::DeviceError now wraps that type.
  • cpal 0.18 returns DeviceDescription::extended() as an iterator instead of a slice.
  • zbus 6 moves ObjectPath, OwnedValue and Value to the crate root as ObjectPath, OwnedVariant and Variant, and its connection builder reports errors from build() instead of from each step. The MPRIS service in src/system_integration/media/linux.rs follows both.

global-hotkey 0.9 changes how the Super modifier is stored; Grape registers Ctrl+Alt hotkeys only. rfd 0.18 adds a GTK4 backend behind a feature Grape does not enable.

Rust: rust-version = "1.99", the minimum supported Rust job builds with 1.99, and README.md, docs/guide/install.md and docs/internals/contributing.md state the new floor. Rust 1.99.1 raised one new clippy lint (redundant_closure), fixed. The repository has no rust-toolchain.toml.

Actions, pinned by SHA: Swatinem/rust-cache v2.9.3, taiki-e/install-action v2.90.3, dtolnay/rust-toolchain master of 2026-10-16. actions/checkout v7.0.1, actions/upload-artifact v7.0.2 and googleapis/release-please-action v5.0.0 were already current. The shared sign-and-publish.yml stays at the organisation pin: that workflow has not changed since the pinned commit, and design/releases.md in Project-Colony-Resources moves the pin for every program at once.

Advisories closed

Dependabot alerts #19, #20, #21 and #22 (rustls, GHSA-vp88-798v-h67f, GHSA-c8m5-c952-6cm4, GHSA-w44r-93j7-qv28, GHSA-h2v8-394m-p7vv). rustls is in the shipped binary through reqwest.

RustSec, from the failing advisories job:

  • RUSTSEC-2026-0346, -0347, -0348, -0349: rustls 0.23.45 to 0.23.46
  • RUSTSEC-2026-0382: rustls-webpki 0.103.15 to 0.103.16
  • RUSTSEC-2026-0383: webpki-root-certs 1.0.9 to 1.0.11
  • RUSTSEC-2026-0386: tokio 1.53.2 to 1.54.1
  • RUSTSEC-2026-0441: pin-utils, no longer in the lockfile
  • yanked async-executor 1.14.0 and clipboard-win 5.4.1, now 1.14.1 and 5.4.3

There are no open code scanning or secret scanning alerts.

Left out

  • global-hotkey 0.10.0 (published 2026-11-09). On macOS it registers hotkeys exclusively and returns Error::AlreadyRegistered when another app holds the combination; 0.9.0 returned success. build_shortcuts in src/system_integration/common.rs stops at the first failed register, so one taken combination would cost Grape all three of its Ctrl+Alt hotkeys on macOS. That is a change in behaviour, so the crate stays at 0.9.0 here and the Dependabot PR for 0.10.0 can be handled on its own.
  • RUSTSEC-2026-0371, -0370 and -0372 (zbus_names, zvariant, zvariant_derive, unmaintained). They were merged into zbus 6, which Grape now uses, but zbus 5 still comes in through ksni 0.3.7 (the Linux tray) and mundy 0.2.3 (under iced_winit 0.14). Both are their latest releases, so no fixed version exists. The advisories job ignores them by ID and docs/internals/dependency-exceptions.md records why and when to lift them.
  • The three existing exceptions (lru RUSTSEC-2026-0253, ttf-parser RUSTSEC-2026-0192, paste RUSTSEC-2024-0436) still have no fixed release reachable from iced 0.14 and lofty 0.25.5. pulp no longer uses paste, so its mention is gone.
  • The MPRIS round-trip test is #[ignore]d because it needs a session bus, so CI does not run it. It passes on Linux against zbus 6.2.1 with dbus-run-session -- cargo test --locked mpris -- --include-ignored at 215de5e. The other 133 tests pass on Linux with Rust 1.99.1, and cargo clippy --all-targets is clean on Linux. Windows and macOS are left to the CI matrix.

Dependabot PRs

This PR includes the updates of #59, #39, #58, #55, #54 and #53. #56 is included except for its move of the organisation pin, which stays where it is for the reason above. All seven can be closed once this merges.

…rity advisories

Move every direct dependency to its latest release and refresh Cargo.lock.
This lifts rustls to 0.23.46, rustls-webpki to 0.103.16 and
webpki-root-certs to 1.0.11 (RUSTSEC-2026-0346, -0347, -0348, -0349,
-0382 and -0383), tokio to 1.54.1 (RUSTSEC-2026-0386), and drops pin-utils
(RUSTSEC-2026-0441) and the yanked async-executor 1.14.0 and clipboard-win
5.4.1.

rodio 0.23 replaces cpal's DevicesError with the unified cpal::Error, and
cpal 0.18 returns DeviceDescription::extended() as an iterator. zbus 6 makes
the connection builder infallible until build() and moves the zvariant types
to the crate root. The code follows both without changing what it does.

zbus_names, zvariant and zvariant_derive are unmaintained and still arrive
through zbus 5 under ksni 0.3.7 and mundy 0.2.3, both on their latest
release, so the advisories job ignores them with the reason, as
docs/internals/dependency-exceptions.md records.

rust-version is now 1.99 and the msrv job builds with it. GitHub Actions
move to their latest releases, pinned by SHA.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant