chore: investigate updating windows crate from 0.62 to latest #170

Closed
opened 2026-02-25 21:18:00 -08:00 by hikari · 0 comments
Owner

Background

Our Cargo.toml currently pins the windows crate at "0.62":

[target.'cfg(windows)'.dependencies]
windows = { version = "0.62", features = [
    "Data_Xml_Dom",
    "UI_Notifications",
    "Win32_System_Com",
    "Win32_Foundation",
] }

The windows crate has released major versions beyond 0.62 (e.g. 0.63, 0.64, etc.). Because Cargo interprets "0.62" as ^0.62.0, cargo update will not pick up newer major versions automatically — this requires a manual Cargo.toml bump.

Task

  1. Check the latest stable version of the windows crate on crates.io
  2. Review the changelog between 0.62 and the latest version for breaking changes in the features we use:
    • Data_Xml_Dom
    • UI_Notifications
    • Win32_System_Com
    • Win32_Foundation
  3. If no breaking changes affect our usage in windows_toast.rs and vbs_notification.rs, update Cargo.toml to the latest version
  4. Run check-all.sh and do a Windows build to verify toast notifications still work

This issue was created with help from Hikari~ 🌸

## Background Our `Cargo.toml` currently pins the `windows` crate at `"0.62"`: ```toml [target.'cfg(windows)'.dependencies] windows = { version = "0.62", features = [ "Data_Xml_Dom", "UI_Notifications", "Win32_System_Com", "Win32_Foundation", ] } ``` The `windows` crate has released major versions beyond 0.62 (e.g. 0.63, 0.64, etc.). Because Cargo interprets `"0.62"` as `^0.62.0`, `cargo update` will **not** pick up newer major versions automatically — this requires a manual Cargo.toml bump. ## Task 1. Check the latest stable version of the `windows` crate on crates.io 2. Review the changelog between 0.62 and the latest version for breaking changes in the features we use: - `Data_Xml_Dom` - `UI_Notifications` - `Win32_System_Com` - `Win32_Foundation` 3. If no breaking changes affect our usage in `windows_toast.rs` and `vbs_notification.rs`, update `Cargo.toml` to the latest version 4. Run `check-all.sh` and do a Windows build to verify toast notifications still work ✨ This issue was created with help from Hikari~ 🌸
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/hikari-desktop#170