NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io, #65 most downloaded on crates.io
Import lib for Windows
Latest stable
0.53.1
Last release 1 years ago
06 Oct 2025
Release timing varies
gaps range from 1 weeks to 9 months
Some releases are documented
notes for 9 of 19 stable releases
1 version withdrawn
withdrawn after publishing
4 years old
20 releases · first in 2022
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
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
Your coding agent can read these notes before it upgrades. Set up the MCP server →
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 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
This release provides a major update to the windows-sys crate, the first update since 0.36.1, and includes numerous fixes and improvements to the comp
This release provides a major update to the windows-sys crate, the first update since 0.36.1, and includes numerous fixes and improvements to the completeness and correctness of both API definitions and import libs.
winmd files from windows-metadata crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2060implement macro traits need not be recursively dependent by @kennykerr in https://github.com/microsoft/windows-rs/pull/2062windows-sys test coverage by @kennykerr in https://github.com/microsoft/windows-rs/pull/2063Changelog for windows crate: https://github.com/microsoft/windows-rs/compare/0.41.0...0.42.0
Changelog for windows-sys crate: https://github.com/microsoft/windows-rs/compare/0.36.1...0.42.0
This is a minor service release addressing a number of issues mostly originating from the underlying win32 metadata which have now been resolved.
This is a minor service release addressing a number of issues mostly originating from the underlying win32 metadata which have now been resolved.
This release does not include an update to the windows-sys crate, which remains stable and unchanged.
windows-sys by @kennykerr in https://github.com/microsoft/windows-rs/pull/2043core module of the windows crate by @ridwanabdillahi in https://github.com/microsoft/windows-rs/pull/2023Vtable support from Interface trait by @kennykerr in https://github.com/microsoft/windows-rs/pull/2051HSTRING to conform to Rust's aliasing rules by @ChrisDenton in https://github.com/microsoft/windows-rs/pull/2057Full Changelog: https://github.com/microsoft/windows-rs/compare/0.40.0...0.41.0
This release includes a rollup of fixes and improvements to the Win32 metadata and many small fixes to the Rust bindings themselves. Notably, fixed-si
This release includes a rollup of fixes and improvements to the Win32 metadata and many small fixes to the Rust bindings themselves. Notably, fixed-size array parameters, APIs with non-system calling conventions such as cdecl, reproducible builds, and far more accurate import libs.
This release does not include an update to the windows-sys crate, which remains stable and unchanged.
strlen usage in metadata library with safe Rust by @Swatinem in https://github.com/microsoft/windows-rs/pull/1926windows-sys crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/1935implement and interface crates by @kennykerr in https://github.com/microsoft/windows-rs/pull/1931rust-version for windows-interface crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/1930SetWindowLongPtrA and GetWindowLongPtrA by @kennykerr in https://github.com/microsoft/windows-rs/pull/1932&T to *const T for Win32 input parameters by @kennykerr in https://github.com/microsoft/windows-rs/pull/1939windows::core by @kennykerr in https://github.com/microsoft/windows-rs/pull/1943aarch64-pc-windows-gnullvm and x86_64-pc-windows-gnullvm targets by @mati865 in https://github.com/microsoft/windows-rs/pull/1883Debug for AgileReference by @kennykerr in https://github.com/microsoft/windows-rs/pull/1986windows-sys to 1.49 by @kennykerr in https://github.com/microsoft/windows-rs/pull/1987no_std support by @kennykerr in https://github.com/microsoft/windows-rs/pull/1992windows::core internals by @kennykerr in https://github.com/microsoft/windows-rs/pull/1993bindgen options by @kennykerr in https://github.com/microsoft/windows-rs/pull/1994BOOL, BOOLEAN, and NTSTATUS extensions rather than replacements by @kennykerr in https://github.com/microsoft/windows-rs/pull/1995MAKEINTRESOURCE style constants by @kennykerr in https://github.com/microsoft/windows-rs/pull/2007BSTR a core string type by @kennykerr in https://github.com/microsoft/windows-rs/pull/2006unsafe helpers to cast from C++ or raw IUnknown pointers to Rust IUnknown values by @kennykerr in https://github.com/microsoft/windows-rs/pull/2010Full Changelog: https://github.com/microsoft/windows-rs/compare/0.39.0...0.40.0
Nothing published for this version
One column per quarter.