Repository navigation
fix(deps): update dependencies and Rust to 1.99 and fix the open security advisories - #60
Merged
Merged
Conversation
…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.
This was referenced Nov 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
advisoriesCI job red onmain.Updated
Direct dependencies, each pinned to its full version in
Cargo.toml: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 updaterefreshed 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::cpal::DevicesErrorin favour of the unifiedcpal::Error(rodio::CpalError).PlayerError::DeviceErrornow wraps that type.DeviceDescription::extended()as an iterator instead of a slice.ObjectPath,OwnedValueandValueto the crate root asObjectPath,OwnedVariantandVariant, and its connection builder reports errors frombuild()instead of from each step. The MPRIS service insrc/system_integration/media/linux.rsfollows 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", theminimum supported Rustjob 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 norust-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.ymlstays 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
advisoriesjob:There are no open code scanning or secret scanning alerts.
Left out
Error::AlreadyRegisteredwhen another app holds the combination; 0.9.0 returned success.build_shortcutsinsrc/system_integration/common.rsstops at the first failedregister, 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.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. Theadvisoriesjob ignores them by ID and docs/internals/dependency-exceptions.md records why and when to lift them.#[ignore]d because it needs a session bus, so CI does not run it. It passes on Linux against zbus 6.2.1 withdbus-run-session -- cargo test --locked mpris -- --include-ignoredat 215de5e. The other 133 tests pass on Linux with Rust 1.99.1, andcargo clippy --all-targetsis 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.