As a reminder, updates are only published by request (#2380). This release provides an update to the windows crate. It does not include an update to the windows-sys crate.
This is the first update to the windows crate in about 2 months and includes numerous improvements as well as updated API definitions via the Win32 metadata. Notably, the windows crate now sports streamlined and much simpler type traits (#2343) and parameter bindings (#2360). It includes the first steps towards WDK support (#2358), and it finally includes stock collection implementations (#91).
Please note that the ComInterface trait is now required to call the cast function (#2360).
What's Changed
- Add link from docs.rs to full API documentation by @ChrisDenton in #2297
- Simplify COM implementation traits by @kennykerr in #2301
- Fix test component re-build reliability by @kennykerr in #2303
- Metadata writer refactoring by @kennykerr in #2309
- Lower MSRV for the
windowscrate by @kennykerr in #2318 - Ongoing metadata writer improvements and new command line tool by @kennykerr in #2319
- Improve clippy workflow by @kennykerr in #2320
- Improve crates.io metadata by @kennykerr in #2321
- Add
raw-dylibtesting withnightly-i686-pc-windows-gnuby @kennykerr in #2312 - Update Win32 metadata by @kennykerr in #2322
- Generate
containsmethod for enum flags by @kennykerr in #2323 - Improved
riddlesyntax parsing and testing by @kennykerr in #2324 - metadata
Reader::attribute_argsenhancements by @ChrisDenton in #2329 - Metadata reader: Preserve type when reading enum values in attributes by @ChrisDenton in #2331
- Simplify namespace extensions in the
windows-bindgencrate by @kennykerr in #2339 - Simplify
windows::coretype traits by @kennykerr in #2343 - Stock collection support for
IIterableby @kennykerr in #2346 - Specifically exclude
Windows.Win32.Web.MsHtmlby @kennykerr in #2348 - Move
IInspectableextensions fromwindows::coretowindows::Foundationby @kennykerr in #2349 - Stock collection support for
IVectorViewby @kennykerr in #2350 - Stock collection support for
IMapViewby @kennykerr in #2353 - Update Win32 metadata by @kennykerr in #2357
- Add support for the WDK metadata by @kennykerr in #2358
- Simplify parameter bindings by @kennykerr in #2360
- Drop
ManuallyDropby @kennykerr in #2361 - Simplify
Arrayusage with non-WinRT types by @kennykerr in #2362 - Don't store redundant copy of assembly name by @kennykerr in #2363
- Update Win32 metadata by @kennykerr in #2364
- Enable hosted lib generation by @kennykerr in #2365
- Remove
prettypleasedependency by @kennykerr in #2367 - Support aggregate constant initialization by @kennykerr in #2371
- Simplify parameter binding for
BSTRby @kennykerr in #2372 - Update Win32 metadata by @kennykerr in #2374
- Minor polish of
windows::coredocs by @kennykerr in #2376 - Remap
CHARtou8by @kennykerr in #2378 - Version 0.46.0 by @kennykerr in #2380
Full Changelog: 0.44.0...0.46.0