Update windows requirement from 0.36 to 0.40
Updates the requirements on windows to permit the latest version.
Release notes
Sourced from windows's releases.
0.40.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-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-syscrate, which remains stable and unchanged.What's Changed
- Exclude MsHtml APIs by
@​kennykerrin microsoft/windows-rs#1925- Replace unsafe
strlenusage in metadata library with safe Rust by@​Swatinemin microsoft/windows-rs#1926- Minor FAQ tweaks by
@​kennykerrin microsoft/windows-rs#1929- Adding documentation for factory by
@​BenJKuhnin microsoft/windows-rs#1936- Include only Win32 features and modules in the
windows-syscrate by@​kennykerrin microsoft/windows-rs#1935- Use a consistent set of dependencies across the
implementandinterfacecrates by@​kennykerrin microsoft/windows-rs#1931- FAQ - What APIs are included? by
@​kennykerrin microsoft/windows-rs#1933- Declare
rust-versionforwindows-interfacecrate by@​kennykerrin microsoft/windows-rs#1930- Provide 32-bit aliases for
SetWindowLongPtrAandGetWindowLongPtrAby@​kennykerrin microsoft/windows-rs#1932- Prefer
&Tto*const Tfor Win32 input parameters by@​kennykerrin microsoft/windows-rs#1939- Support fixed-size array parameters by
@​kennykerrin microsoft/windows-rs#1941- Remove hidden dead code in
windows::coreby@​kennykerrin microsoft/windows-rs#1943- Remove unnecessary parentheses by
@​riverarin microsoft/windows-rs#1949- Add
aarch64-pc-windows-gnullvmandx86_64-pc-windows-gnullvmtargets by@​mati865in microsoft/windows-rs#1883- Make the output of tool_yml more deterministic across machines by
@​glandiumin microsoft/windows-rs#1958- Produce the *_gnu import libraries more deterministically by
@​glandiumin microsoft/windows-rs#1967- Remove unused binding by
@​kennykerrin microsoft/windows-rs#1976- Remove unnecessary symbols and sections from *_gnu import libs by
@​glandiumin microsoft/windows-rs#1968- Fix msvc lib generation by
@​kennykerrin microsoft/windows-rs#1979- Implement
DebugforAgileReferenceby@​kennykerrin microsoft/windows-rs#1986- Update min rust version for
windows-systo 1.49 by@​kennykerrin microsoft/windows-rs#1987- Update the faq to call out
no_stdsupport by@​kennykerrin microsoft/windows-rs#1992- Switch to custom bindings for the
windows::coreinternals by@​kennykerrin microsoft/windows-rs#1993- Add samples readme by
@​kennykerrin microsoft/windows-rs#1991- Remove unused
bindgenoptions by@​kennykerrin microsoft/windows-rs#1994- Make
BOOL,BOOLEAN, andNTSTATUSextensions rather than replacements by@​kennykerrin microsoft/windows-rs#1995- Update Win32 metadata version from 24.0.1 to 30.0.12 by
@​kennykerrin microsoft/windows-rs#1996- Add support for calling conventions by
@​kennykerrin microsoft/windows-rs#1999- Address nightly clippy warnings by
@​kennykerrin microsoft/windows-rs#2000- Introduce reproducible builds with stable sorting by
@​kennykerrin microsoft/windows-rs#2003- Adds a workaround and test for
MAKEINTRESOURCEstyle constants by@​kennykerrin microsoft/windows-rs#2007- Remove Xaml interop namespace by
@​kennykerrin microsoft/windows-rs#2008- Make
BSTRa core string type by@​kennykerrin microsoft/windows-rs#2006- Update the win32 metadata to version 31.0.4 by
@​kennykerrin microsoft/windows-rs#2009- Use $crate in s! and w! macros by
@​goffriein microsoft/windows-rs#2011- Adds
unsafehelpers to cast from C++ or rawIUnknownpointers to RustIUnknownvalues by@​kennykerrin microsoft/windows-rs#2010- Update the win32 metadata to version 32.0.17 by
@​kennykerrin microsoft/windows-rs#2015- Remove win32metadata workarounds by
@​kennykerrin microsoft/windows-rs#2017- Misc. changes to import library generation tooling by
@​glandiumin microsoft/windows-rs#2016- Remove win32metadata workaround by
@​kennykerrin microsoft/windows-rs#2021- Version 0.40.0 by
@​kennykerrin microsoft/windows-rs#2026New Contributors
@​Swatinemmade their first contribution in microsoft/windows-rs#1926
... (truncated)
Commits
c23b003Version 0.40.0 (#2026)9fe618aRemove win32metadata workaround (#2021)b5ee521Improve gnu lib generation and msvc lib reproducibility (#2016)0fa0290Remove win32metadata workarounds (#2017)1691f23Update the win32 metadata to version 32.0.17 (#2015)61bc313Addsunsafehelpers to cast from C++ or rawIUnknownpointers to Rust `IU...2db98c7Use$crateins!andw!macros (#2011)0debb12Update the win32 metadata to version 31.0.4 (#2009)e4b778cMakeBSTRa core string type (#2006)78a7cc1Remove Xaml interop namespace (#2008)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)