Skip to content

chore(deps): update tray-icon to 0.26.1 and pin every crate to its latest release - #42

Merged
MotherSphere merged 3 commits into
mainfrom
chore/deps-latest-tray-icon
Oct 9, 2026
Merged

MotherSphere merged 3 commits into
mainfrom
chore/deps-latest-tray-icon

Conversation

@MotherSphere

@MotherSphere MotherSphere commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Brings every direct dependency to its latest release and pins each one to the full version (DEP-1, DEP-2).

Manifest

Crate Before After
tray-icon 0.24.2 0.26.1
tokio 1.53.1 1.53.2
notify-rust 4.18.0 4.18.2
lofty 0.25.1 0.25.4
reqwest 0.13.4 0.13.5
colony-ui 0.1.5 0.1.6

Every other direct dependency was re-checked against crates.io and is already on its latest release. cargo update refreshed the rest of Cargo.lock (the 55 entries of #39 and quinn-udp from #40 included).

The colony-ui comment claimed the crate was not on crates.io and came in as a git dependency. It is a crates.io dependency; the comment now says so.

tray-icon 0.26

src/system_integration/tray/native.rs needs no change: it uses Menu, MenuItem, MenuEvent, Icon::from_rgba and TrayIconBuilder::{with_menu, with_tooltip, with_icon, build}, none of which changed in 0.25 or 0.26 (#41 already showed 0.26.0 building green on all three OS). The 0.26 breaking change, removal of the muda-libxdo feature, also drops libxdo and x11 from the lock.

tray-icon is now declared with default-features = false. Its only default feature, libappindicator, is the GTK 3 Linux backend, which Grape never compiles: Linux uses ksni, and Windows and macOS need no feature. That default alone kept the whole gtk3 stack in Cargo.lock (gtk, glib, gdk, atk, pango, cairo-rs, libappindicator and their build-time helpers, 43 packages in total). The ksni feature is enabled instead so the crate still builds on the BSDs, where tray-icon requires one Linux/BSD backend; it adds a single small crate (task-local) to the lock.

With gtk3 gone, two cargo audit exceptions no longer apply and are removed from ci.yml and from docs/internals/dependency-exceptions.md, which keeps the two lists in sync:

  • RUSTSEC-2024-0429, glib 0.18.5 (unsound)
  • RUSTSEC-2024-0370, proc-macro-error 1.0.4 (unmaintained)

Floor

The highest rust-version among the locked crates is still 1.90 (ordered-float 5.5.0, and now muda 0.21.2 and tray-icon 0.26.1), so rust-version = "1.90" stands.

Verification

  • cargo test on Linux: every test binary passes; the tests that need a display or a sound card stay #[ignore]d as before.
  • cargo check --locked --all-targets on Linux after merging current main.
  • Windows and macOS, the only targets that compile tray-icon, are left to the CI matrix. A real tray menu check on Windows and macOS needs a desktop session.

Supersedes #39, #40 and #41.

@MotherSphere
MotherSphere merged commit ea5b393 into main Oct 9, 2026
9 checks passed
@MotherSphere
MotherSphere deleted the chore/deps-latest-tray-icon branch October 9, 2026 22:44
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