Skip to content

Commit 5888c8c

Browse files
authored
Release 0.61.0 (#3418)
1 parent 9911fee commit 5888c8c

File tree

54 files changed

+97
-100
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+97
-100
lines changed

.github/workflows/lib.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
foreach($Test in $Tests) {
8181
$Target = $Test.Item1
8282
$Magic = $Test.Item2
83-
$Output = [string](& $DumpbinPath /headers crates/targets/$Target/lib/windows.0.52.0.lib)
83+
$Output = [string](& $DumpbinPath /headers crates/targets/$Target/lib/windows.0.53.0.lib)
8484
if($Output -match "Machine\s*: $Magic" -ne $True) {
8585
Write-Error "Import lib check failed for $Target ($Magic)."
8686
Exit 1

crates/libs/bindgen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "windows-bindgen"
3-
version = "0.58.0"
3+
version = "0.59.0"
44
edition = "2021"
55
rust-version = "1.74"
66
license = "MIT OR Apache-2.0"

crates/libs/bindgen/readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
The [windows-bindgen](https://crates.io/crates/windows-bindgen) crate automatically generates Rust bindings from Windows metadata.
44

55
* [Getting started](https://kennykerr.ca/rust-getting-started/)
6-
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/crates/samples)
6+
* [Samples](https://github.com/microsoft/windows-rs/tree/master/crates/samples)
77
* [Releases](https://github.com/microsoft/windows-rs/releases)
88

99
Start by adding the following to your Cargo.toml file:
1010

1111
```toml
1212
[dependencies.windows-targets]
13-
version = "0.52"
13+
version = "0.53"
1414

1515
[dev-dependencies.windows-bindgen]
16-
version = "0.58"
16+
version = "0.59"
1717
```
1818

1919
Generate Rust bindings in a build script as follows:

crates/libs/core/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "windows-core"
3-
version = "0.58.0"
3+
version = "0.59.0"
44
authors = ["Microsoft"]
55
edition = "2021"
66
rust-version = "1.74"
@@ -18,22 +18,22 @@ default-target = "x86_64-pc-windows-msvc"
1818
targets = []
1919

2020
[dependencies.windows-targets]
21-
version = "0.52.6"
21+
version = "0.53.0"
2222
path = "../targets"
2323

2424
[dependencies.windows-result]
25-
version = "0.2.0"
25+
version = "0.3.0"
2626
path = "../result"
2727
default-features = false
2828

2929
[dependencies.windows-strings]
30-
version = "0.2.0"
30+
version = "0.3.0"
3131
path = "../strings"
3232
default-features = false
3333

3434
[dependencies]
35-
windows-implement = { path = "../implement", version = "0.58.0" }
36-
windows-interface = { path = "../interface", version = "0.58.0" }
35+
windows-implement = { path = "../implement", version = "0.59.0" }
36+
windows-interface = { path = "../interface", version = "0.59.0" }
3737

3838
[features]
3939
default = ["std"]

crates/libs/core/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
Core primitives for the [windows](https://crates.io/crates/windows) crate.
44

55
* [Getting started](https://kennykerr.ca/rust-getting-started/)
6-
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/crates/samples)
6+
* [Samples](https://github.com/microsoft/windows-rs/tree/master/crates/samples)
77
* [Releases](https://github.com/microsoft/windows-rs/releases)

crates/libs/cppwinrt/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cppwinrt"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
authors = ["Microsoft"]
55
edition = "2021"
66
rust-version = "1.74"

crates/libs/cppwinrt/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The [cppwinrt](https://crates.io/crates/cppwinrt) crate bundles the C++/WinRT compiler for use in Rust.
44

55
* [Getting started](https://kennykerr.ca/rust-getting-started/)
6-
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/crates/samples)
6+
* [Samples](https://github.com/microsoft/windows-rs/tree/master/crates/samples)
77
* [Releases](https://github.com/microsoft/windows-rs/releases)
88

99
Start by adding the following to your Cargo.toml file:

crates/libs/implement/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "windows-implement"
3-
version = "0.58.0"
3+
version = "0.59.0"
44
authors = ["Microsoft"]
55
edition = "2021"
66
rust-version = "1.74"

crates/libs/interface/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "windows-interface"
3-
version = "0.58.0"
3+
version = "0.59.0"
44
authors = ["Microsoft"]
55
edition = "2021"
66
rust-version = "1.74"

crates/libs/registry/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "windows-registry"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
authors = ["Microsoft"]
55
edition = "2021"
66
rust-version = "1.74"
@@ -18,16 +18,16 @@ default-target = "x86_64-pc-windows-msvc"
1818
targets = []
1919

2020
[dependencies.windows-targets]
21-
version = "0.52.6"
21+
version = "0.53.0"
2222
path = "../targets"
2323

2424
[dependencies.windows-result]
25-
version = "0.2.0"
25+
version = "0.3.0"
2626
path = "../result"
2727
default-features = false
2828

2929
[dependencies.windows-strings]
30-
version = "0.2.0"
30+
version = "0.3.0"
3131
path = "../strings"
3232
default-features = false
3333

crates/libs/registry/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The [windows-registry](https://crates.io/crates/windows-registry) crate provides simple, safe, and efficient access to the Windows registry.
44

55
* [Getting started](https://kennykerr.ca/rust-getting-started/)
6-
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/crates/samples)
6+
* [Samples](https://github.com/microsoft/windows-rs/tree/master/crates/samples)
77
* [Releases](https://github.com/microsoft/windows-rs/releases)
88

99
Start by adding the following to your Cargo.toml file:

crates/libs/result/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "windows-result"
3-
version = "0.2.0"
3+
version = "0.3.0"
44
authors = ["Microsoft"]
55
edition = "2021"
66
rust-version = "1.74"
@@ -22,5 +22,5 @@ default-target = "x86_64-pc-windows-msvc"
2222
targets = []
2323

2424
[dependencies.windows-targets]
25-
version = "0.52.6"
25+
version = "0.53.0"
2626
path = "../targets"

crates/libs/result/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
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.
44

55
* [Getting started](https://kennykerr.ca/rust-getting-started/)
6-
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/crates/samples)
6+
* [Samples](https://github.com/microsoft/windows-rs/tree/master/crates/samples)
77
* [Releases](https://github.com/microsoft/windows-rs/releases)
88

99
Start by adding the following to your Cargo.toml file:

crates/libs/strings/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "windows-strings"
3-
version = "0.2.0"
3+
version = "0.3.0"
44
authors = ["Microsoft"]
55
edition = "2021"
66
rust-version = "1.74"
@@ -18,7 +18,7 @@ default-target = "x86_64-pc-windows-msvc"
1818
targets = []
1919

2020
[dependencies.windows-targets]
21-
version = "0.52.6"
21+
version = "0.53.0"
2222
path = "../targets"
2323

2424
[features]

crates/libs/strings/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The [windows-strings](https://crates.io/crates/windows-strings) crate provides common Windows string types used by various Windows APIs.
44

55
* [Getting started](https://kennykerr.ca/rust-getting-started/)
6-
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/crates/samples)
6+
* [Samples](https://github.com/microsoft/windows-rs/tree/master/crates/samples)
77
* [Releases](https://github.com/microsoft/windows-rs/releases)
88

99
Start by adding the following to your Cargo.toml file:

crates/libs/sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ targets = []
2525
all-features = true
2626

2727
[dependencies.windows-targets]
28-
version = "0.52.6"
28+
version = "0.53.0"
2929
path = "../targets"
3030

3131
[features]

crates/libs/sys/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
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.
44

55
- [Getting started](https://kennykerr.ca/rust-getting-started/)
6-
- [Samples](https://github.com/microsoft/windows-rs/tree/0.59.0/crates/samples)
6+
- [Samples](https://github.com/microsoft/windows-rs/tree/master/crates/samples)
77
- [Releases](https://github.com/microsoft/windows-rs/releases)
8-
- [Feature search](https://microsoft.github.io/windows-rs/features/#/0.59.0)
8+
- [Feature search](https://microsoft.github.io/windows-rs/features)
99

1010
Start by adding the following to your Cargo.toml file:
1111

crates/libs/targets/Cargo.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11

22
[package]
33
name = "windows-targets"
4-
version = "0.52.6"
4+
version = "0.53.0"
55
authors = ["Microsoft"]
66
edition = "2021"
7-
rust-version = "1.56"
7+
rust-version = "1.60"
88
license = "MIT OR Apache-2.0"
99
description = "Import libs for Windows"
1010
repository = "https://github.com/microsoft/windows-rs"
@@ -14,25 +14,25 @@ readme = "readme.md"
1414
workspace = true
1515

1616
[target.'cfg(all(target_arch = "x86", target_env = "msvc", not(windows_raw_dylib)))'.dependencies]
17-
windows_i686_msvc = { path = "../../targets/i686_msvc", version = "0.52.6" }
17+
windows_i686_msvc = { path = "../../targets/i686_msvc", version = "0.53.0" }
1818

1919
[target.'cfg(all(any(target_arch = "x86_64", target_arch = "arm64ec"), target_env = "msvc", not(windows_raw_dylib)))'.dependencies]
20-
windows_x86_64_msvc = { path = "../../targets/x86_64_msvc", version = "0.52.6" }
20+
windows_x86_64_msvc = { path = "../../targets/x86_64_msvc", version = "0.53.0" }
2121

2222
[target.'cfg(all(target_arch = "aarch64", target_env = "msvc", not(windows_raw_dylib)))'.dependencies]
23-
windows_aarch64_msvc = { path = "../../targets/aarch64_msvc", version = "0.52.6" }
23+
windows_aarch64_msvc = { path = "../../targets/aarch64_msvc", version = "0.53.0" }
2424

2525
[target.'cfg(all(target_arch = "x86", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib)))'.dependencies]
26-
windows_i686_gnu = { path = "../../targets/i686_gnu", version = "0.52.6" }
26+
windows_i686_gnu = { path = "../../targets/i686_gnu", version = "0.53.0" }
2727

2828
[target.'cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib)))'.dependencies]
29-
windows_x86_64_gnu = { path = "../../targets/x86_64_gnu", version = "0.52.6" }
29+
windows_x86_64_gnu = { path = "../../targets/x86_64_gnu", version = "0.53.0" }
3030

3131
[target.i686-pc-windows-gnullvm.dependencies]
32-
windows_i686_gnullvm = { path = "../../targets/i686_gnullvm", version = "0.52.6" }
32+
windows_i686_gnullvm = { path = "../../targets/i686_gnullvm", version = "0.53.0" }
3333

3434
[target.x86_64-pc-windows-gnullvm.dependencies]
35-
windows_x86_64_gnullvm = { path = "../../targets/x86_64_gnullvm", version = "0.52.6" }
35+
windows_x86_64_gnullvm = { path = "../../targets/x86_64_gnullvm", version = "0.53.0" }
3636

3737
[target.aarch64-pc-windows-gnullvm.dependencies]
38-
windows_aarch64_gnullvm = { path = "../../targets/aarch64_gnullvm", version = "0.52.6" }
38+
windows_aarch64_gnullvm = { path = "../../targets/aarch64_gnullvm", version = "0.53.0" }

crates/libs/targets/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
The [windows-targets](https://crates.io/crates/windows-targets) crate includes import libs, supports semantic versioning, and optional support for raw-dylib.
44

55
* [Getting started](https://kennykerr.ca/rust-getting-started/)
6-
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/crates/samples)
6+
* [Samples](https://github.com/microsoft/windows-rs/tree/master/crates/samples)
77
* [Releases](https://github.com/microsoft/windows-rs/releases)
88
* [Understanding the `windows-targets` crate](https://kennykerr.ca/rust-getting-started/understanding-windows-targets.html)
99

1010
Start by adding the following to your Cargo.toml file:
1111

1212
```toml
1313
[dependencies.windows-targets]
14-
version = "0.52"
14+
version = "0.53"
1515
```
1616

1717
Use the `link` macro to define the external functions you wish to call:

crates/libs/targets/src/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#[cfg(all(windows_raw_dylib, target_arch = "x86"))]
66
#[macro_export]
77
macro_rules! link {
8-
($library:literal $abi:literal $($link_name:literal)? $(#[$doc:meta])? fn $($function:tt)*) => (
8+
($library:literal $abi:literal $($link_name:literal)? fn $($function:tt)*) => (
99
#[link(name = $library, kind = "raw-dylib", modifiers = "+verbatim", import_name_type = "undecorated")]
1010
extern $abi {
1111
$(#[link_name=$link_name])?
@@ -18,7 +18,7 @@ macro_rules! link {
1818
#[cfg(all(windows_raw_dylib, not(target_arch = "x86")))]
1919
#[macro_export]
2020
macro_rules! link {
21-
($library:literal $abi:literal $($link_name:literal)? $(#[$doc:meta])? fn $($function:tt)*) => (
21+
($library:literal $abi:literal $($link_name:literal)? fn $($function:tt)*) => (
2222
#[link(name = $library, kind = "raw-dylib", modifiers = "+verbatim")]
2323
extern "C" {
2424
$(#[link_name=$link_name])?
@@ -31,8 +31,8 @@ macro_rules! link {
3131
#[cfg(all(windows, not(windows_raw_dylib)))]
3232
#[macro_export]
3333
macro_rules! link {
34-
($library:literal $abi:literal $($link_name:literal)? $(#[$doc:meta])? fn $($function:tt)*) => (
35-
#[link(name = "windows.0.52.0")]
34+
($library:literal $abi:literal $($link_name:literal)? fn $($function:tt)*) => (
35+
#[link(name = "windows.0.53.0")]
3636
extern $abi {
3737
$(#[link_name=$link_name])?
3838
pub fn $($function)*;
@@ -44,7 +44,7 @@ macro_rules! link {
4444
#[cfg(all(not(windows), not(windows_raw_dylib)))]
4545
#[macro_export]
4646
macro_rules! link {
47-
($library:literal $abi:literal $($link_name:literal)? $(#[$doc:meta])? fn $($function:tt)*) => (
47+
($library:literal $abi:literal $($link_name:literal)? fn $($function:tt)*) => (
4848
extern $abi {
4949
pub fn $($function)*;
5050
}

crates/libs/version/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "windows-version"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
authors = ["Microsoft"]
55
edition = "2021"
66
rust-version = "1.74"
@@ -18,5 +18,5 @@ default-target = "x86_64-pc-windows-msvc"
1818
targets = []
1919

2020
[dependencies.windows-targets]
21-
version = "0.52.6"
21+
version = "0.53.0"
2222
path = "../targets"

crates/libs/version/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The [windows-version](https://crates.io/crates/windows-version) crate provides reliable operating system version information without the need for application manifest files.
44

55
- [Getting started](https://kennykerr.ca/rust-getting-started/)
6-
- [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/crates/samples)
6+
- [Samples](https://github.com/microsoft/windows-rs/tree/master/crates/samples)
77
- [Releases](https://github.com/microsoft/windows-rs/releases)
88

99
Start by adding the following to your Cargo.toml file:

crates/libs/windows/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
[package]
33
name = "windows"
4-
version = "0.58.0"
4+
version = "0.59.0"
55
authors = ["Microsoft"]
66
edition = "2021"
77
rust-version = "1.74"
@@ -27,12 +27,12 @@ targets = []
2727
rustdoc-args = ["--cfg", "docsrs"]
2828

2929
[dependencies.windows-core]
30-
version = "0.58.0"
30+
version = "0.59.0"
3131
path = "../core"
3232
default-features = false
3333

3434
[dependencies.windows-targets]
35-
version = "0.52.6"
35+
version = "0.53.0"
3636
path = "../targets"
3737

3838
[features]

crates/libs/windows/readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
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.
44

55
* [Getting started](https://kennykerr.ca/rust-getting-started/)
6-
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/crates/samples)
6+
* [Samples](https://github.com/microsoft/windows-rs/tree/master/crates/samples)
77
* [Releases](https://github.com/microsoft/windows-rs/releases)
8-
* [Feature search](https://microsoft.github.io/windows-rs/features/#/0.58.0)
8+
* [Feature search](https://microsoft.github.io/windows-rs/features)
99

1010
Start by adding the following to your Cargo.toml file:
1111

1212
```toml
1313
[dependencies.windows]
14-
version = "0.58"
14+
version = "0.59"
1515
features = [
1616
"Data_Xml_Dom",
1717
"Win32_Security",

0 commit comments

Comments
 (0)