Skip to content

Commit

Permalink
Version 0.47.0 (#2401)
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed Mar 28, 2023
1 parent f86349d commit e03d14e
Show file tree
Hide file tree
Showing 21 changed files with 45 additions and 45 deletions.
6 changes: 3 additions & 3 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.46.0"
version = "0.47.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand All @@ -13,5 +13,5 @@ default-target = "x86_64-pc-windows-msvc"
targets = []

[dependencies]
tokens = { package = "windows-tokens", path = "../tokens", version = "0.46.0" }
metadata = { package = "windows-metadata", path = "../metadata", version = "0.46.0" }
tokens = { package = "windows-tokens", path = "../tokens", version = "0.47.0" }
metadata = { package = "windows-metadata", path = "../metadata", version = "0.47.0" }
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.46.0"
version = "0.47.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
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.46.0"
version = "0.47.0"
edition = "2018"
authors = ["Microsoft"]
license = "MIT OR Apache-2.0"
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.46.0"
version = "0.47.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
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 @@ -17,7 +17,7 @@ targets = []
all-features = true

[target.'cfg(not(windows_raw_dylib))'.dependencies]
windows-targets = { path = "../targets", version = "0.42.2" }
windows-targets = { path = "../targets", version = "0.47.0" }

[features]
default = []
Expand Down
26 changes: 13 additions & 13 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.42.2"
version = "0.47.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand All @@ -10,37 +10,37 @@ repository = "https://github.com/microsoft/windows-rs"
readme = "../../../docs/readme.md"

[target.i686-pc-windows-msvc.dependencies]
windows_i686_msvc = { path = "../../targets/i686_msvc", version = "0.42.2" }
windows_i686_msvc = { path = "../../targets/i686_msvc", version = "0.47.0" }

[target.i686-uwp-windows-msvc.dependencies]
windows_i686_msvc = { path = "../../targets/i686_msvc", version = "0.42.2" }
windows_i686_msvc = { path = "../../targets/i686_msvc", version = "0.47.0" }

[target.x86_64-pc-windows-msvc.dependencies]
windows_x86_64_msvc = { path = "../../targets/x86_64_msvc", version = "0.42.2" }
windows_x86_64_msvc = { path = "../../targets/x86_64_msvc", version = "0.47.0" }

[target.x86_64-uwp-windows-msvc.dependencies]
windows_x86_64_msvc = { path = "../../targets/x86_64_msvc", version = "0.42.2" }
windows_x86_64_msvc = { path = "../../targets/x86_64_msvc", version = "0.47.0" }

[target.aarch64-pc-windows-msvc.dependencies]
windows_aarch64_msvc = { path = "../../targets/aarch64_msvc", version = "0.42.2" }
windows_aarch64_msvc = { path = "../../targets/aarch64_msvc", version = "0.47.0" }

[target.aarch64-uwp-windows-msvc.dependencies]
windows_aarch64_msvc = { path = "../../targets/aarch64_msvc", version = "0.42.2" }
windows_aarch64_msvc = { path = "../../targets/aarch64_msvc", version = "0.47.0" }

[target.aarch64-pc-windows-gnullvm.dependencies]
windows_aarch64_gnullvm = { path = "../../targets/aarch64_gnullvm", version = "0.42.2" }
windows_aarch64_gnullvm = { path = "../../targets/aarch64_gnullvm", version = "0.47.0" }

[target.i686-pc-windows-gnu.dependencies]
windows_i686_gnu = { path = "../../targets/i686_gnu", version = "0.42.2" }
windows_i686_gnu = { path = "../../targets/i686_gnu", version = "0.47.0" }

[target.i686-uwp-windows-gnu.dependencies]
windows_i686_gnu = { path = "../../targets/i686_gnu", version = "0.42.2" }
windows_i686_gnu = { path = "../../targets/i686_gnu", version = "0.47.0" }

[target.x86_64-pc-windows-gnu.dependencies]
windows_x86_64_gnu = { path = "../../targets/x86_64_gnu", version = "0.42.2" }
windows_x86_64_gnu = { path = "../../targets/x86_64_gnu", version = "0.47.0" }

[target.x86_64-uwp-windows-gnu.dependencies]
windows_x86_64_gnu = { path = "../../targets/x86_64_gnu", version = "0.42.2" }
windows_x86_64_gnu = { path = "../../targets/x86_64_gnu", version = "0.47.0" }

[target.x86_64-pc-windows-gnullvm.dependencies]
windows_x86_64_gnullvm = { path = "../../targets/x86_64_gnullvm", version = "0.42.2" }
windows_x86_64_gnullvm = { path = "../../targets/x86_64_gnullvm", version = "0.47.0" }
2 changes: 1 addition & 1 deletion crates/libs/tokens/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "windows-tokens"
version = "0.46.0"
version = "0.47.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
8 changes: 4 additions & 4 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.46.0"
version = "0.47.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand All @@ -18,11 +18,11 @@ targets = []
rustc-args = ["--cfg", "docsrs"]

[target.'cfg(not(windows_raw_dylib))'.dependencies]
windows-targets = { path = "../targets", version = "0.42.2" }
windows-targets = { path = "../targets", version = "0.47.0" }

[dependencies]
windows-implement = { path = "../implement", version = "0.46.0", optional = true }
windows-interface = { path = "../interface", version = "0.46.0", optional = true }
windows-implement = { path = "../implement", version = "0.47.0", optional = true }
windows-interface = { path = "../interface", version = "0.47.0", optional = true }

[features]
default = []
Expand Down
4 changes: 2 additions & 2 deletions crates/samples/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ Many of the samples were inspired or originally appeared in Kenny's [articles](h
The samples in the repo compile with the latest, usually pre-release, version of the `windows` or `windows-sys` crate.
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.46.0/crates/samples
https://github.com/microsoft/windows-rs/tree/0.47.0/crates/samples

That will give you the samples that compile with version 0.46.0 of the `windows` and `windows-sys` crates.
That will give you the samples that compile with version 0.47.0 of the `windows` and `windows-sys` crates.
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.42.2"
version = "0.47.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/targets/aarch64_msvc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "windows_aarch64_msvc"
version = "0.42.2"
version = "0.47.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/targets/i686_gnu/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "windows_i686_gnu"
version = "0.42.2"
version = "0.47.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/targets/i686_msvc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "windows_i686_msvc"
version = "0.42.2"
version = "0.47.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/targets/x86_64_gnu/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "windows_x86_64_gnu"
version = "0.42.2"
version = "0.47.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/targets/x86_64_gnullvm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "windows_x86_64_gnullvm"
version = "0.42.2"
version = "0.47.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/targets/x86_64_msvc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "windows_x86_64_msvc"
version = "0.42.2"
version = "0.47.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/tests/standalone/src/bindings.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Bindings generated by `windows-bindgen` 0.46.0
// Bindings generated by `windows-bindgen` 0.47.0

#![allow(non_snake_case, non_upper_case_globals, non_camel_case_types, dead_code, clippy::all)]
pub type HRESULT = i32;
Expand Down
2 changes: 1 addition & 1 deletion crates/tools/riddle/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ description = "Windows metadata compiler"
repository = "https://github.com/microsoft/windows-rs"

[dependencies]
metadata = { package = "windows-metadata", path = "../../libs/metadata", version = "0.46.0" }
metadata = { package = "windows-metadata", path = "../../libs/metadata", version = "0.47.0" }
syn = { version = "1.0", features = ["full", "extra-traits"] }
proc-macro2 = {version = "1.0", features = ["span-locations"] }
2 changes: 1 addition & 1 deletion crates/tools/sys/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ targets = []
all-features = true
[target.'cfg(not(windows_raw_dylib))'.dependencies]
windows-targets = { path = "../targets", version = "0.42.2" }
windows-targets = { path = "../targets", version = "0.47.0" }
[features]
default = []
Expand Down
8 changes: 4 additions & 4 deletions crates/tools/windows/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ fn main() {
r#"
[package]
name = "windows"
version = "0.46.0"
version = "0.47.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand All @@ -58,11 +58,11 @@ targets = []
rustc-args = ["--cfg", "docsrs"]
[target.'cfg(not(windows_raw_dylib))'.dependencies]
windows-targets = { path = "../targets", version = "0.42.2" }
windows-targets = { path = "../targets", version = "0.47.0" }
[dependencies]
windows-implement = { path = "../implement", version = "0.46.0", optional = true }
windows-interface = { path = "../interface", version = "0.46.0", optional = true }
windows-implement = { path = "../implement", version = "0.47.0", optional = true }
windows-interface = { path = "../interface", version = "0.47.0", optional = true }
[features]
default = []
Expand Down
8 changes: 4 additions & 4 deletions docs/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/metadata/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.46.0/crates/samples)
* [Samples](https://github.com/microsoft/windows-rs/tree/0.47.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.46.0"
version = "0.47.0"
features = [
"Data_Xml_Dom",
"Win32_Foundation",
Expand Down Expand Up @@ -95,10 +95,10 @@ Start by adding the following to your Cargo.toml file:

```toml
[dependencies.windows-targets]
version = "0.46.0"
version = "0.47.0"

[dev-dependencies.windows-bindgen]
version = "0.46.0"
version = "0.47.0"
```

The `windows-bindgen` crate is only needed for generating bindings and is thus a dev dependency only. The [windows-targets](https://crates.io/crates/windows-targets) crate is a dependency shared by the `windows` and `windows-sys` crates and only contains import libs for supported targets. This will ensure that you can link against any Windows API functions you may need.
Expand Down

0 comments on commit e03d14e

Please sign in to comment.