diff --git a/.github/workflows/lib.yml b/.github/workflows/lib.yml index b013781fd74..d5f00fcfd1b 100644 --- a/.github/workflows/lib.yml +++ b/.github/workflows/lib.yml @@ -80,7 +80,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.53.0.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 47aa26dbf5b..77445dc7c7f 100644 --- a/crates/libs/bindgen/Cargo.toml +++ b/crates/libs/bindgen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windows-bindgen" -version = "0.58.0" +version = "0.59.0" edition = "2021" rust-version = "1.74" license = "MIT OR Apache-2.0" diff --git a/crates/libs/bindgen/readme.md b/crates/libs/bindgen/readme.md index 4effe2da2b4..8423cbf01cd 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.58.0/crates/samples) +* [Samples](https://github.com/microsoft/windows-rs/tree/master/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.58" +version = "0.59" ``` Generate Rust bindings in a build script as follows: diff --git a/crates/libs/core/Cargo.toml b/crates/libs/core/Cargo.toml index 1ddb9ed4b6f..d2aa0eaf559 100644 --- a/crates/libs/core/Cargo.toml +++ b/crates/libs/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windows-core" -version = "0.58.0" +version = "0.59.0" authors = ["Microsoft"] edition = "2021" rust-version = "1.74" @@ -18,22 +18,22 @@ default-target = "x86_64-pc-windows-msvc" targets = [] [dependencies.windows-targets] -version = "0.52.6" +version = "0.53.0" path = "../targets" [dependencies.windows-result] -version = "0.2.0" +version = "0.3.0" path = "../result" default-features = false [dependencies.windows-strings] -version = "0.2.0" +version = "0.3.0" path = "../strings" default-features = false [dependencies] -windows-implement = { path = "../implement", version = "0.58.0" } -windows-interface = { path = "../interface", version = "0.58.0" } +windows-implement = { path = "../implement", version = "0.59.0" } +windows-interface = { path = "../interface", version = "0.59.0" } [features] default = ["std"] diff --git a/crates/libs/core/readme.md b/crates/libs/core/readme.md index 0b7035b0d30..9b7e22a7d93 100644 --- a/crates/libs/core/readme.md +++ b/crates/libs/core/readme.md @@ -3,5 +3,5 @@ Core primitives for the [windows](https://crates.io/crates/windows) crate. * [Getting started](https://kennykerr.ca/rust-getting-started/) -* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/crates/samples) +* [Samples](https://github.com/microsoft/windows-rs/tree/master/crates/samples) * [Releases](https://github.com/microsoft/windows-rs/releases) diff --git a/crates/libs/cppwinrt/Cargo.toml b/crates/libs/cppwinrt/Cargo.toml index 6197b996fa6..d08ec1a80de 100644 --- a/crates/libs/cppwinrt/Cargo.toml +++ b/crates/libs/cppwinrt/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cppwinrt" -version = "0.1.0" +version = "0.2.0" authors = ["Microsoft"] edition = "2021" rust-version = "1.74" diff --git a/crates/libs/cppwinrt/readme.md b/crates/libs/cppwinrt/readme.md index 3ee0068d6b4..64d04894165 100644 --- a/crates/libs/cppwinrt/readme.md +++ b/crates/libs/cppwinrt/readme.md @@ -3,7 +3,7 @@ The [cppwinrt](https://crates.io/crates/cppwinrt) crate bundles the C++/WinRT compiler for use in Rust. * [Getting started](https://kennykerr.ca/rust-getting-started/) -* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/crates/samples) +* [Samples](https://github.com/microsoft/windows-rs/tree/master/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/implement/Cargo.toml b/crates/libs/implement/Cargo.toml index e27bd53e4c9..b4b05d2a7dd 100644 --- a/crates/libs/implement/Cargo.toml +++ b/crates/libs/implement/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windows-implement" -version = "0.58.0" +version = "0.59.0" authors = ["Microsoft"] edition = "2021" rust-version = "1.74" diff --git a/crates/libs/interface/Cargo.toml b/crates/libs/interface/Cargo.toml index 57ad5351d67..47ede7b458e 100644 --- a/crates/libs/interface/Cargo.toml +++ b/crates/libs/interface/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windows-interface" -version = "0.58.0" +version = "0.59.0" authors = ["Microsoft"] edition = "2021" rust-version = "1.74" diff --git a/crates/libs/registry/Cargo.toml b/crates/libs/registry/Cargo.toml index 43603714d90..df71c36c738 100644 --- a/crates/libs/registry/Cargo.toml +++ b/crates/libs/registry/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windows-registry" -version = "0.3.0" +version = "0.4.0" authors = ["Microsoft"] edition = "2021" rust-version = "1.74" @@ -18,16 +18,16 @@ default-target = "x86_64-pc-windows-msvc" targets = [] [dependencies.windows-targets] -version = "0.52.6" +version = "0.53.0" path = "../targets" [dependencies.windows-result] -version = "0.2.0" +version = "0.3.0" path = "../result" default-features = false [dependencies.windows-strings] -version = "0.2.0" +version = "0.3.0" path = "../strings" default-features = false diff --git a/crates/libs/registry/readme.md b/crates/libs/registry/readme.md index e51dd43d9a1..bf114653ff8 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.58.0/crates/samples) +* [Samples](https://github.com/microsoft/windows-rs/tree/master/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/result/Cargo.toml b/crates/libs/result/Cargo.toml index fe459e7163a..4036e9e2584 100644 --- a/crates/libs/result/Cargo.toml +++ b/crates/libs/result/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windows-result" -version = "0.2.0" +version = "0.3.0" authors = ["Microsoft"] edition = "2021" rust-version = "1.74" @@ -22,5 +22,5 @@ default-target = "x86_64-pc-windows-msvc" targets = [] [dependencies.windows-targets] -version = "0.52.6" +version = "0.53.0" path = "../targets" diff --git a/crates/libs/result/readme.md b/crates/libs/result/readme.md index b76e31a845e..9cbf10b2c4d 100644 --- a/crates/libs/result/readme.md +++ b/crates/libs/result/readme.md @@ -3,7 +3,7 @@ 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.58.0/crates/samples) +* [Samples](https://github.com/microsoft/windows-rs/tree/master/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/strings/Cargo.toml b/crates/libs/strings/Cargo.toml index 85024bd19ab..9114f5c0374 100644 --- a/crates/libs/strings/Cargo.toml +++ b/crates/libs/strings/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windows-strings" -version = "0.2.0" +version = "0.3.0" authors = ["Microsoft"] edition = "2021" rust-version = "1.74" @@ -18,7 +18,7 @@ default-target = "x86_64-pc-windows-msvc" targets = [] [dependencies.windows-targets] -version = "0.52.6" +version = "0.53.0" path = "../targets" [features] diff --git a/crates/libs/strings/readme.md b/crates/libs/strings/readme.md index 21524124d75..d1bbf1f8605 100644 --- a/crates/libs/strings/readme.md +++ b/crates/libs/strings/readme.md @@ -3,7 +3,7 @@ The [windows-strings](https://crates.io/crates/windows-strings) crate provides common Windows string types used by various Windows APIs. * [Getting started](https://kennykerr.ca/rust-getting-started/) -* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/crates/samples) +* [Samples](https://github.com/microsoft/windows-rs/tree/master/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/sys/Cargo.toml b/crates/libs/sys/Cargo.toml index a56e6d55776..2403c1509f6 100644 --- a/crates/libs/sys/Cargo.toml +++ b/crates/libs/sys/Cargo.toml @@ -25,7 +25,7 @@ targets = [] all-features = true [dependencies.windows-targets] -version = "0.52.6" +version = "0.53.0" path = "../targets" [features] diff --git a/crates/libs/sys/readme.md b/crates/libs/sys/readme.md index 06076876ac4..f0e328f7077 100644 --- a/crates/libs/sys/readme.md +++ b/crates/libs/sys/readme.md @@ -3,9 +3,9 @@ The `windows-sys` crate is a zero-overhead fallback for the most demanding situations and primarily where the absolute best compile time is essential. It only includes function declarations (externs), structs, and constants. No convenience helpers, traits, or wrappers are provided. - [Getting started](https://kennykerr.ca/rust-getting-started/) -- [Samples](https://github.com/microsoft/windows-rs/tree/0.59.0/crates/samples) +- [Samples](https://github.com/microsoft/windows-rs/tree/master/crates/samples) - [Releases](https://github.com/microsoft/windows-rs/releases) -- [Feature search](https://microsoft.github.io/windows-rs/features/#/0.59.0) +- [Feature search](https://microsoft.github.io/windows-rs/features) Start by adding the following to your Cargo.toml file: diff --git a/crates/libs/targets/Cargo.toml b/crates/libs/targets/Cargo.toml index 3aba6066438..0c1d8e5094e 100644 --- a/crates/libs/targets/Cargo.toml +++ b/crates/libs/targets/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "windows-targets" -version = "0.52.6" +version = "0.53.0" authors = ["Microsoft"] edition = "2021" -rust-version = "1.56" +rust-version = "1.60" license = "MIT OR Apache-2.0" description = "Import libs for Windows" repository = "https://github.com/microsoft/windows-rs" @@ -14,25 +14,25 @@ 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.6" } +windows_i686_msvc = { path = "../../targets/i686_msvc", version = "0.53.0" } [target.'cfg(all(any(target_arch = "x86_64", target_arch = "arm64ec"), target_env = "msvc", not(windows_raw_dylib)))'.dependencies] -windows_x86_64_msvc = { path = "../../targets/x86_64_msvc", version = "0.52.6" } +windows_x86_64_msvc = { path = "../../targets/x86_64_msvc", version = "0.53.0" } [target.'cfg(all(target_arch = "aarch64", target_env = "msvc", not(windows_raw_dylib)))'.dependencies] -windows_aarch64_msvc = { path = "../../targets/aarch64_msvc", version = "0.52.6" } +windows_aarch64_msvc = { path = "../../targets/aarch64_msvc", version = "0.53.0" } [target.'cfg(all(target_arch = "x86", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib)))'.dependencies] -windows_i686_gnu = { path = "../../targets/i686_gnu", version = "0.52.6" } +windows_i686_gnu = { path = "../../targets/i686_gnu", version = "0.53.0" } [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.6" } +windows_x86_64_gnu = { path = "../../targets/x86_64_gnu", version = "0.53.0" } [target.i686-pc-windows-gnullvm.dependencies] -windows_i686_gnullvm = { path = "../../targets/i686_gnullvm", version = "0.52.6" } +windows_i686_gnullvm = { path = "../../targets/i686_gnullvm", version = "0.53.0" } [target.x86_64-pc-windows-gnullvm.dependencies] -windows_x86_64_gnullvm = { path = "../../targets/x86_64_gnullvm", version = "0.52.6" } +windows_x86_64_gnullvm = { path = "../../targets/x86_64_gnullvm", version = "0.53.0" } [target.aarch64-pc-windows-gnullvm.dependencies] -windows_aarch64_gnullvm = { path = "../../targets/aarch64_gnullvm", version = "0.52.6" } +windows_aarch64_gnullvm = { path = "../../targets/aarch64_gnullvm", version = "0.53.0" } diff --git a/crates/libs/targets/readme.md b/crates/libs/targets/readme.md index 7ac5c64cf8a..0cc7b46ba5d 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.58.0/crates/samples) +* [Samples](https://github.com/microsoft/windows-rs/tree/master/crates/samples) * [Releases](https://github.com/microsoft/windows-rs/releases) * [Understanding the `windows-targets` crate](https://kennykerr.ca/rust-getting-started/understanding-windows-targets.html) @@ -11,7 +11,7 @@ Start by adding the following to your Cargo.toml file: ```toml [dependencies.windows-targets] -version = "0.52" +version = "0.53" ``` Use the `link` macro to define the external functions you wish to call: diff --git a/crates/libs/targets/src/lib.rs b/crates/libs/targets/src/lib.rs index 39ae950e6cd..b1ddc313c51 100644 --- a/crates/libs/targets/src/lib.rs +++ b/crates/libs/targets/src/lib.rs @@ -5,7 +5,7 @@ #[cfg(all(windows_raw_dylib, target_arch = "x86"))] #[macro_export] macro_rules! link { - ($library:literal $abi:literal $($link_name:literal)? $(#[$doc:meta])? fn $($function:tt)*) => ( + ($library:literal $abi:literal $($link_name:literal)? fn $($function:tt)*) => ( #[link(name = $library, kind = "raw-dylib", modifiers = "+verbatim", import_name_type = "undecorated")] extern $abi { $(#[link_name=$link_name])? @@ -18,7 +18,7 @@ macro_rules! link { #[cfg(all(windows_raw_dylib, not(target_arch = "x86")))] #[macro_export] macro_rules! link { - ($library:literal $abi:literal $($link_name:literal)? $(#[$doc:meta])? fn $($function:tt)*) => ( + ($library:literal $abi:literal $($link_name:literal)? fn $($function:tt)*) => ( #[link(name = $library, kind = "raw-dylib", modifiers = "+verbatim")] extern "C" { $(#[link_name=$link_name])? @@ -31,8 +31,8 @@ macro_rules! link { #[cfg(all(windows, not(windows_raw_dylib)))] #[macro_export] macro_rules! link { - ($library:literal $abi:literal $($link_name:literal)? $(#[$doc:meta])? fn $($function:tt)*) => ( - #[link(name = "windows.0.52.0")] + ($library:literal $abi:literal $($link_name:literal)? fn $($function:tt)*) => ( + #[link(name = "windows.0.53.0")] extern $abi { $(#[link_name=$link_name])? pub fn $($function)*; @@ -44,7 +44,7 @@ macro_rules! link { #[cfg(all(not(windows), not(windows_raw_dylib)))] #[macro_export] macro_rules! link { - ($library:literal $abi:literal $($link_name:literal)? $(#[$doc:meta])? fn $($function:tt)*) => ( + ($library:literal $abi:literal $($link_name:literal)? fn $($function:tt)*) => ( extern $abi { pub fn $($function)*; } diff --git a/crates/libs/version/Cargo.toml b/crates/libs/version/Cargo.toml index 446dea72df1..2890dd498d2 100644 --- a/crates/libs/version/Cargo.toml +++ b/crates/libs/version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windows-version" -version = "0.1.1" +version = "0.1.2" authors = ["Microsoft"] edition = "2021" rust-version = "1.74" @@ -18,5 +18,5 @@ default-target = "x86_64-pc-windows-msvc" targets = [] [dependencies.windows-targets] -version = "0.52.6" +version = "0.53.0" path = "../targets" diff --git a/crates/libs/version/readme.md b/crates/libs/version/readme.md index 344fae46758..628362d5f71 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.58.0/crates/samples) +- [Samples](https://github.com/microsoft/windows-rs/tree/master/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/windows/Cargo.toml b/crates/libs/windows/Cargo.toml index bb67222f0e6..74d07220fbc 100644 --- a/crates/libs/windows/Cargo.toml +++ b/crates/libs/windows/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "windows" -version = "0.58.0" +version = "0.59.0" authors = ["Microsoft"] edition = "2021" rust-version = "1.74" @@ -27,12 +27,12 @@ targets = [] rustdoc-args = ["--cfg", "docsrs"] [dependencies.windows-core] -version = "0.58.0" +version = "0.59.0" path = "../core" default-features = false [dependencies.windows-targets] -version = "0.52.6" +version = "0.53.0" path = "../targets" [features] diff --git a/crates/libs/windows/readme.md b/crates/libs/windows/readme.md index 3086da61131..073e7e86cf5 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.58.0/crates/samples) +* [Samples](https://github.com/microsoft/windows-rs/tree/master/crates/samples) * [Releases](https://github.com/microsoft/windows-rs/releases) -* [Feature search](https://microsoft.github.io/windows-rs/features/#/0.58.0) +* [Feature search](https://microsoft.github.io/windows-rs/features) Start by adding the following to your Cargo.toml file: ```toml [dependencies.windows] -version = "0.58" +version = "0.59" features = [ "Data_Xml_Dom", "Win32_Security", diff --git a/crates/libs/windows/src/lib.rs b/crates/libs/windows/src/lib.rs index fa25ca92067..c2e5751cdd8 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.58.0) +[Feature search](https://microsoft.github.io/windows-rs/features) */ #![cfg(windows)] diff --git a/crates/samples/components/json_validator_winrt/src/bindings.rs b/crates/samples/components/json_validator_winrt/src/bindings.rs index f9cbd6c1aaa..39cdcdb00f6 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.58.0 +// Bindings generated by `windows-bindgen` 0.59.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 35f0bac3b7c..6569e3e4299 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.58.0 +// Bindings generated by `windows-bindgen` 0.59.0 #![allow( non_snake_case, diff --git a/crates/samples/readme.md b/crates/samples/readme.md index 60d49651994..8e1d3399c86 100644 --- a/crates/samples/readme.md +++ b/crates/samples/readme.md @@ -1,8 +1,6 @@ Many of the samples were inspired or originally appeared in Kenny's [articles](https://kennykerr.ca/articles/) and [courses on Pluralsight](https://kennykerr.ca/courses/). -The samples in the repo compile with the latest, usually pre-release, version of the `windows` or `windows-sys` crate. +The samples in the repo compile with the latest, usually pre-release, versions of the various `windows-*` crates. To find the samples for a particular release you can use a specific release tag. For example: -https://github.com/microsoft/windows-rs/tree/0.48.0/crates/samples - -That will give you the samples that compile with version 0.48.0 of the `windows` and `windows-sys` crates. +https://github.com/microsoft/windows-rs/tree/0.60.0/crates/samples diff --git a/crates/targets/aarch64_gnullvm/Cargo.toml b/crates/targets/aarch64_gnullvm/Cargo.toml index 0dfcf6c50ce..4d15c643afa 100644 --- a/crates/targets/aarch64_gnullvm/Cargo.toml +++ b/crates/targets/aarch64_gnullvm/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "windows_aarch64_gnullvm" -version = "0.52.6" +version = "0.53.0" authors = ["Microsoft"] edition = "2021" -rust-version = "1.56" +rust-version = "1.60" license = "MIT OR Apache-2.0" description = "Import lib for Windows" repository = "https://github.com/microsoft/windows-rs" diff --git a/crates/targets/aarch64_gnullvm/lib/libwindows.0.52.0.a b/crates/targets/aarch64_gnullvm/lib/libwindows.0.53.0.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.53.0.a diff --git a/crates/targets/aarch64_msvc/Cargo.toml b/crates/targets/aarch64_msvc/Cargo.toml index e9f30ea1280..a6a8733aaf5 100644 --- a/crates/targets/aarch64_msvc/Cargo.toml +++ b/crates/targets/aarch64_msvc/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "windows_aarch64_msvc" -version = "0.52.6" +version = "0.53.0" authors = ["Microsoft"] edition = "2021" -rust-version = "1.56" +rust-version = "1.60" license = "MIT OR Apache-2.0" description = "Import lib for Windows" repository = "https://github.com/microsoft/windows-rs" diff --git a/crates/targets/aarch64_msvc/lib/windows.0.52.0.lib b/crates/targets/aarch64_msvc/lib/windows.0.53.0.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.53.0.lib diff --git a/crates/targets/i686_gnu/Cargo.toml b/crates/targets/i686_gnu/Cargo.toml index 56b5e090b08..22912fac72c 100644 --- a/crates/targets/i686_gnu/Cargo.toml +++ b/crates/targets/i686_gnu/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "windows_i686_gnu" -version = "0.52.6" +version = "0.53.0" authors = ["Microsoft"] edition = "2021" -rust-version = "1.56" +rust-version = "1.60" license = "MIT OR Apache-2.0" description = "Import lib for Windows" repository = "https://github.com/microsoft/windows-rs" diff --git a/crates/targets/i686_gnu/lib/libwindows.0.52.0.a b/crates/targets/i686_gnu/lib/libwindows.0.53.0.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.53.0.a diff --git a/crates/targets/i686_gnullvm/Cargo.toml b/crates/targets/i686_gnullvm/Cargo.toml index 39f48c18b9c..12ea83462b9 100644 --- a/crates/targets/i686_gnullvm/Cargo.toml +++ b/crates/targets/i686_gnullvm/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "windows_i686_gnullvm" -version = "0.52.6" +version = "0.53.0" authors = ["Microsoft"] edition = "2021" -rust-version = "1.56" +rust-version = "1.60" license = "MIT OR Apache-2.0" description = "Import lib for Windows" repository = "https://github.com/microsoft/windows-rs" diff --git a/crates/targets/i686_gnullvm/lib/libwindows.0.52.0.a b/crates/targets/i686_gnullvm/lib/libwindows.0.53.0.a similarity index 100% rename from crates/targets/i686_gnullvm/lib/libwindows.0.52.0.a rename to crates/targets/i686_gnullvm/lib/libwindows.0.53.0.a diff --git a/crates/targets/i686_msvc/Cargo.toml b/crates/targets/i686_msvc/Cargo.toml index 02174371c86..c177f8f5350 100644 --- a/crates/targets/i686_msvc/Cargo.toml +++ b/crates/targets/i686_msvc/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "windows_i686_msvc" -version = "0.52.6" +version = "0.53.0" authors = ["Microsoft"] edition = "2021" -rust-version = "1.56" +rust-version = "1.60" license = "MIT OR Apache-2.0" description = "Import lib for Windows" repository = "https://github.com/microsoft/windows-rs" diff --git a/crates/targets/i686_msvc/lib/windows.0.52.0.lib b/crates/targets/i686_msvc/lib/windows.0.53.0.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.53.0.lib diff --git a/crates/targets/x86_64_gnu/Cargo.toml b/crates/targets/x86_64_gnu/Cargo.toml index 9faebe627ac..3947f9b878f 100644 --- a/crates/targets/x86_64_gnu/Cargo.toml +++ b/crates/targets/x86_64_gnu/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "windows_x86_64_gnu" -version = "0.52.6" +version = "0.53.0" authors = ["Microsoft"] edition = "2021" -rust-version = "1.56" +rust-version = "1.60" license = "MIT OR Apache-2.0" description = "Import lib for Windows" repository = "https://github.com/microsoft/windows-rs" diff --git a/crates/targets/x86_64_gnu/lib/libwindows.0.52.0.a b/crates/targets/x86_64_gnu/lib/libwindows.0.53.0.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.53.0.a diff --git a/crates/targets/x86_64_gnullvm/Cargo.toml b/crates/targets/x86_64_gnullvm/Cargo.toml index e007fb9a273..6a64f229f9a 100644 --- a/crates/targets/x86_64_gnullvm/Cargo.toml +++ b/crates/targets/x86_64_gnullvm/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "windows_x86_64_gnullvm" -version = "0.52.6" +version = "0.53.0" authors = ["Microsoft"] edition = "2021" -rust-version = "1.56" +rust-version = "1.60" license = "MIT OR Apache-2.0" description = "Import lib for Windows" repository = "https://github.com/microsoft/windows-rs" diff --git a/crates/targets/x86_64_gnullvm/lib/libwindows.0.52.0.a b/crates/targets/x86_64_gnullvm/lib/libwindows.0.53.0.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.53.0.a diff --git a/crates/targets/x86_64_msvc/Cargo.toml b/crates/targets/x86_64_msvc/Cargo.toml index 037c603396b..853e09938d9 100644 --- a/crates/targets/x86_64_msvc/Cargo.toml +++ b/crates/targets/x86_64_msvc/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "windows_x86_64_msvc" -version = "0.52.6" +version = "0.53.0" authors = ["Microsoft"] edition = "2021" -rust-version = "1.56" +rust-version = "1.60" license = "MIT OR Apache-2.0" description = "Import lib for Windows" repository = "https://github.com/microsoft/windows-rs" diff --git a/crates/targets/x86_64_msvc/lib/windows.0.52.0.lib b/crates/targets/x86_64_msvc/lib/windows.0.53.0.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.53.0.lib diff --git a/crates/tests/bindgen/src/comment.rs b/crates/tests/bindgen/src/comment.rs index 626fd5c8ba6..84d35a64334 100644 --- a/crates/tests/bindgen/src/comment.rs +++ b/crates/tests/bindgen/src/comment.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.58.0 +// Bindings generated by `windows-bindgen` 0.59.0 #![allow( non_snake_case, diff --git a/crates/tests/bindgen/src/comment_no_allow.rs b/crates/tests/bindgen/src/comment_no_allow.rs index b8ccf46135f..e176edc2de4 100644 --- a/crates/tests/bindgen/src/comment_no_allow.rs +++ b/crates/tests/bindgen/src/comment_no_allow.rs @@ -1,3 +1,3 @@ -// Bindings generated by `windows-bindgen` 0.58.0 +// Bindings generated by `windows-bindgen` 0.59.0 windows_targets::link!("kernel32.dll" "system" fn GetTickCount() -> u32); diff --git a/crates/tests/misc/targets/tests/files.rs b/crates/tests/misc/targets/tests/files.rs index a00ed98c2e5..39e65381eb1 100644 --- a/crates/tests/misc/targets/tests/files.rs +++ b/crates/tests/misc/targets/tests/files.rs @@ -5,16 +5,16 @@ fn test() { let targets = helpers::crates("../../../targets"); assert_eq!(8, targets.len()); - assert!(targets.iter().all(|(_, version)| version == "0.52.6")); + assert!(targets.iter().all(|(_, version)| version == "0.53.0")); // The lib names can't change for minor (semver) updates as that breaks linker search. // https://github.com/microsoft/windows-rs/issues/2869 - 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_gnullvm/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.53.0.a"); + std::include_bytes!("../../../../targets/aarch64_msvc/lib/windows.0.53.0.lib"); + std::include_bytes!("../../../../targets/i686_gnu/lib/libwindows.0.53.0.a"); + std::include_bytes!("../../../../targets/i686_gnullvm/lib/libwindows.0.53.0.a"); + std::include_bytes!("../../../../targets/i686_msvc/lib/windows.0.53.0.lib"); + std::include_bytes!("../../../../targets/x86_64_gnu/lib/libwindows.0.53.0.a"); + std::include_bytes!("../../../../targets/x86_64_gnullvm/lib/libwindows.0.53.0.a"); + std::include_bytes!("../../../../targets/x86_64_msvc/lib/windows.0.53.0.lib"); } diff --git a/crates/tests/misc/targets/tests/link.rs b/crates/tests/misc/targets/tests/link.rs index f306992a66c..9c8b928c7e9 100644 --- a/crates/tests/misc/targets/tests/link.rs +++ b/crates/tests/misc/targets/tests/link.rs @@ -24,8 +24,8 @@ fn link_name() { #[test] fn doc() { - windows_targets::link!("kernel32.dll" "system" "SetLastError" #[doc = "SetLastError"] fn SetLastError(code: u32) -> ()); - windows_targets::link!("kernel32.dll" "system" #[doc = "GetLastError"] fn GetLastError() -> u32); + windows_targets::link!("kernel32.dll" "system" "SetLastError" fn SetLastError(code: u32) -> ()); + windows_targets::link!("kernel32.dll" "system" fn GetLastError() -> u32); unsafe { SetLastError(1234); diff --git a/crates/tests/winrt/noexcept/src/bindings.rs b/crates/tests/winrt/noexcept/src/bindings.rs index 303514a33dc..931406f19e7 100644 --- a/crates/tests/winrt/noexcept/src/bindings.rs +++ b/crates/tests/winrt/noexcept/src/bindings.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.58.0 +// Bindings generated by `windows-bindgen` 0.59.0 #![allow( non_snake_case, diff --git a/crates/tests/winrt/ref_params/src/bindings.rs b/crates/tests/winrt/ref_params/src/bindings.rs index 845e779dd11..4822089599f 100644 --- a/crates/tests/winrt/ref_params/src/bindings.rs +++ b/crates/tests/winrt/ref_params/src/bindings.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.58.0 +// Bindings generated by `windows-bindgen` 0.59.0 #![allow( non_snake_case, diff --git a/crates/tools/gnu/Cargo.toml b/crates/tools/gnu/Cargo.toml index b91abdb30ba..e9def0127ba 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.53.0" edition = "2021" publish = false diff --git a/crates/tools/msvc/Cargo.toml b/crates/tools/msvc/Cargo.toml index e1c995654e3..5e5501ec4ff 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.53.0" edition = "2021" publish = false diff --git a/docs/readme.md b/docs/readme.md index 87e8e227b1d..94448ffaad5 100644 --- a/docs/readme.md +++ b/docs/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/master/crates/samples) +* [Samples](https://github.com/microsoft/windows-rs/tree/master/crates/samples) * [Releases](https://github.com/microsoft/windows-rs/releases) -* [Feature search](https://microsoft.github.io/windows-rs/features/#/master) +* [Feature search](https://microsoft.github.io/windows-rs/features) This repo is the home of the following crates (and other supporting crates): @@ -20,5 +20,4 @@ This repo is the home of the following crates (and other supporting crates): * [windows-sys](https://crates.io/crates/windows-sys) - Raw bindings for C-style Windows APIs. * [windows-targets](https://crates.io/crates/windows-targets) - Import libs for Windows. * [windows-version](https://crates.io/crates/windows-version) - Windows version information. - * [cppwinrt](https://crates.io/crates/cppwinrt) - Bundles the C++/WinRT compiler for use in Rust. diff --git a/web/features/.env b/web/features/.env index 8acbc005999..8841af2fc3e 100644 --- a/web/features/.env +++ b/web/features/.env @@ -1,2 +1,2 @@ BROWSER=none -REACT_APP_BRANCHES=0.59.0,0.58.0,0.57.0,0.56.0,0.54.0,0.53.0,master +REACT_APP_BRANCHES=0.61.0,0.60.0,0.59.0,0.58.0,0.57.0,0.56.0,0.54.0,0.53.0,master