Skip to content

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

Merged
MotherSphere merged 3 commits into
mainfrom
chore/dependency-refresh-2026-11-24
Nov 24, 2026
Merged

MotherSphere merged 3 commits into
mainfrom
chore/dependency-refresh-2026-11-24

Conversation

@MotherSphere

@MotherSphere MotherSphere commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Updates the Cargo dependencies, the pinned actions and the Rust floor.

Cargo:

  • zbus 6.2.1 to 6.5.0 (zbus_macros follows)
  • cargo update: url 2.5.8 to 2.5.9, plus the 23 crates of the cargo-minor group and a few more (hyper 1.13.0, zerocopy 0.8.64, ahash 0.8.13 and others).

Rust: rust-version, the CI msrv job, README.md, docs/guide/install.md and docs/internals/contributing.md move from 1.99 to 1.100. Clippy 1.100 adds map_unwrap_or for map(..).unwrap_or_default(), redundant_clone, needless_nonzero_get and suboptimal_flops hits, which turned clippy red on every Dependabot PR. They are fixed with the machine-applicable suggestions (Option::map_or_default, moving values instead of cloning them, % NonZero, and mul_add in a test constant whose value stays 44.0).

Actions: taiki-e/install-action 2.90.3 to 2.90.8, dtolnay/rust-toolchain master from 2026-10-16 to 2026-11-15. The sign-and-publish.yml pin stays at c19a39d, as design/releases.md in Project-Colony-Resources requires ("The pin"). The Dependabot ignore rule now ends with a wildcard, as in templates/dependabot.yml in Resources. Without it, Dependabot named the dependency after the workflow path and still proposed moving the pin in #67.

Replaces #65 and #68, and the install-action part of #67. The pin move in #67 is not taken.

Security: url 2.5.9 fixes RUSTSEC-2026-0592 (stack overflow in Url::origin() on nested blob: URLs). This advisory is why the weekly CI run on main failed on 2026-11-23. url is in the binary through reqwest. No Dependabot, code scanning or secret scanning alerts were open. The six advisories ignored in the audit job stay ignored, since the crates involved have no new releases: lru through cryoglyph 0.1.0 and iced 0.14.0, ttf-parser, paste, and the zbus 5 crates through ksni 0.3.7 and mundy 0.2.3.

The CI, CodeQL and Release failures on main on 2026-11-09 came from the GitHub outage and need no change.

Left out: global-hotkey 0.10.0 (#66 stays open). On macOS it registers hotkeys with kEventHotKeyExclusive and returns AlreadyRegistered when another program holds the combination. build_shortcuts registers Ctrl+Alt+P, Ctrl+Alt+Right and Ctrl+Alt+Left with ?, so a single taken combination would drop all three shortcuts on macOS, where 0.9.0 drops only the taken one. When none is taken, Grape would also hold all three exclusively. Taking it means registering each shortcut on its own, which is a behaviour change to decide separately.

…ependabot ignore rule

taiki-e/install-action 2.90.3 to 2.90.8 and dtolnay/rust-toolchain master
2026-10-16 to 2026-11-15. The ignore rule named Project-Colony/Project-Colony-Resources,
but Dependabot names the reusable workflow after its path, so it still
proposed moving the organisation pin (#67). A trailing wildcard matches it,
as in templates/dependabot.yml in Project-Colony-Resources.
url 2.5.9 fixes RUSTSEC-2026-0592. zbus 6.5.0, global-hotkey 0.10.0 and a
cargo update of the lockfile. The rust-version, the CI msrv job and the
install docs move to 1.100, which also brings Option::map_or_default.

Fixes the lints clippy 1.100 adds: map_unwrap_or, redundant_clone,
needless_nonzero_get and suboptimal_flops.
global-hotkey 0.10.0 registers macOS hotkeys with kEventHotKeyExclusive
and returns AlreadyRegistered when another program holds the combination.
build_shortcuts registers Ctrl+Alt+P, Ctrl+Alt+Right and Ctrl+Alt+Left
with `?`, so one taken combination would drop all three on macOS, and
Grape would hold the other two exclusively. That changes what the global
shortcuts setting does, so the bump stays out of this update.
@MotherSphere
MotherSphere merged commit 3093bf3 into main Nov 24, 2026
13 checks passed
@MotherSphere
MotherSphere deleted the chore/dependency-refresh-2026-11-24 branch November 24, 2026 12:37
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