Rust for Windows
This update includes the first published version of the windows-core
crate (#2475) as requested in #2527.
Other crates will not be updated at this time.
type_def_extends
to return Option
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2460
windows-sys
generation by @kennykerr in https://github.com/microsoft/windows-rs/pull/2465
windows-core
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2475
BOOL
and Win32
return values by @kennykerr in https://github.com/microsoft/windows-rs/pull/2476
standalone_std
function by @kennykerr in https://github.com/microsoft/windows-rs/pull/2477
windows-core
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2482
windows-core
bindings by @kennykerr in https://github.com/microsoft/windows-rs/pull/2483
raw_dylib
and debugger_visualizer
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2497
syn
dependency by @kennykerr in https://github.com/microsoft/windows-rs/pull/2519
std::mem::zeroed
with type inference by @kennykerr in https://github.com/microsoft/windows-rs/pull/2526
std::error::Error
for new metadata Error
type by @MarijnS95 in https://github.com/microsoft/windows-rs/pull/2528
Full Changelog: https://github.com/microsoft/windows-rs/compare/0.49.0...0.50.0
An update to the windows-bindgen
and windows-metadata
crates, as requested in https://github.com/rust-lang/rust/pull/110152#issuecomment-1510991514.
Other crates will not be updated at this time.
raw-dylib
testing by @kennykerr in https://github.com/microsoft/windows-rs/pull/2433
link_name
support to the windows-targets
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2440
link_name
generation in standalone code generation by @kennykerr in https://github.com/microsoft/windows-rs/pull/2450
Full Changelog: https://github.com/microsoft/windows-rs/compare/0.48.0...0.49.0
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 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/2381
const
parameter metadata by @kennykerr in https://github.com/microsoft/windows-rs/pull/2384
windows-targets
and windows-bindgen
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2399
Full Changelog: https://github.com/microsoft/windows-rs/compare/0.46.0...0.47.0
As a reminder, updates are only published by request (https://github.com/microsoft/windows-rs/pull/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).
windows
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2318
raw-dylib
testing with nightly-i686-pc-windows-gnu
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2312
contains
method for enum flags by @kennykerr in https://github.com/microsoft/windows-rs/pull/2323
riddle
syntax parsing and testing by @kennykerr in https://github.com/microsoft/windows-rs/pull/2324
Reader::attribute_args
enhancements by @ChrisDenton in https://github.com/microsoft/windows-rs/pull/2329
windows-bindgen
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2339
windows::core
type traits by @kennykerr in https://github.com/microsoft/windows-rs/pull/2343
IIterable
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2346
Windows.Win32.Web.MsHtml
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2348
IInspectable
extensions from windows::core
to windows::Foundation
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2349
IVectorView
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2350
IMapView
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2353
ManuallyDrop
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2361
Array
usage with non-WinRT types by @kennykerr in https://github.com/microsoft/windows-rs/pull/2362
prettyplease
dependency by @kennykerr in https://github.com/microsoft/windows-rs/pull/2367
BSTR
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2372
windows::core
docs by @kennykerr in https://github.com/microsoft/windows-rs/pull/2376
CHAR
to u8
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2378
Full Changelog: https://github.com/microsoft/windows-rs/compare/0.44.0...0.46.0
As a reminder, updates are only published by request (#2299). This release provides an update to the windows-sys
crate. It does not include an update to the windows
crate.
This is the first update to the windows-sys
crate in 4 months and primarily includes a number of fixes stemming from improvements to the Win32 metadata. Optional support for raw-dylib
is now also provided.
cfg
attribute queries by @kennykerr in https://github.com/microsoft/windows-rs/pull/2280
Changelog for windows-sys
crate: https://github.com/microsoft/windows-rs/compare/0.42.0...0.45.0
As a reminder, updates are only published by request (#2279). This release does not include an update to the windows-sys
crate, which remains stable and unchanged.
This is the first update to the windows
crate in 3 months. As such, there are quite a few improvements and fixes. Some notable changes to take a look at:
raw-dylib
(#2164) - thanks @dpaoliello!windows-targets
crate that simplifies taking a dependency on the Windows libs (#2158)D3DMATRIX
to Matrix4x4
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2130
DEVMODEA
/DEVMODEW
struct sizes are correct by @kennykerr in https://github.com/microsoft/windows-rs/pull/2139
link
macro to provide an abstraction over the Rust link
attribute by @kennykerr in https://github.com/microsoft/windows-rs/pull/2152
windows-targets
crate to simplify lib dependency management by @kennykerr in https://github.com/microsoft/windows-rs/pull/2158
raw-dylib
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2164
windows-sys
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2173
windows-sys
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2194
verbatim
modifier is now stable by @kennykerr in https://github.com/microsoft/windows-rs/pull/2199
VARIANT_BOOL
by @aquacash5 in https://github.com/microsoft/windows-rs/pull/2206
.dll
suffix from non-Windows link import file names by @kennykerr in https://github.com/microsoft/windows-rs/pull/2216
clippy
warning uninlined_format_args
by @kaivol in https://github.com/microsoft/windows-rs/pull/2224
const
parameters through pointers by @kennykerr in https://github.com/microsoft/windows-rs/pull/2227
HRESULT
's ok
method by @kennykerr in https://github.com/microsoft/windows-rs/pull/2228
debugger_visualizer
test if option is not enabled by @kennykerr in https://github.com/microsoft/windows-rs/pull/2230
link
docs by @kennykerr in https://github.com/microsoft/windows-rs/pull/2238
PCWSTR
conversion by @kennykerr in https://github.com/microsoft/windows-rs/pull/2239
interface
and implement
features by @kennykerr in https://github.com/microsoft/windows-rs/pull/2240
doc
comment for GUID
constants by @kennykerr in https://github.com/microsoft/windows-rs/pull/2268
DEVMODEA
/DEVMODEW
structs by @kennykerr in https://github.com/microsoft/windows-rs/pull/2271
Full Changelog: https://github.com/microsoft/windows-rs/compare/0.43.0...0.44.0
String constants now preserve their original encoding as either UTF-8 or UTF-16 null-terminated string constants. This makes many string constants directly and efficiently usable as constants to pass to various Windows APIs that expect either "ansi" or wide null-terminated string literals. This update also provides a collection of small improvements, particularly to string handling. Updated Win32 metadata provides fixes to various API definitions.
This release does not include an update to the windows-sys
crate, which remains stable and unchanged.
const GUID
code gen across windows
and windows-sys
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2072
std
consistently in the windows
crate by @kennykerr in https://github.com/microsoft/windows-rs/pull/2073
HSTRING
by @ridwanabdillahi in https://github.com/microsoft/windows-rs/pull/2077
windows::core::Error
formatting by @kennykerr in https://github.com/microsoft/windows-rs/pull/2075
HSTRING
methods const
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2078
macro_rules
by @kennykerr in https://github.com/microsoft/windows-rs/pull/2079
clippy
warnings by @kaivol in https://github.com/microsoft/windows-rs/pull/2090
BSTR
by @rylev in https://github.com/microsoft/windows-rs/pull/2116
Full Changelog: https://github.com/microsoft/windows-rs/compare/0.42.0...0.43.0
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/2060
implement
macro traits need not be recursively dependent by @kennykerr in https://github.com/microsoft/windows-rs/pull/2062
windows-sys
test coverage by @kennykerr in https://github.com/microsoft/windows-rs/pull/2063
Changelog 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 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/2043
core
module of the windows
crate by @ridwanabdillahi in https://github.com/microsoft/windows-rs/pull/2023
Vtable
support from Interface
trait by @kennykerr in https://github.com/microsoft/windows-rs/pull/2051
HSTRING
to conform to Rust's aliasing rules by @ChrisDenton in https://github.com/microsoft/windows-rs/pull/2057
Full Changelog: https://github.com/microsoft/windows-rs/compare/0.40.0...0.41.0