NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io, #54 most downloaded on crates.io
Import libs for Windows
Latest stable
0.53.5
Last release 1 years ago
06 Oct 2025
Ships fairly regularly
a new release about every 3 months
Some releases are documented
notes for 6 of 19 stable releases
4 versions withdrawn
withdrawn after publishing
4 years old
23 releases · first in 2022
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
As requested, this release updates the Windows family of crates. Notably:
As requested, this release updates the Windows family of crates. Notably:
windows-sys crate won't be updated at this time.windows-version crate is unchanged.windows-targets crates.windows-result (#2847) crate and provides efficient Windows error handling and propagation with support for Win32, COM, WinRT, and NT APIs.windows-registry (#2848) crate and provides simple, safe, and efficient access to the Windows registry.VARIANT and PROPVARIANT support has been added to the windows-core crate (#2786), making it a lot easier to work with Shell and OLE APIs.GetTrustLevel return value by @kennykerr in https://github.com/microsoft/windows-rs/pull/2714invalid_mut when writer.std by @ChrisDenton in https://github.com/microsoft/windows-rs/pull/2727windows crate to 1.62 by @kennykerr in https://github.com/microsoft/windows-rs/pull/2730windows::core::Error::from_win32() by @Enyium in https://github.com/microsoft/windows-rs/pull/2733unused_qualifications by @kennykerr in https://github.com/microsoft/windows-rs/pull/2743HSTRING::len documentation by @kennykerr in https://github.com/microsoft/windows-rs/pull/2749Copy, Clone, Default for enums by @kennykerr in https://github.com/microsoft/windows-rs/pull/2760matches function safe by @kennykerr in https://github.com/microsoft/windows-rs/pull/2761Option for propagation by @kennykerr in https://github.com/microsoft/windows-rs/pull/2766From<T> and From<&T> for interface hierarchies by @kennykerr in https://github.com/microsoft/windows-rs/pull/2779char type by @kennykerr in https://github.com/microsoft/windows-rs/pull/2781VARIANT and PROPVARIANT support by @kennykerr in https://github.com/microsoft/windows-rs/pull/2786VT_UNKNOWN support for VARIANT and PROPVARIANT by @kennykerr in https://github.com/microsoft/windows-rs/pull/2788VARIANT support by @kennykerr in https://github.com/microsoft/windows-rs/pull/2789ExecQuery and ExecMethod by @kennykerr in https://github.com/microsoft/windows-rs/pull/2794AssociatedEnum attribute to input parameters by @kennykerr in https://github.com/microsoft/windows-rs/pull/2797missing_docs by @kennykerr in https://github.com/microsoft/windows-rs/pull/2799Windows.Win32.UI.Shell.Common in the windows-sys crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2804const functions across string types by @kennykerr in https://github.com/microsoft/windows-rs/pull/2810windows-sys crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2818std::io::Error by @kennykerr in https://github.com/microsoft/windows-rs/pull/2840HRESULT ergonomics by @kennykerr in https://github.com/microsoft/windows-rs/pull/2843windows-result crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2847windows-registry crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2848TryFromIntError to ERROR_INVALID_DATA in windows-result by @kennykerr in https://github.com/microsoft/windows-rs/pull/2851windows-result crate split by @tim-weis in https://github.com/microsoft/windows-rs/pull/2853HRESULT constant literal generation by @kennykerr in https://github.com/microsoft/windows-rs/pull/2857NTSTATUS constant literal generation by @kennykerr in https://github.com/microsoft/windows-rs/pull/2860NTSTATUS message formatting support to the windows-result crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2861Full Changelog: https://github.com/microsoft/windows-rs/compare/0.52.0...0.53.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
This release includes updates to all crates. This includes the first update to the windows-sys crate in 8 months. It also includes the first published
This release includes updates to all crates. This includes the first update to the windows-sys crate in 8 months. It also includes the first published version of the riddle tool and the windows-version crate.
bindgen/riddle filters by @kennykerr in https://github.com/microsoft/windows-rs/pull/2634BOOLEAN parameter binding by @kennykerr in https://github.com/microsoft/windows-rs/pull/2635HRESULT input by @kennykerr in https://github.com/microsoft/windows-rs/pull/2646StaticLibrary attribute by @kennykerr in https://github.com/microsoft/windows-rs/pull/2647PartialEq, Eq, Debug, Clone for interfaces by @kennykerr in https://github.com/microsoft/windows-rs/pull/2651bindgen refactoring by @kennykerr in https://github.com/microsoft/windows-rs/pull/2654NTSTATUS by @kennykerr in https://github.com/microsoft/windows-rs/pull/2658query method on ComInterface trait by @kennykerr in https://github.com/microsoft/windows-rs/pull/2659QueryInterface implementation by @kennykerr in https://github.com/microsoft/windows-rs/pull/2660docs feature by @kennykerr in https://github.com/microsoft/windows-rs/pull/2676implement and interface macros by @kennykerr in https://github.com/microsoft/windows-rs/pull/2696windows-version crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2702Full Changelog: https://github.com/microsoft/windows-rs/compare/0.48.5...0.52.0
As discussed in https://github.com/microsoft/windows-rs/pull/2613, this update bumps windows-targets to 0.48.5 and will be the final release to suppor
As discussed in https://github.com/microsoft/windows-rs/pull/2613, this update bumps windows-targets to 0.48.5 and will be the final release to support 1.48.
I will then switch everything in windows-rs to use edition 2021 and MSRV 1.56.
Full Changelog: https://github.com/microsoft/windows-rs/compare/0.48.4...0.48.5
A user reported issues with using Rust 1.48 with windows-targets. It is quite difficult to validate as that is such an old version of Rust, but this t
A user reported issues with using Rust 1.48 with windows-targets. It is quite difficult to validate as that is such an old version of Rust, but this tweak should address the compatibility concern.
This just flips windows-targets and the arch-specific crates to use Rust edition 2018.
Full Changelog: https://github.com/microsoft/windows-rs/compare/0.51.1...0.48.4
Nothing published for this version
Nothing published for this version
This is a semver-compatible update to the windows-targets crate to improve gnullvm compatibility by including #2515 as requested in #2557.
This is a semver-compatible update to the windows-targets crate to improve gnullvm compatibility by including #2515 as requested in #2557.
Other crates will not be updated at this time.
This release includes an update to all crates to address a target version reliability issue. This issue is detailed here: https://github.com/microsoft
This release includes an update to all crates to address a target version reliability issue. This issue is detailed here: https://github.com/microsoft/windows-rs/issues/2410#issuecomment-1490802715
Full Changelog: https://github.com/microsoft/windows-rs/compare/0.47.0...0.48.0
As a reminder, updates are only published by request (#2397; https://github.com/microsoft/win32metadata/issues/1507). This release provides an update
As a reminder, updates are only published by request (#2397; https://github.com/microsoft/win32metadata/issues/1507). This release provides an update to the windows crate. It does not include an update to the windows-sys crate.
This update adds support for standalone code generation (#2396) as well as requested fixes to the Win32 metadata that prevented some APIs from being used.
rustdoc regression by @kennykerr in https://github.com/microsoft/windows-rs/pull/2381const parameter metadata by @kennykerr in https://github.com/microsoft/windows-rs/pull/2384windows-targets and windows-bindgen by @kennykerr in https://github.com/microsoft/windows-rs/pull/2399Full Changelog: https://github.com/microsoft/windows-rs/compare/0.46.0...0.47.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.