Skip to content

Commit db06b51

Browse files
authored
Release 0.58.0 (#3140)
1 parent ab03721 commit db06b51

File tree

41 files changed

+69
-68
lines changed

Some content is hidden

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

41 files changed

+69
-68
lines changed

crates/libs/bindgen/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-bindgen"
3-
version = "0.57.0"
3+
version = "0.58.0"
44
authors = ["Microsoft"]
55
edition = "2021"
66
rust-version = "1.70"
@@ -21,7 +21,7 @@ default = ["metadata"]
2121
metadata = []
2222

2323
[dependencies]
24-
windows-metadata = { path = "../metadata", version = "0.57.0" }
24+
windows-metadata = { path = "../metadata", version = "0.58.0" }
2525
rayon = "1.7"
2626

2727
[dependencies.syn]

crates/libs/bindgen/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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.57.0/crates/samples)
6+
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/crates/samples)
77
* [Releases](https://github.com/microsoft/windows-rs/releases)
88

99
Start by adding the following to your Cargo.toml file:
@@ -13,7 +13,7 @@ Start by adding the following to your Cargo.toml file:
1313
version = "0.52"
1414

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

1919
Generates Rust bindings in a build script or test as needed:

crates/libs/core/Cargo.toml

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

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

2424
[dependencies.windows-result]
25-
version = "0.1.1"
25+
version = "0.2.0"
2626
path = "../result"
2727

2828
[dependencies.windows-strings]
2929
version = "0.1.0"
3030
path = "../strings"
3131

3232
[dependencies]
33-
windows-implement = { path = "../implement", version = "0.57.0" }
34-
windows-interface = { path = "../interface", version = "0.57.0" }
33+
windows-implement = { path = "../implement", version = "0.58.0" }
34+
windows-interface = { path = "../interface", version = "0.58.0" }
3535

3636
[features]
3737
default = ["std"]

crates/libs/core/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
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.57.0/crates/samples)
6+
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/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]
13-
version = "0.57"
13+
version = "0.58"
1414
features = [
1515
"Data_Xml_Dom",
1616
"Win32_Foundation",

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.57.0/crates/samples)
6+
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/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.57.0"
3+
version = "0.58.0"
44
authors = ["Microsoft"]
55
edition = "2021"
66
rust-version = "1.70"

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.57.0"
3+
version = "0.58.0"
44
authors = ["Microsoft"]
55
edition = "2021"
66
rust-version = "1.70"

crates/libs/metadata/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-metadata"
3-
version = "0.57.0"
3+
version = "0.58.0"
44
authors = ["Microsoft"]
55
edition = "2021"
66
rust-version = "1.70"

crates/libs/metadata/readme.md

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

55
* [Getting started](https://kennykerr.ca/rust-getting-started/)
6-
* [Samples](https://github.com/microsoft/windows-rs/tree/0.57.0/crates/samples)
6+
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/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-metadata]
13-
version = "0.57"
13+
version = "0.58"
1414
```
1515

1616
Read metadata as needed:

crates/libs/registry/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ default-target = "x86_64-pc-windows-msvc"
1818
targets = []
1919

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

2424
[dependencies.windows-result]
25-
version = "0.1.1"
25+
version = "0.2.0"
2626
path = "../result"
2727

2828
[dependencies.windows-strings]

crates/libs/registry/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
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.57.0/crates/samples)
6+
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/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-registry]
13-
version = "0.1"
13+
version = "0.2"
1414
```
1515

1616
Read and write registry keys and values as needed:

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.1.2"
3+
version = "0.2.0"
44
authors = ["Microsoft"]
55
edition = "2021"
66
rust-version = "1.60"
@@ -22,5 +22,5 @@ default-target = "x86_64-pc-windows-msvc"
2222
targets = []
2323

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

crates/libs/result/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
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.57.0/crates/samples)
6+
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/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-result]
13-
version = "0.1"
13+
version = "0.2"
1414
```
1515

1616
Use the `HRESULT`, `Error`, and specialized `Result` types as needed:

crates/libs/strings/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ default-target = "x86_64-pc-windows-msvc"
1818
targets = []
1919

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

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

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.57.0/crates/samples)
6+
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/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.5"
28+
version = "0.52.6"
2929
path = "../targets"
3030

3131
[features]

crates/libs/sys/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.57.0/crates/samples)
6+
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/crates/samples)
77
* [Releases](https://github.com/microsoft/windows-rs/releases)
8-
* [Feature search](https://microsoft.github.io/windows-rs/features/#/0.57.0)
8+
* [Feature search](https://microsoft.github.io/windows-rs/features/#/0.58.0)
99

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

1212
```toml
1313
[dependencies.windows]
14-
version = "0.57.0"
14+
version = "0.58.0"
1515
features = [
1616
"Data_Xml_Dom",
1717
"Win32_Foundation",

crates/libs/sys/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
Learn more about Rust for Windows here: <https://github.com/microsoft/windows-rs>
33
4-
[Feature search](https://microsoft.github.io/windows-rs/features/#/0.57.0)
4+
[Feature search](https://microsoft.github.io/windows-rs/features/#/0.58.0)
55
*/
66

77
#![no_std]

crates/libs/targets/Cargo.toml

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

22
[package]
33
name = "windows-targets"
4-
version = "0.52.5"
4+
version = "0.52.6"
55
authors = ["Microsoft"]
66
edition = "2021"
77
rust-version = "1.56"
@@ -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.5" }
17+
windows_i686_msvc = { path = "../../targets/i686_msvc", version = "0.52.6" }
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.5" }
20+
windows_x86_64_msvc = { path = "../../targets/x86_64_msvc", version = "0.52.6" }
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.5" }
23+
windows_aarch64_msvc = { path = "../../targets/aarch64_msvc", version = "0.52.6" }
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.5" }
26+
windows_i686_gnu = { path = "../../targets/i686_gnu", version = "0.52.6" }
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.5" }
29+
windows_x86_64_gnu = { path = "../../targets/x86_64_gnu", version = "0.52.6" }
3030

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

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

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

crates/libs/targets/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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.57.0/crates/samples)
6+
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/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/version/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ default-target = "x86_64-pc-windows-msvc"
1818
targets = []
1919

2020
[dependencies.windows-targets]
21-
version = "0.52.5"
21+
version = "0.52.6"
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.57.0/crates/samples)
6+
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/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.57.0"
4+
version = "0.58.0"
55
authors = ["Microsoft"]
66
edition = "2021"
77
rust-version = "1.70"
@@ -27,8 +27,8 @@ targets = []
2727
rustdoc-args = ["--cfg", "docsrs"]
2828

2929
[dependencies]
30-
windows-core = { path = "../core", version = "0.57.0" }
31-
windows-targets = { path = "../targets", version = "0.52.5" }
30+
windows-core = { path = "../core", version = "0.58.0" }
31+
windows-targets = { path = "../targets", version = "0.52.6" }
3232

3333
[features]
3434
default = ["std"]

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.57.0/crates/samples)
6+
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/crates/samples)
77
* [Releases](https://github.com/microsoft/windows-rs/releases)
8-
* [Feature search](https://microsoft.github.io/windows-rs/features/#/0.57.0)
8+
* [Feature search](https://microsoft.github.io/windows-rs/features/#/0.58.0)
99

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

1212
```toml
1313
[dependencies.windows]
14-
version = "0.57.0"
14+
version = "0.58.0"
1515
features = [
1616
"Data_Xml_Dom",
1717
"Win32_Foundation",

crates/libs/windows/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*!
44
Learn more about Rust for Windows here: <https://github.com/microsoft/windows-rs>
55
6-
[Feature search](https://microsoft.github.io/windows-rs/features/#/0.57.0)
6+
[Feature search](https://microsoft.github.io/windows-rs/features/#/0.58.0)
77
*/
88

99
#![cfg(windows)]

crates/samples/components/json_validator_winrt/src/bindings.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Bindings generated by `windows-bindgen` 0.57.0
1+
// Bindings generated by `windows-bindgen` 0.58.0
22

33
#![allow(
44
non_snake_case,

crates/samples/components/json_validator_winrt_client/src/bindings.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Bindings generated by `windows-bindgen` 0.57.0
1+
// Bindings generated by `windows-bindgen` 0.58.0
22

33
#![allow(
44
non_snake_case,

crates/targets/aarch64_gnullvm/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_aarch64_gnullvm"
3-
version = "0.52.5"
3+
version = "0.52.6"
44
authors = ["Microsoft"]
55
edition = "2021"
66
rust-version = "1.56"

0 commit comments

Comments
 (0)