Skip to content

Commit

Permalink
Release 0.58.0 (#3140)
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr authored Jul 3, 2024
1 parent ab03721 commit db06b51
Show file tree
Hide file tree
Showing 41 changed files with 69 additions and 68 deletions.
4 changes: 2 additions & 2 deletions crates/libs/bindgen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "windows-bindgen"
version = "0.57.0"
version = "0.58.0"
authors = ["Microsoft"]
edition = "2021"
rust-version = "1.70"
Expand All @@ -21,7 +21,7 @@ default = ["metadata"]
metadata = []

[dependencies]
windows-metadata = { path = "../metadata", version = "0.57.0" }
windows-metadata = { path = "../metadata", version = "0.58.0" }
rayon = "1.7"

[dependencies.syn]
Expand Down
4 changes: 2 additions & 2 deletions crates/libs/bindgen/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
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.57.0/crates/samples)
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/crates/samples)
* [Releases](https://github.com/microsoft/windows-rs/releases)

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

[dev-dependencies.windows-bindgen]
version = "0.57"
version = "0.58"
```

Generates Rust bindings in a build script or test as needed:
Expand Down
10 changes: 5 additions & 5 deletions crates/libs/core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "windows-core"
version = "0.57.0"
version = "0.58.0"
authors = ["Microsoft"]
edition = "2021"
rust-version = "1.70"
Expand All @@ -18,20 +18,20 @@ default-target = "x86_64-pc-windows-msvc"
targets = []

[dependencies.windows-targets]
version = "0.52.5"
version = "0.52.6"
path = "../targets"

[dependencies.windows-result]
version = "0.1.1"
version = "0.2.0"
path = "../result"

[dependencies.windows-strings]
version = "0.1.0"
path = "../strings"

[dependencies]
windows-implement = { path = "../implement", version = "0.57.0" }
windows-interface = { path = "../interface", version = "0.57.0" }
windows-implement = { path = "../implement", version = "0.58.0" }
windows-interface = { path = "../interface", version = "0.58.0" }

[features]
default = ["std"]
Expand Down
4 changes: 2 additions & 2 deletions crates/libs/core/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
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.57.0/crates/samples)
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/crates/samples)
* [Releases](https://github.com/microsoft/windows-rs/releases)

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

```toml
[dependencies.windows]
version = "0.57"
version = "0.58"
features = [
"Data_Xml_Dom",
"Win32_Foundation",
Expand Down
2 changes: 1 addition & 1 deletion crates/libs/cppwinrt/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.57.0/crates/samples)
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/crates/samples)
* [Releases](https://github.com/microsoft/windows-rs/releases)

Start by adding the following to your Cargo.toml file:
Expand Down
2 changes: 1 addition & 1 deletion crates/libs/implement/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "windows-implement"
version = "0.57.0"
version = "0.58.0"
authors = ["Microsoft"]
edition = "2021"
rust-version = "1.70"
Expand Down
2 changes: 1 addition & 1 deletion crates/libs/interface/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "windows-interface"
version = "0.57.0"
version = "0.58.0"
authors = ["Microsoft"]
edition = "2021"
rust-version = "1.70"
Expand Down
2 changes: 1 addition & 1 deletion crates/libs/metadata/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "windows-metadata"
version = "0.57.0"
version = "0.58.0"
authors = ["Microsoft"]
edition = "2021"
rust-version = "1.70"
Expand Down
4 changes: 2 additions & 2 deletions crates/libs/metadata/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
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.57.0/crates/samples)
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/crates/samples)
* [Releases](https://github.com/microsoft/windows-rs/releases)

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

```toml
[dependencies.windows-metadata]
version = "0.57"
version = "0.58"
```

Read metadata as needed:
Expand Down
4 changes: 2 additions & 2 deletions crates/libs/registry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ default-target = "x86_64-pc-windows-msvc"
targets = []

[dependencies.windows-targets]
version = "0.52.5"
version = "0.52.6"
path = "../targets"

[dependencies.windows-result]
version = "0.1.1"
version = "0.2.0"
path = "../result"

[dependencies.windows-strings]
Expand Down
4 changes: 2 additions & 2 deletions crates/libs/registry/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
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.57.0/crates/samples)
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/crates/samples)
* [Releases](https://github.com/microsoft/windows-rs/releases)

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

```toml
[dependencies.windows-registry]
version = "0.1"
version = "0.2"
```

Read and write registry keys and values as needed:
Expand Down
4 changes: 2 additions & 2 deletions crates/libs/result/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "windows-result"
version = "0.1.2"
version = "0.2.0"
authors = ["Microsoft"]
edition = "2021"
rust-version = "1.60"
Expand All @@ -22,5 +22,5 @@ default-target = "x86_64-pc-windows-msvc"
targets = []

[dependencies.windows-targets]
version = "0.52.5"
version = "0.52.6"
path = "../targets"
4 changes: 2 additions & 2 deletions crates/libs/result/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
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.57.0/crates/samples)
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.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"
version = "0.2"
```

Use the `HRESULT`, `Error`, and specialized `Result` types as needed:
Expand Down
4 changes: 2 additions & 2 deletions crates/libs/strings/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ default-target = "x86_64-pc-windows-msvc"
targets = []

[dependencies.windows-targets]
version = "0.52.5"
version = "0.52.6"
path = "../targets"

[dependencies.windows-result]
version = "0.1.1"
version = "0.2.0"
path = "../result"
default-features = false

Expand Down
2 changes: 1 addition & 1 deletion crates/libs/strings/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.57.0/crates/samples)
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/crates/samples)
* [Releases](https://github.com/microsoft/windows-rs/releases)

Start by adding the following to your Cargo.toml file:
Expand Down
2 changes: 1 addition & 1 deletion crates/libs/sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ targets = []
all-features = true

[dependencies.windows-targets]
version = "0.52.5"
version = "0.52.6"
path = "../targets"

[features]
Expand Down
6 changes: 3 additions & 3 deletions crates/libs/sys/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.57.0/crates/samples)
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/crates/samples)
* [Releases](https://github.com/microsoft/windows-rs/releases)
* [Feature search](https://microsoft.github.io/windows-rs/features/#/0.57.0)
* [Feature search](https://microsoft.github.io/windows-rs/features/#/0.58.0)

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

```toml
[dependencies.windows]
version = "0.57.0"
version = "0.58.0"
features = [
"Data_Xml_Dom",
"Win32_Foundation",
Expand Down
2 changes: 1 addition & 1 deletion crates/libs/sys/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
Learn more about Rust for Windows here: <https://github.com/microsoft/windows-rs>
[Feature search](https://microsoft.github.io/windows-rs/features/#/0.57.0)
[Feature search](https://microsoft.github.io/windows-rs/features/#/0.58.0)
*/

#![no_std]
Expand Down
18 changes: 9 additions & 9 deletions crates/libs/targets/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[package]
name = "windows-targets"
version = "0.52.5"
version = "0.52.6"
authors = ["Microsoft"]
edition = "2021"
rust-version = "1.56"
Expand All @@ -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.5" }
windows_i686_msvc = { path = "../../targets/i686_msvc", version = "0.52.6" }

[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.5" }
windows_x86_64_msvc = { path = "../../targets/x86_64_msvc", version = "0.52.6" }

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

[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.5" }
windows_i686_gnu = { path = "../../targets/i686_gnu", version = "0.52.6" }

[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.5" }
windows_x86_64_gnu = { path = "../../targets/x86_64_gnu", version = "0.52.6" }

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

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

[target.aarch64-pc-windows-gnullvm.dependencies]
windows_aarch64_gnullvm = { path = "../../targets/aarch64_gnullvm", version = "0.52.5" }
windows_aarch64_gnullvm = { path = "../../targets/aarch64_gnullvm", version = "0.52.6" }
2 changes: 1 addition & 1 deletion crates/libs/targets/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.57.0/crates/samples)
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/crates/samples)
* [Releases](https://github.com/microsoft/windows-rs/releases)

Start by adding the following to your Cargo.toml file:
Expand Down
2 changes: 1 addition & 1 deletion crates/libs/version/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ default-target = "x86_64-pc-windows-msvc"
targets = []

[dependencies.windows-targets]
version = "0.52.5"
version = "0.52.6"
path = "../targets"
2 changes: 1 addition & 1 deletion crates/libs/version/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.57.0/crates/samples)
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/crates/samples)
* [Releases](https://github.com/microsoft/windows-rs/releases)

Start by adding the following to your Cargo.toml file:
Expand Down
6 changes: 3 additions & 3 deletions crates/libs/windows/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[package]
name = "windows"
version = "0.57.0"
version = "0.58.0"
authors = ["Microsoft"]
edition = "2021"
rust-version = "1.70"
Expand All @@ -27,8 +27,8 @@ targets = []
rustdoc-args = ["--cfg", "docsrs"]

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

[features]
default = ["std"]
Expand Down
6 changes: 3 additions & 3 deletions crates/libs/windows/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.57.0/crates/samples)
* [Samples](https://github.com/microsoft/windows-rs/tree/0.58.0/crates/samples)
* [Releases](https://github.com/microsoft/windows-rs/releases)
* [Feature search](https://microsoft.github.io/windows-rs/features/#/0.57.0)
* [Feature search](https://microsoft.github.io/windows-rs/features/#/0.58.0)

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

```toml
[dependencies.windows]
version = "0.57.0"
version = "0.58.0"
features = [
"Data_Xml_Dom",
"Win32_Foundation",
Expand Down
2 changes: 1 addition & 1 deletion crates/libs/windows/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*!
Learn more about Rust for Windows here: <https://github.com/microsoft/windows-rs>
[Feature search](https://microsoft.github.io/windows-rs/features/#/0.57.0)
[Feature search](https://microsoft.github.io/windows-rs/features/#/0.58.0)
*/

#![cfg(windows)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Bindings generated by `windows-bindgen` 0.57.0
// Bindings generated by `windows-bindgen` 0.58.0

#![allow(
non_snake_case,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Bindings generated by `windows-bindgen` 0.57.0
// Bindings generated by `windows-bindgen` 0.58.0

#![allow(
non_snake_case,
Expand Down
2 changes: 1 addition & 1 deletion crates/targets/aarch64_gnullvm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "windows_aarch64_gnullvm"
version = "0.52.5"
version = "0.52.6"
authors = ["Microsoft"]
edition = "2021"
rust-version = "1.56"
Expand Down
Loading

0 comments on commit db06b51

Please sign in to comment.