Update windows requirement from 0.36 to 0.39
Updates the requirements on windows to permit the latest version.
Release notes
Sourced from windows's releases.
0.39.0
This release includes improves to string handling and parameter passing to both improve performance and simplify the way arguments are bound to API calls.
Notably, the "alloc" feature has been removed. This feature allowed string literals to be implicitly converted to null terminated strings required by some Windows APIs. While convenient, it was rather complicated and expensive at runtime. Instead, the explicit
s!andw!macros are now provided to create null terminated UTF-8 and UTF-16 string literals at compile time.This release does not include an update to the
windows-syscrate, which remains stable and unchanged.What's Changed
- Fix new Rust-1.62 lints by
@​MarijnS95in microsoft/windows-rs#1866- Clean up formatting and indetation by
@​MarijnS95in microsoft/windows-rs#1865- Support running on Linux/WSL targets by
@​MarijnS95in microsoft/windows-rs#1863- Derive
EqandPartialEqforNTSTATUSby@​kennykerrin microsoft/windows-rs#1869- Fix token formatting for
derivemacros by@​kennykerrin microsoft/windows-rs#1870- Basic field and constant metadata generation by
@​kennykerrin microsoft/windows-rs#1871- Add link to metadata used to generate crate in main readme by
@​poliorceticsin microsoft/windows-rs#1875- Add
tool_libcrate to hold some of the common support for thewindows-rstools by@​kennykerrin microsoft/windows-rs#1876- Update win32 metadata to v24 by
@​kennykerrin microsoft/windows-rs#1877- Move all docs to central location by
@​kennykerrin microsoft/windows-rs#1878- Adjust license placement for GitHub auto-detection by
@​riverarin microsoft/windows-rs#1879- Remove old license files by
@​kennykerrin microsoft/windows-rs#1880- Borrowed by
@​rylevin microsoft/windows-rs#1811- Use prettyplease for development formatting by
@​rylevin microsoft/windows-rs#1849- Remove orphaned "alloc" feature by
@​kennykerrin microsoft/windows-rs#1888- Convertible input strings by
@​kennykerrin microsoft/windows-rs#1889- Add macros for creating null-terminated string literals by
@​kennykerrin microsoft/windows-rs#1891- Update samples to use string literal macros by
@​kennykerrin microsoft/windows-rs#1894- Use
whereclauses in codegen by@​rylevin microsoft/windows-rs#1893- Improve string pointer types by
@​rylevin microsoft/windows-rs#1897- Small refactor by
@​rylevin microsoft/windows-rs#1899- Avoid including primitive types with convertible types by
@​kennykerrin microsoft/windows-rs#1900- Remove dead code by
@​rylevin microsoft/windows-rs#1905- Add display methods for string pointer types by
@​rylevin microsoft/windows-rs#1904- Avoid
transmutefor binding primitive argument types by@​kennykerrin microsoft/windows-rs#1907- Avoid generating redundant doc comments for methods by
@​kennykerrin microsoft/windows-rs#1908- Infer ABI type for method result type by
@​kennykerrin microsoft/windows-rs#1909- Avoid
transmutefor direct return values where no translation occurs by@​kennykerrin microsoft/windows-rs#1911- More accurate signature parameter parsing by
@​kennykerrin microsoft/windows-rs#1913- Reduce dependence on
transmutefor WinRT arrays by@​kennykerrin microsoft/windows-rs#1914- Ensure that
Displayimpl forHSTRINGis infallible by@​kennykerrin microsoft/windows-rs#1915- Fix new nightly warning about unused return value by
@​kennykerrin microsoft/windows-rs#1917- Use internal
Decodehelper in a few more places by@​kennykerrin microsoft/windows-rs#1918New Contributors
@​poliorceticsmade their first contribution in microsoft/windows-rs#1875Full Changelog: https://github.com/microsoft/windows-rs/compare/0.38.0...0.39.0
Commits
42f05aaUse internalDecodehelper in a few more places (#1918)14a9517Fix new nightly warning about unused return value (#1917)2f2e2c6Ensure thatDisplayimpl forHSTRINGis infallible (#1915)7540026Reduce dependence ontransmutefor WinRT arrays (#1914)8ea5e6aMore accurate signature parameter parsing (#1913)623f66bAvoidtransmutefor direct return values where no translation occurs (#1911)56f7799Infer ABI type for method result type (#1909)f2c7b49Avoid generating redundant doc comments for methods (#1908)9cda4e0Avoidtransmutefor binding primitive argument types (#1907)8c093b4Adddisplaymethods for string pointer types (#1904)- 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)