From 2d06ee60350bfb419c13ad570582ca64e1fe303f Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Thu, 22 Feb 2024 07:19:19 -0600 Subject: [PATCH] Release 0.53.0 (#2854) --- .github/workflows/lib.yml | 2 +- crates/libs/bindgen/Cargo.toml | 4 +-- crates/libs/bindgen/readme.md | 6 ++-- crates/libs/core/Cargo.toml | 4 +-- crates/libs/core/readme.md | 2 +- crates/libs/core/src/imp/bindings.rs | 2 +- crates/libs/core/src/imp/com_bindings.rs | 2 +- crates/libs/implement/Cargo.toml | 2 +- crates/libs/interface/Cargo.toml | 2 +- crates/libs/metadata/Cargo.toml | 2 +- crates/libs/metadata/readme.md | 2 +- crates/libs/metadata/src/bindings.rs | 2 +- crates/libs/registry/Cargo.toml | 4 +-- crates/libs/registry/readme.md | 2 +- crates/libs/registry/src/bindings.rs | 2 +- crates/libs/result/Cargo.toml | 4 +-- crates/libs/result/readme.md | 27 +++++++++++++++++- crates/libs/result/src/bindings.rs | 2 +- crates/libs/sys/Cargo.toml | 2 +- crates/libs/sys/readme.md | 4 +-- crates/libs/sys/src/lib.rs | 2 +- crates/libs/targets/Cargo.toml | 16 +++++------ crates/libs/targets/readme.md | 2 +- crates/libs/targets/src/lib.rs | 2 +- crates/libs/version/Cargo.toml | 4 +-- crates/libs/version/readme.md | 2 +- crates/libs/version/src/bindings.rs | 2 +- crates/libs/windows/Cargo.toml | 10 +++---- crates/libs/windows/readme.md | 6 ++-- crates/libs/windows/src/lib.rs | 2 +- .../json_validator_winrt/src/bindings.rs | 2 +- .../src/bindings.rs | 2 +- crates/targets/aarch64_gnullvm/Cargo.toml | 2 +- ...ibwindows.0.52.0.a => libwindows.0.52.1.a} | Bin crates/targets/aarch64_msvc/Cargo.toml | 2 +- ...{windows.0.52.0.lib => windows.0.52.1.lib} | Bin crates/targets/i686_gnu/Cargo.toml | 2 +- ...ibwindows.0.52.0.a => libwindows.0.52.1.a} | Bin crates/targets/i686_msvc/Cargo.toml | 2 +- ...{windows.0.52.0.lib => windows.0.52.1.lib} | Bin crates/targets/x86_64_gnu/Cargo.toml | 2 +- ...ibwindows.0.52.0.a => libwindows.0.52.1.a} | Bin crates/targets/x86_64_gnullvm/Cargo.toml | 2 +- ...ibwindows.0.52.0.a => libwindows.0.52.1.a} | Bin crates/targets/x86_64_msvc/Cargo.toml | 2 +- ...{windows.0.52.0.lib => windows.0.52.1.lib} | Bin crates/tests/component/src/bindings.rs | 2 +- crates/tests/component_client/src/bindings.rs | 2 +- crates/tests/riddle/src/generic_interfaces.rs | 2 +- crates/tests/riddle/src/module_attributes.rs | 2 +- crates/tests/riddle/src/nested_module.rs | 2 +- crates/tests/riddle/src/nested_struct.rs | 2 +- crates/tests/riddle/src/params.rs | 2 +- crates/tests/riddle/src/struct.rs | 2 +- crates/tests/riddle/src/win32_struct.rs | 2 +- crates/tests/riddle/src/winrt_struct.rs | 2 +- crates/tests/standalone/src/b_arch.rs | 2 +- .../standalone/src/b_arch_dependencies.rs | 2 +- crates/tests/standalone/src/b_bstr.rs | 2 +- crates/tests/standalone/src/b_calendar.rs | 2 +- .../tests/standalone/src/b_constant_types.rs | 2 +- crates/tests/standalone/src/b_depends.rs | 2 +- crates/tests/standalone/src/b_enumeration.rs | 2 +- crates/tests/standalone/src/b_enumerator.rs | 2 +- crates/tests/standalone/src/b_guid.rs | 2 +- crates/tests/standalone/src/b_hresult.rs | 2 +- crates/tests/standalone/src/b_hstring.rs | 2 +- crates/tests/standalone/src/b_include_me.rs | 2 +- crates/tests/standalone/src/b_inspectable.rs | 2 +- crates/tests/standalone/src/b_nested.rs | 2 +- crates/tests/standalone/src/b_none.rs | 2 +- crates/tests/standalone/src/b_overloads.rs | 2 +- crates/tests/standalone/src/b_pcstr.rs | 2 +- crates/tests/standalone/src/b_pcwstr.rs | 2 +- crates/tests/standalone/src/b_pstr.rs | 2 +- crates/tests/standalone/src/b_pwstr.rs | 2 +- crates/tests/standalone/src/b_std.rs | 2 +- crates/tests/standalone/src/b_stringable.rs | 2 +- crates/tests/standalone/src/b_test.rs | 2 +- crates/tests/standalone/src/b_unknown.rs | 2 +- crates/tests/standalone/src/b_uri.rs | 2 +- crates/tests/standalone/src/b_variant.rs | 2 +- crates/tests/standalone/src/b_vtbl.rs | 2 +- crates/tests/standalone/src/b_vtbl_0.rs | 2 +- crates/tests/standalone/src/b_vtbl_1.rs | 2 +- crates/tests/standalone/src/b_vtbl_2.rs | 2 +- crates/tests/standalone/src/b_vtbl_3.rs | 2 +- crates/tests/standalone/src/b_vtbl_4.rs | 2 +- .../tests/standalone/src/b_win_enumerator.rs | 2 +- crates/tests/targets/tests/files.rs | 16 +++++------ crates/tools/gnu/Cargo.toml | 2 +- crates/tools/msvc/Cargo.toml | 2 +- crates/tools/riddle/Cargo.toml | 4 +-- crates/tools/riddle/readme.md | 2 +- 94 files changed, 141 insertions(+), 116 deletions(-) rename crates/targets/aarch64_gnullvm/lib/{libwindows.0.52.0.a => libwindows.0.52.1.a} (100%) rename crates/targets/aarch64_msvc/lib/{windows.0.52.0.lib => windows.0.52.1.lib} (100%) rename crates/targets/i686_gnu/lib/{libwindows.0.52.0.a => libwindows.0.52.1.a} (100%) rename crates/targets/i686_msvc/lib/{windows.0.52.0.lib => windows.0.52.1.lib} (100%) rename crates/targets/x86_64_gnu/lib/{libwindows.0.52.0.a => libwindows.0.52.1.a} (100%) rename crates/targets/x86_64_gnullvm/lib/{libwindows.0.52.0.a => libwindows.0.52.1.a} (100%) rename crates/targets/x86_64_msvc/lib/{windows.0.52.0.lib => windows.0.52.1.lib} (100%) diff --git a/.github/workflows/lib.yml b/.github/workflows/lib.yml index c81288c01b..0b4e24e64f 100644 --- a/.github/workflows/lib.yml +++ b/.github/workflows/lib.yml @@ -72,7 +72,7 @@ jobs: foreach($Test in $Tests) { $Target = $Test.Item1 $Magic = $Test.Item2 - $Output = [string](& $DumpbinPath /headers crates/targets/$Target/lib/windows.0.52.0.lib) + $Output = [string](& $DumpbinPath /headers crates/targets/$Target/lib/windows.0.52.1.lib) if($Output -match "Machine\s*: $Magic" -ne $True) { Write-Error "Import lib check failed for $Target ($Magic)." Exit 1 diff --git a/crates/libs/bindgen/Cargo.toml b/crates/libs/bindgen/Cargo.toml index 87930c9b44..f71fa4f664 100644 --- a/crates/libs/bindgen/Cargo.toml +++ b/crates/libs/bindgen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windows-bindgen" -version = "0.52.0" +version = "0.53.0" authors = ["Microsoft"] edition = "2021" rust-version = "1.70" @@ -21,7 +21,7 @@ default = ["metadata"] metadata = [] [dependencies] -windows-metadata = { path = "../metadata", version = "0.52.0" } +windows-metadata = { path = "../metadata", version = "0.53.0" } rayon = "1.7" [dependencies.syn] diff --git a/crates/libs/bindgen/readme.md b/crates/libs/bindgen/readme.md index e6223e8225..3913cd36cd 100644 --- a/crates/libs/bindgen/readme.md +++ b/crates/libs/bindgen/readme.md @@ -3,17 +3,17 @@ The [windows-bindgen](https://crates.io/crates/windows-bindgen) crate automatically generates Rust bindings from Windows metadata. * [Getting started](https://kennykerr.ca/rust-getting-started/) -* [Samples](https://github.com/microsoft/windows-rs/tree/0.52.0/crates/samples) +* [Samples](https://github.com/microsoft/windows-rs/tree/0.53.0/crates/samples) * [Releases](https://github.com/microsoft/windows-rs/releases) Start by adding the following to your Cargo.toml file: ```toml [dependencies.windows-targets] -version = "0.52" +version = "0.53" [dev-dependencies.windows-bindgen] -version = "0.52" +version = "0.53" ``` Generates Rust bindings in a build script or test as needed: diff --git a/crates/libs/core/Cargo.toml b/crates/libs/core/Cargo.toml index 905f3f714f..fb9c3b9204 100644 --- a/crates/libs/core/Cargo.toml +++ b/crates/libs/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windows-core" -version = "0.52.0" +version = "0.53.0" authors = ["Microsoft"] edition = "2021" rust-version = "1.62" @@ -18,7 +18,7 @@ default-target = "x86_64-pc-windows-msvc" targets = [] [dependencies.windows-targets] -version = "0.52.0" +version = "0.52.1" path = "../targets" [dependencies.windows-result] diff --git a/crates/libs/core/readme.md b/crates/libs/core/readme.md index ee076f40ca..7eeb1713de 100644 --- a/crates/libs/core/readme.md +++ b/crates/libs/core/readme.md @@ -3,7 +3,7 @@ The [windows](https://crates.io/crates/windows) and [windows-sys](https://crates.io/crates/windows-sys) crates let you call any Windows API past, present, and future using code generated on the fly directly from the [metadata describing the API](https://github.com/microsoft/windows-rs/tree/master/crates/libs/bindgen/default) and right into your Rust package where you can call them as if they were just another Rust module. The Rust language projection follows in the tradition established by [C++/WinRT](https://github.com/microsoft/cppwinrt) of building language projections for Windows using standard languages and compilers, providing a natural and idiomatic way for Rust developers to call Windows APIs. * [Getting started](https://kennykerr.ca/rust-getting-started/) -* [Samples](https://github.com/microsoft/windows-rs/tree/0.52.0/crates/samples) +* [Samples](https://github.com/microsoft/windows-rs/tree/0.53.0/crates/samples) * [Releases](https://github.com/microsoft/windows-rs/releases) Start by adding the following to your Cargo.toml file: diff --git a/crates/libs/core/src/imp/bindings.rs b/crates/libs/core/src/imp/bindings.rs index 07ac83861a..3a8bbd8542 100644 --- a/crates/libs/core/src/imp/bindings.rs +++ b/crates/libs/core/src/imp/bindings.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow(non_snake_case, non_upper_case_globals, non_camel_case_types, dead_code, clippy::all)] ::windows_targets::link!("api-ms-win-core-winrt-l1-1-0.dll" "system" fn RoGetActivationFactory(activatableclassid : * mut::core::ffi::c_void, iid : *const GUID, factory : *mut *mut ::core::ffi::c_void) -> HRESULT); diff --git a/crates/libs/core/src/imp/com_bindings.rs b/crates/libs/core/src/imp/com_bindings.rs index 79bc2505e4..4e3a30bfd1 100644 --- a/crates/libs/core/src/imp/com_bindings.rs +++ b/crates/libs/core/src/imp/com_bindings.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow(non_snake_case, non_upper_case_globals, non_camel_case_types, dead_code, clippy::all)] #[inline] diff --git a/crates/libs/implement/Cargo.toml b/crates/libs/implement/Cargo.toml index 0c0b4ff743..2d2a6e0c20 100644 --- a/crates/libs/implement/Cargo.toml +++ b/crates/libs/implement/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windows-implement" -version = "0.52.0" +version = "0.53.0" authors = ["Microsoft"] edition = "2021" rust-version = "1.64" diff --git a/crates/libs/interface/Cargo.toml b/crates/libs/interface/Cargo.toml index 55996fb233..2952604c07 100644 --- a/crates/libs/interface/Cargo.toml +++ b/crates/libs/interface/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windows-interface" -version = "0.52.0" +version = "0.53.0" authors = ["Microsoft"] edition = "2021" rust-version = "1.64" diff --git a/crates/libs/metadata/Cargo.toml b/crates/libs/metadata/Cargo.toml index 4cd4c78fb5..351bf02b5d 100644 --- a/crates/libs/metadata/Cargo.toml +++ b/crates/libs/metadata/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windows-metadata" -version = "0.52.0" +version = "0.53.0" authors = ["Microsoft"] edition = "2021" rust-version = "1.70" diff --git a/crates/libs/metadata/readme.md b/crates/libs/metadata/readme.md index e7960bdd09..4f82862f7d 100644 --- a/crates/libs/metadata/readme.md +++ b/crates/libs/metadata/readme.md @@ -3,7 +3,7 @@ The [windows-metadata](https://crates.io/crates/windows-metadata) crate provides a fast reader for Windows metadata files based on the ECMA-335 file format. * [Getting started](https://kennykerr.ca/rust-getting-started/) -* [Samples](https://github.com/microsoft/windows-rs/tree/0.52.0/crates/samples) +* [Samples](https://github.com/microsoft/windows-rs/tree/0.53.0/crates/samples) * [Releases](https://github.com/microsoft/windows-rs/releases) Start by adding the following to your Cargo.toml file: diff --git a/crates/libs/metadata/src/bindings.rs b/crates/libs/metadata/src/bindings.rs index 9f92aec78c..22968ad077 100644 --- a/crates/libs/metadata/src/bindings.rs +++ b/crates/libs/metadata/src/bindings.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow(non_snake_case, non_upper_case_globals, non_camel_case_types, dead_code, clippy::all)] pub type CorElementType = u8; diff --git a/crates/libs/registry/Cargo.toml b/crates/libs/registry/Cargo.toml index 6421738942..1290e7aeb9 100644 --- a/crates/libs/registry/Cargo.toml +++ b/crates/libs/registry/Cargo.toml @@ -19,7 +19,7 @@ default-target = "x86_64-pc-windows-msvc" targets = [] [dependencies.windows-targets] -version = "0.52.0" +version = "0.52.1" path = "../targets" [dependencies.windows-result] @@ -27,5 +27,5 @@ version = "0.1.0" path = "../result" [dev-dependencies.windows-bindgen] -version = "0.52.0" +version = "0.53.0" path = "../bindgen" diff --git a/crates/libs/registry/readme.md b/crates/libs/registry/readme.md index 851e681d06..48891d392a 100644 --- a/crates/libs/registry/readme.md +++ b/crates/libs/registry/readme.md @@ -3,7 +3,7 @@ The [windows-registry](https://crates.io/crates/windows-registry) crate provides simple, safe, and efficient access to the Windows registry. * [Getting started](https://kennykerr.ca/rust-getting-started/) -* [Samples](https://github.com/microsoft/windows-rs/tree/0.52.0/crates/samples) +* [Samples](https://github.com/microsoft/windows-rs/tree/0.53.0/crates/samples) * [Releases](https://github.com/microsoft/windows-rs/releases) Start by adding the following to your Cargo.toml file: diff --git a/crates/libs/registry/src/bindings.rs b/crates/libs/registry/src/bindings.rs index e210042d7f..2801215e9d 100644 --- a/crates/libs/registry/src/bindings.rs +++ b/crates/libs/registry/src/bindings.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/libs/result/Cargo.toml b/crates/libs/result/Cargo.toml index b2ddfad10a..b179b22f93 100644 --- a/crates/libs/result/Cargo.toml +++ b/crates/libs/result/Cargo.toml @@ -19,9 +19,9 @@ default-target = "x86_64-pc-windows-msvc" targets = [] [dependencies.windows-targets] -version = "0.52.0" +version = "0.52.1" path = "../targets" [dev-dependencies.windows-bindgen] -version = "0.52.0" +version = "0.53.0" path = "../bindgen" diff --git a/crates/libs/result/readme.md b/crates/libs/result/readme.md index 238b8a6995..ecc7302f58 100644 --- a/crates/libs/result/readme.md +++ b/crates/libs/result/readme.md @@ -3,5 +3,30 @@ The [windows-result](https://crates.io/crates/windows-result) crate provides efficient Windows error handling and propagation with support for Win32, COM, and WinRT APIs. * [Getting started](https://kennykerr.ca/rust-getting-started/) -* [Samples](https://github.com/microsoft/windows-rs/tree/0.52.0/crates/samples) +* [Samples](https://github.com/microsoft/windows-rs/tree/0.53.0/crates/samples) * [Releases](https://github.com/microsoft/windows-rs/releases) + +Start by adding the following to your Cargo.toml file: + +```toml +[dependencies.windows-result] +version = "0.1" +``` + +Use the `HRESULT`, `Error`, and specialized `Result` types as needed: + +```rust +use windows_result::*; + +const S_OK: HRESULT = HRESULT(0); +const ERROR_CANCELLED: u32 = 1223; +const E_CANCELLED: HRESULT = HRESULT::from_win32(ERROR_CANCELLED); + +fn main() -> Result<()> { + S_OK.ok()?; + let e = Error::new(E_CANCELLED, "test message"); + assert_eq!(e.code(), E_CANCELLED); + assert_eq!(e.message(), "test message"); + Err(e) +} +``` diff --git a/crates/libs/result/src/bindings.rs b/crates/libs/result/src/bindings.rs index f4e8fc38f7..5809d03cb5 100644 --- a/crates/libs/result/src/bindings.rs +++ b/crates/libs/result/src/bindings.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/libs/sys/Cargo.toml b/crates/libs/sys/Cargo.toml index 4f85f0f126..5d564326a6 100644 --- a/crates/libs/sys/Cargo.toml +++ b/crates/libs/sys/Cargo.toml @@ -20,7 +20,7 @@ targets = [] all-features = true [dependencies.windows-targets] -version = "0.52.0" +version = "0.52.1" path = "../targets" [features] diff --git a/crates/libs/sys/readme.md b/crates/libs/sys/readme.md index e6e91dbeeb..0b9a19fa57 100644 --- a/crates/libs/sys/readme.md +++ b/crates/libs/sys/readme.md @@ -3,9 +3,9 @@ The [windows](https://crates.io/crates/windows) and [windows-sys](https://crates.io/crates/windows-sys) crates let you call any Windows API past, present, and future using code generated on the fly directly from the [metadata describing the API](https://github.com/microsoft/windows-rs/tree/master/crates/libs/bindgen/default) and right into your Rust package where you can call them as if they were just another Rust module. The Rust language projection follows in the tradition established by [C++/WinRT](https://github.com/microsoft/cppwinrt) of building language projections for Windows using standard languages and compilers, providing a natural and idiomatic way for Rust developers to call Windows APIs. * [Getting started](https://kennykerr.ca/rust-getting-started/) -* [Samples](https://github.com/microsoft/windows-rs/tree/0.52.0/crates/samples) +* [Samples](https://github.com/microsoft/windows-rs/tree/0.53.0/crates/samples) * [Releases](https://github.com/microsoft/windows-rs/releases) -* [Feature search](https://microsoft.github.io/windows-rs/features/#/0.52.0) +* [Feature search](https://microsoft.github.io/windows-rs/features/#/0.53.0) Start by adding the following to your Cargo.toml file: diff --git a/crates/libs/sys/src/lib.rs b/crates/libs/sys/src/lib.rs index 336f2e7ce2..29ef92194d 100644 --- a/crates/libs/sys/src/lib.rs +++ b/crates/libs/sys/src/lib.rs @@ -1,7 +1,7 @@ /*! Learn more about Rust for Windows here: -[Feature search](https://microsoft.github.io/windows-rs/features/#/0.52.0) +[Feature search](https://microsoft.github.io/windows-rs/features/#/0.53.0) */ #![no_std] diff --git a/crates/libs/targets/Cargo.toml b/crates/libs/targets/Cargo.toml index 952cb6304b..af1b07ebad 100644 --- a/crates/libs/targets/Cargo.toml +++ b/crates/libs/targets/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "windows-targets" -version = "0.52.0" +version = "0.52.1" authors = ["Microsoft"] edition = "2021" rust-version = "1.60" @@ -14,22 +14,22 @@ readme = "readme.md" workspace = true [target.'cfg(all(target_arch = "x86", target_env = "msvc", not(windows_raw_dylib)))'.dependencies] -windows_i686_msvc = { path = "../../targets/i686_msvc", version = "0.52.0" } +windows_i686_msvc = { path = "../../targets/i686_msvc", version = "0.52.1" } [target.'cfg(all(target_arch = "x86_64", target_env = "msvc", not(windows_raw_dylib)))'.dependencies] -windows_x86_64_msvc = { path = "../../targets/x86_64_msvc", version = "0.52.0" } +windows_x86_64_msvc = { path = "../../targets/x86_64_msvc", version = "0.52.1" } [target.'cfg(all(target_arch = "aarch64", target_env = "msvc", not(windows_raw_dylib)))'.dependencies] -windows_aarch64_msvc = { path = "../../targets/aarch64_msvc", version = "0.52.0" } +windows_aarch64_msvc = { path = "../../targets/aarch64_msvc", version = "0.52.1" } [target.'cfg(all(target_arch = "x86", target_env = "gnu", not(windows_raw_dylib)))'.dependencies] -windows_i686_gnu = { path = "../../targets/i686_gnu", version = "0.52.0" } +windows_i686_gnu = { path = "../../targets/i686_gnu", version = "0.52.1" } [target.'cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib)))'.dependencies] -windows_x86_64_gnu = { path = "../../targets/x86_64_gnu", version = "0.52.0" } +windows_x86_64_gnu = { path = "../../targets/x86_64_gnu", version = "0.52.1" } [target.x86_64-pc-windows-gnullvm.dependencies] -windows_x86_64_gnullvm = { path = "../../targets/x86_64_gnullvm", version = "0.52.0" } +windows_x86_64_gnullvm = { path = "../../targets/x86_64_gnullvm", version = "0.52.1" } [target.aarch64-pc-windows-gnullvm.dependencies] -windows_aarch64_gnullvm = { path = "../../targets/aarch64_gnullvm", version = "0.52.0" } +windows_aarch64_gnullvm = { path = "../../targets/aarch64_gnullvm", version = "0.52.1" } diff --git a/crates/libs/targets/readme.md b/crates/libs/targets/readme.md index 60d41cbe65..ff7c47b00d 100644 --- a/crates/libs/targets/readme.md +++ b/crates/libs/targets/readme.md @@ -3,7 +3,7 @@ The [windows-targets](https://crates.io/crates/windows-targets) crate includes import libs, supports semantic versioning, and optional support for raw-dylib. * [Getting started](https://kennykerr.ca/rust-getting-started/) -* [Samples](https://github.com/microsoft/windows-rs/tree/0.52.0/crates/samples) +* [Samples](https://github.com/microsoft/windows-rs/tree/0.53.0/crates/samples) * [Releases](https://github.com/microsoft/windows-rs/releases) Start by adding the following to your Cargo.toml file: diff --git a/crates/libs/targets/src/lib.rs b/crates/libs/targets/src/lib.rs index 6fa769b3b1..976b09020d 100644 --- a/crates/libs/targets/src/lib.rs +++ b/crates/libs/targets/src/lib.rs @@ -35,7 +35,7 @@ macro_rules! link { #[macro_export] macro_rules! link { ($library:literal $abi:literal $($link_name:literal)? fn $($function:tt)*) => ( - #[link(name = "windows.0.52.0")] + #[link(name = "windows.0.52.1")] extern $abi { $(#[link_name=$link_name])? pub fn $($function)*; diff --git a/crates/libs/version/Cargo.toml b/crates/libs/version/Cargo.toml index 864eeb27c5..e18374879c 100644 --- a/crates/libs/version/Cargo.toml +++ b/crates/libs/version/Cargo.toml @@ -18,9 +18,9 @@ default-target = "x86_64-pc-windows-msvc" targets = [] [dependencies.windows-targets] -version = "0.52.0" +version = "0.52.1" path = "../targets" [dev-dependencies.windows-bindgen] -version = "0.52.0" +version = "0.53.0" path = "../bindgen" diff --git a/crates/libs/version/readme.md b/crates/libs/version/readme.md index 0d9d829fd1..e2e8814fa9 100644 --- a/crates/libs/version/readme.md +++ b/crates/libs/version/readme.md @@ -3,7 +3,7 @@ The [windows-version](https://crates.io/crates/windows-version) crate provides reliable operating system version information without the need for application manifest files. * [Getting started](https://kennykerr.ca/rust-getting-started/) -* [Samples](https://github.com/microsoft/windows-rs/tree/0.52.0/crates/samples) +* [Samples](https://github.com/microsoft/windows-rs/tree/0.53.0/crates/samples) * [Releases](https://github.com/microsoft/windows-rs/releases) Start by adding the following to your Cargo.toml file: diff --git a/crates/libs/version/src/bindings.rs b/crates/libs/version/src/bindings.rs index 8ae08229fd..dbefa3204c 100644 --- a/crates/libs/version/src/bindings.rs +++ b/crates/libs/version/src/bindings.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/libs/windows/Cargo.toml b/crates/libs/windows/Cargo.toml index 476673c4df..3570d007c8 100644 --- a/crates/libs/windows/Cargo.toml +++ b/crates/libs/windows/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "windows" -version = "0.52.0" +version = "0.53.0" authors = ["Microsoft"] edition = "2021" rust-version = "1.62" @@ -22,10 +22,10 @@ targets = [] rustdoc-args = ["--cfg", "docsrs"] [dependencies] -windows-core = { path = "../core", version = "0.52.0" } -windows-targets = { path = "../targets", version = "0.52.0" } -windows-implement = { path = "../implement", version = "0.52.0", optional = true } -windows-interface = { path = "../interface", version = "0.52.0", optional = true } +windows-core = { path = "../core", version = "0.53.0" } +windows-targets = { path = "../targets", version = "0.52.1" } +windows-implement = { path = "../implement", version = "0.53.0", optional = true } +windows-interface = { path = "../interface", version = "0.53.0", optional = true } [features] default = [] diff --git a/crates/libs/windows/readme.md b/crates/libs/windows/readme.md index e6e91dbeeb..12ecaa9962 100644 --- a/crates/libs/windows/readme.md +++ b/crates/libs/windows/readme.md @@ -3,15 +3,15 @@ The [windows](https://crates.io/crates/windows) and [windows-sys](https://crates.io/crates/windows-sys) crates let you call any Windows API past, present, and future using code generated on the fly directly from the [metadata describing the API](https://github.com/microsoft/windows-rs/tree/master/crates/libs/bindgen/default) and right into your Rust package where you can call them as if they were just another Rust module. The Rust language projection follows in the tradition established by [C++/WinRT](https://github.com/microsoft/cppwinrt) of building language projections for Windows using standard languages and compilers, providing a natural and idiomatic way for Rust developers to call Windows APIs. * [Getting started](https://kennykerr.ca/rust-getting-started/) -* [Samples](https://github.com/microsoft/windows-rs/tree/0.52.0/crates/samples) +* [Samples](https://github.com/microsoft/windows-rs/tree/0.53.0/crates/samples) * [Releases](https://github.com/microsoft/windows-rs/releases) -* [Feature search](https://microsoft.github.io/windows-rs/features/#/0.52.0) +* [Feature search](https://microsoft.github.io/windows-rs/features/#/0.53.0) Start by adding the following to your Cargo.toml file: ```toml [dependencies.windows] -version = "0.52" +version = "0.53" features = [ "Data_Xml_Dom", "Win32_Foundation", diff --git a/crates/libs/windows/src/lib.rs b/crates/libs/windows/src/lib.rs index 6ff700fbb0..b4d38babc3 100644 --- a/crates/libs/windows/src/lib.rs +++ b/crates/libs/windows/src/lib.rs @@ -3,7 +3,7 @@ /*! Learn more about Rust for Windows here: -[Feature search](https://microsoft.github.io/windows-rs/features/#/0.52.0) +[Feature search](https://microsoft.github.io/windows-rs/features/#/0.53.0) */ #![doc(html_no_source)] diff --git a/crates/samples/components/json_validator_winrt/src/bindings.rs b/crates/samples/components/json_validator_winrt/src/bindings.rs index d297ddc4cb..c0de2d11b7 100644 --- a/crates/samples/components/json_validator_winrt/src/bindings.rs +++ b/crates/samples/components/json_validator_winrt/src/bindings.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/samples/components/json_validator_winrt_client/src/bindings.rs b/crates/samples/components/json_validator_winrt_client/src/bindings.rs index 1ed73cd270..472f5684d2 100644 --- a/crates/samples/components/json_validator_winrt_client/src/bindings.rs +++ b/crates/samples/components/json_validator_winrt_client/src/bindings.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/targets/aarch64_gnullvm/Cargo.toml b/crates/targets/aarch64_gnullvm/Cargo.toml index 694b440577..472f415f1a 100644 --- a/crates/targets/aarch64_gnullvm/Cargo.toml +++ b/crates/targets/aarch64_gnullvm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windows_aarch64_gnullvm" -version = "0.52.0" +version = "0.52.1" authors = ["Microsoft"] edition = "2021" rust-version = "1.60" diff --git a/crates/targets/aarch64_gnullvm/lib/libwindows.0.52.0.a b/crates/targets/aarch64_gnullvm/lib/libwindows.0.52.1.a similarity index 100% rename from crates/targets/aarch64_gnullvm/lib/libwindows.0.52.0.a rename to crates/targets/aarch64_gnullvm/lib/libwindows.0.52.1.a diff --git a/crates/targets/aarch64_msvc/Cargo.toml b/crates/targets/aarch64_msvc/Cargo.toml index 3c936275bc..ec63a69003 100644 --- a/crates/targets/aarch64_msvc/Cargo.toml +++ b/crates/targets/aarch64_msvc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windows_aarch64_msvc" -version = "0.52.0" +version = "0.52.1" authors = ["Microsoft"] edition = "2021" rust-version = "1.60" diff --git a/crates/targets/aarch64_msvc/lib/windows.0.52.0.lib b/crates/targets/aarch64_msvc/lib/windows.0.52.1.lib similarity index 100% rename from crates/targets/aarch64_msvc/lib/windows.0.52.0.lib rename to crates/targets/aarch64_msvc/lib/windows.0.52.1.lib diff --git a/crates/targets/i686_gnu/Cargo.toml b/crates/targets/i686_gnu/Cargo.toml index e5a7d38f75..c7ff33cd8d 100644 --- a/crates/targets/i686_gnu/Cargo.toml +++ b/crates/targets/i686_gnu/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windows_i686_gnu" -version = "0.52.0" +version = "0.52.1" authors = ["Microsoft"] edition = "2021" rust-version = "1.60" diff --git a/crates/targets/i686_gnu/lib/libwindows.0.52.0.a b/crates/targets/i686_gnu/lib/libwindows.0.52.1.a similarity index 100% rename from crates/targets/i686_gnu/lib/libwindows.0.52.0.a rename to crates/targets/i686_gnu/lib/libwindows.0.52.1.a diff --git a/crates/targets/i686_msvc/Cargo.toml b/crates/targets/i686_msvc/Cargo.toml index db707034a7..57c68737e1 100644 --- a/crates/targets/i686_msvc/Cargo.toml +++ b/crates/targets/i686_msvc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windows_i686_msvc" -version = "0.52.0" +version = "0.52.1" authors = ["Microsoft"] edition = "2021" rust-version = "1.60" diff --git a/crates/targets/i686_msvc/lib/windows.0.52.0.lib b/crates/targets/i686_msvc/lib/windows.0.52.1.lib similarity index 100% rename from crates/targets/i686_msvc/lib/windows.0.52.0.lib rename to crates/targets/i686_msvc/lib/windows.0.52.1.lib diff --git a/crates/targets/x86_64_gnu/Cargo.toml b/crates/targets/x86_64_gnu/Cargo.toml index a847fcf4fb..4c5d612e56 100644 --- a/crates/targets/x86_64_gnu/Cargo.toml +++ b/crates/targets/x86_64_gnu/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windows_x86_64_gnu" -version = "0.52.0" +version = "0.52.1" authors = ["Microsoft"] edition = "2021" rust-version = "1.60" diff --git a/crates/targets/x86_64_gnu/lib/libwindows.0.52.0.a b/crates/targets/x86_64_gnu/lib/libwindows.0.52.1.a similarity index 100% rename from crates/targets/x86_64_gnu/lib/libwindows.0.52.0.a rename to crates/targets/x86_64_gnu/lib/libwindows.0.52.1.a diff --git a/crates/targets/x86_64_gnullvm/Cargo.toml b/crates/targets/x86_64_gnullvm/Cargo.toml index 1cc813c4bc..39605579fe 100644 --- a/crates/targets/x86_64_gnullvm/Cargo.toml +++ b/crates/targets/x86_64_gnullvm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windows_x86_64_gnullvm" -version = "0.52.0" +version = "0.52.1" authors = ["Microsoft"] edition = "2021" rust-version = "1.60" diff --git a/crates/targets/x86_64_gnullvm/lib/libwindows.0.52.0.a b/crates/targets/x86_64_gnullvm/lib/libwindows.0.52.1.a similarity index 100% rename from crates/targets/x86_64_gnullvm/lib/libwindows.0.52.0.a rename to crates/targets/x86_64_gnullvm/lib/libwindows.0.52.1.a diff --git a/crates/targets/x86_64_msvc/Cargo.toml b/crates/targets/x86_64_msvc/Cargo.toml index 57aef6246b..16deb9f1c4 100644 --- a/crates/targets/x86_64_msvc/Cargo.toml +++ b/crates/targets/x86_64_msvc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windows_x86_64_msvc" -version = "0.52.0" +version = "0.52.1" authors = ["Microsoft"] edition = "2021" rust-version = "1.60" diff --git a/crates/targets/x86_64_msvc/lib/windows.0.52.0.lib b/crates/targets/x86_64_msvc/lib/windows.0.52.1.lib similarity index 100% rename from crates/targets/x86_64_msvc/lib/windows.0.52.0.lib rename to crates/targets/x86_64_msvc/lib/windows.0.52.1.lib diff --git a/crates/tests/component/src/bindings.rs b/crates/tests/component/src/bindings.rs index 07794b4e1d..d83f329ce4 100644 --- a/crates/tests/component/src/bindings.rs +++ b/crates/tests/component/src/bindings.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/component_client/src/bindings.rs b/crates/tests/component_client/src/bindings.rs index ff78b8f147..544bb889a9 100644 --- a/crates/tests/component_client/src/bindings.rs +++ b/crates/tests/component_client/src/bindings.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/riddle/src/generic_interfaces.rs b/crates/tests/riddle/src/generic_interfaces.rs index 1f1f25b79e..1d39c67eaf 100644 --- a/crates/tests/riddle/src/generic_interfaces.rs +++ b/crates/tests/riddle/src/generic_interfaces.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/riddle/src/module_attributes.rs b/crates/tests/riddle/src/module_attributes.rs index e9018330a7..e7c8c93f5e 100644 --- a/crates/tests/riddle/src/module_attributes.rs +++ b/crates/tests/riddle/src/module_attributes.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/riddle/src/nested_module.rs b/crates/tests/riddle/src/nested_module.rs index 860b88b86d..1f7834f742 100644 --- a/crates/tests/riddle/src/nested_module.rs +++ b/crates/tests/riddle/src/nested_module.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/riddle/src/nested_struct.rs b/crates/tests/riddle/src/nested_struct.rs index 1191f582a7..8063de411c 100644 --- a/crates/tests/riddle/src/nested_struct.rs +++ b/crates/tests/riddle/src/nested_struct.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/riddle/src/params.rs b/crates/tests/riddle/src/params.rs index 772b775d9f..e0ff51ff59 100644 --- a/crates/tests/riddle/src/params.rs +++ b/crates/tests/riddle/src/params.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/riddle/src/struct.rs b/crates/tests/riddle/src/struct.rs index 410ad2e9a2..4562269a84 100644 --- a/crates/tests/riddle/src/struct.rs +++ b/crates/tests/riddle/src/struct.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/riddle/src/win32_struct.rs b/crates/tests/riddle/src/win32_struct.rs index 18c3860a7d..93a954208d 100644 --- a/crates/tests/riddle/src/win32_struct.rs +++ b/crates/tests/riddle/src/win32_struct.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/riddle/src/winrt_struct.rs b/crates/tests/riddle/src/winrt_struct.rs index e9018330a7..e7c8c93f5e 100644 --- a/crates/tests/riddle/src/winrt_struct.rs +++ b/crates/tests/riddle/src/winrt_struct.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_arch.rs b/crates/tests/standalone/src/b_arch.rs index 4c633c6577..3155d4bcc8 100644 --- a/crates/tests/standalone/src/b_arch.rs +++ b/crates/tests/standalone/src/b_arch.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_arch_dependencies.rs b/crates/tests/standalone/src/b_arch_dependencies.rs index 62319a3909..1935bab361 100644 --- a/crates/tests/standalone/src/b_arch_dependencies.rs +++ b/crates/tests/standalone/src/b_arch_dependencies.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_bstr.rs b/crates/tests/standalone/src/b_bstr.rs index db7c9066ed..f70438b791 100644 --- a/crates/tests/standalone/src/b_bstr.rs +++ b/crates/tests/standalone/src/b_bstr.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_calendar.rs b/crates/tests/standalone/src/b_calendar.rs index 5347ebe301..aaad96435b 100644 --- a/crates/tests/standalone/src/b_calendar.rs +++ b/crates/tests/standalone/src/b_calendar.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_constant_types.rs b/crates/tests/standalone/src/b_constant_types.rs index 06ae56dec4..16d16ac47a 100644 --- a/crates/tests/standalone/src/b_constant_types.rs +++ b/crates/tests/standalone/src/b_constant_types.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_depends.rs b/crates/tests/standalone/src/b_depends.rs index fa524d78ec..75b4094c07 100644 --- a/crates/tests/standalone/src/b_depends.rs +++ b/crates/tests/standalone/src/b_depends.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_enumeration.rs b/crates/tests/standalone/src/b_enumeration.rs index 8bba2ac819..5013a95bbd 100644 --- a/crates/tests/standalone/src/b_enumeration.rs +++ b/crates/tests/standalone/src/b_enumeration.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_enumerator.rs b/crates/tests/standalone/src/b_enumerator.rs index c6468d7d7d..adfe627078 100644 --- a/crates/tests/standalone/src/b_enumerator.rs +++ b/crates/tests/standalone/src/b_enumerator.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_guid.rs b/crates/tests/standalone/src/b_guid.rs index b7d8f805cd..5175d02720 100644 --- a/crates/tests/standalone/src/b_guid.rs +++ b/crates/tests/standalone/src/b_guid.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_hresult.rs b/crates/tests/standalone/src/b_hresult.rs index 033c9e2334..eedf640ea6 100644 --- a/crates/tests/standalone/src/b_hresult.rs +++ b/crates/tests/standalone/src/b_hresult.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_hstring.rs b/crates/tests/standalone/src/b_hstring.rs index e7a7d3de30..9c5a38b01b 100644 --- a/crates/tests/standalone/src/b_hstring.rs +++ b/crates/tests/standalone/src/b_hstring.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_include_me.rs b/crates/tests/standalone/src/b_include_me.rs index 4414d7af42..ad967df1c3 100644 --- a/crates/tests/standalone/src/b_include_me.rs +++ b/crates/tests/standalone/src/b_include_me.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #[inline] pub unsafe fn GetVersion() -> u32 { diff --git a/crates/tests/standalone/src/b_inspectable.rs b/crates/tests/standalone/src/b_inspectable.rs index 98c23f7185..bc0cce6597 100644 --- a/crates/tests/standalone/src/b_inspectable.rs +++ b/crates/tests/standalone/src/b_inspectable.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_nested.rs b/crates/tests/standalone/src/b_nested.rs index 9fd8aabdfc..25fbd55a1d 100644 --- a/crates/tests/standalone/src/b_nested.rs +++ b/crates/tests/standalone/src/b_nested.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_none.rs b/crates/tests/standalone/src/b_none.rs index 037d27a448..ef3629a9b7 100644 --- a/crates/tests/standalone/src/b_none.rs +++ b/crates/tests/standalone/src/b_none.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_overloads.rs b/crates/tests/standalone/src/b_overloads.rs index b4d33c624c..e3cb59c3ad 100644 --- a/crates/tests/standalone/src/b_overloads.rs +++ b/crates/tests/standalone/src/b_overloads.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_pcstr.rs b/crates/tests/standalone/src/b_pcstr.rs index 102f10791d..26938cfb5e 100644 --- a/crates/tests/standalone/src/b_pcstr.rs +++ b/crates/tests/standalone/src/b_pcstr.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_pcwstr.rs b/crates/tests/standalone/src/b_pcwstr.rs index 6e64649d55..f76a92ae82 100644 --- a/crates/tests/standalone/src/b_pcwstr.rs +++ b/crates/tests/standalone/src/b_pcwstr.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_pstr.rs b/crates/tests/standalone/src/b_pstr.rs index 3328b8e288..66aca588e6 100644 --- a/crates/tests/standalone/src/b_pstr.rs +++ b/crates/tests/standalone/src/b_pstr.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_pwstr.rs b/crates/tests/standalone/src/b_pwstr.rs index fd1679180b..5f0a183968 100644 --- a/crates/tests/standalone/src/b_pwstr.rs +++ b/crates/tests/standalone/src/b_pwstr.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_std.rs b/crates/tests/standalone/src/b_std.rs index 1a8ab0a0d2..b526216970 100644 --- a/crates/tests/standalone/src/b_std.rs +++ b/crates/tests/standalone/src/b_std.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_stringable.rs b/crates/tests/standalone/src/b_stringable.rs index d62996e638..786d9e7f21 100644 --- a/crates/tests/standalone/src/b_stringable.rs +++ b/crates/tests/standalone/src/b_stringable.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_test.rs b/crates/tests/standalone/src/b_test.rs index 074d517648..86ddc3c581 100644 --- a/crates/tests/standalone/src/b_test.rs +++ b/crates/tests/standalone/src/b_test.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_unknown.rs b/crates/tests/standalone/src/b_unknown.rs index 042bf899d1..acb5f08c7d 100644 --- a/crates/tests/standalone/src/b_unknown.rs +++ b/crates/tests/standalone/src/b_unknown.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_uri.rs b/crates/tests/standalone/src/b_uri.rs index 9300284f8b..4b4c084650 100644 --- a/crates/tests/standalone/src/b_uri.rs +++ b/crates/tests/standalone/src/b_uri.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_variant.rs b/crates/tests/standalone/src/b_variant.rs index 92e1609092..4c896e79b8 100644 --- a/crates/tests/standalone/src/b_variant.rs +++ b/crates/tests/standalone/src/b_variant.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_vtbl.rs b/crates/tests/standalone/src/b_vtbl.rs index c8721454af..42ed8614f2 100644 --- a/crates/tests/standalone/src/b_vtbl.rs +++ b/crates/tests/standalone/src/b_vtbl.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_vtbl_0.rs b/crates/tests/standalone/src/b_vtbl_0.rs index b491176c58..6e90ce1c5e 100644 --- a/crates/tests/standalone/src/b_vtbl_0.rs +++ b/crates/tests/standalone/src/b_vtbl_0.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_vtbl_1.rs b/crates/tests/standalone/src/b_vtbl_1.rs index b99724dfa2..e658a6b52e 100644 --- a/crates/tests/standalone/src/b_vtbl_1.rs +++ b/crates/tests/standalone/src/b_vtbl_1.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_vtbl_2.rs b/crates/tests/standalone/src/b_vtbl_2.rs index eb5b02ebb1..0b40779cff 100644 --- a/crates/tests/standalone/src/b_vtbl_2.rs +++ b/crates/tests/standalone/src/b_vtbl_2.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_vtbl_3.rs b/crates/tests/standalone/src/b_vtbl_3.rs index d504558675..120d11b3cd 100644 --- a/crates/tests/standalone/src/b_vtbl_3.rs +++ b/crates/tests/standalone/src/b_vtbl_3.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_vtbl_4.rs b/crates/tests/standalone/src/b_vtbl_4.rs index 1225282b18..924d5c8028 100644 --- a/crates/tests/standalone/src/b_vtbl_4.rs +++ b/crates/tests/standalone/src/b_vtbl_4.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_win_enumerator.rs b/crates/tests/standalone/src/b_win_enumerator.rs index 09ddd5d9e8..2c6b6c5fdf 100644 --- a/crates/tests/standalone/src/b_win_enumerator.rs +++ b/crates/tests/standalone/src/b_win_enumerator.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.52.0 +// Bindings generated by `windows-bindgen` 0.53.0 #![allow( non_snake_case, diff --git a/crates/tests/targets/tests/files.rs b/crates/tests/targets/tests/files.rs index 78702c9a77..ab5a7a1653 100644 --- a/crates/tests/targets/tests/files.rs +++ b/crates/tests/targets/tests/files.rs @@ -5,13 +5,13 @@ fn test() { let targets = tool_lib::crates("../../targets"); assert_eq!(7, targets.len()); - assert!(targets.iter().all(|(_, version)| version == "0.52.0")); + assert!(targets.iter().all(|(_, version)| version == "0.52.1")); - std::include_bytes!("../../../targets/aarch64_gnullvm/lib/libwindows.0.52.0.a"); - std::include_bytes!("../../../targets/aarch64_msvc/lib/windows.0.52.0.lib"); - std::include_bytes!("../../../targets/i686_gnu/lib/libwindows.0.52.0.a"); - std::include_bytes!("../../../targets/i686_msvc/lib/windows.0.52.0.lib"); - std::include_bytes!("../../../targets/x86_64_gnu/lib/libwindows.0.52.0.a"); - std::include_bytes!("../../../targets/x86_64_gnullvm/lib/libwindows.0.52.0.a"); - std::include_bytes!("../../../targets/x86_64_msvc/lib/windows.0.52.0.lib"); + std::include_bytes!("../../../targets/aarch64_gnullvm/lib/libwindows.0.52.1.a"); + std::include_bytes!("../../../targets/aarch64_msvc/lib/windows.0.52.1.lib"); + std::include_bytes!("../../../targets/i686_gnu/lib/libwindows.0.52.1.a"); + std::include_bytes!("../../../targets/i686_msvc/lib/windows.0.52.1.lib"); + std::include_bytes!("../../../targets/x86_64_gnu/lib/libwindows.0.52.1.a"); + std::include_bytes!("../../../targets/x86_64_gnullvm/lib/libwindows.0.52.1.a"); + std::include_bytes!("../../../targets/x86_64_msvc/lib/windows.0.52.1.lib"); } diff --git a/crates/tools/gnu/Cargo.toml b/crates/tools/gnu/Cargo.toml index 77db452ebc..18827d7e25 100644 --- a/crates/tools/gnu/Cargo.toml +++ b/crates/tools/gnu/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tool_gnu" -version = "0.52.0" +version = "0.52.1" edition = "2021" publish = false diff --git a/crates/tools/msvc/Cargo.toml b/crates/tools/msvc/Cargo.toml index a3412b4145..ff30435e9d 100644 --- a/crates/tools/msvc/Cargo.toml +++ b/crates/tools/msvc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tool_msvc" -version = "0.52.0" +version = "0.52.1" edition = "2021" publish = false diff --git a/crates/tools/riddle/Cargo.toml b/crates/tools/riddle/Cargo.toml index c4e4ffb39c..52db1c2b33 100644 --- a/crates/tools/riddle/Cargo.toml +++ b/crates/tools/riddle/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "riddle" -version = "0.1.0" +version = "0.2.0" authors = ["Microsoft"] edition = "2021" rust-version = "1.60" @@ -11,5 +11,5 @@ readme = "readme.md" [dependencies.windows-bindgen] path = "../../libs/bindgen" -version = "0.52.0" +version = "0.53.0" default-features = false diff --git a/crates/tools/riddle/readme.md b/crates/tools/riddle/readme.md index e490b5410d..07cc14075a 100644 --- a/crates/tools/riddle/readme.md +++ b/crates/tools/riddle/readme.md @@ -3,7 +3,7 @@ The [riddle](https://crates.io/crates/riddle) tool automatically generates Rust bindings from Windows metadata. * [Getting started](https://kennykerr.ca/rust-getting-started/) -* [Samples](https://github.com/microsoft/windows-rs/tree/0.52.0/crates/samples) +* [Samples](https://github.com/microsoft/windows-rs/tree/0.53.0/crates/samples) * [Releases](https://github.com/microsoft/windows-rs/releases) Start by installing `riddle`: