Skip to content

Commit e03d14e

Browse files
authored
Version 0.47.0 (#2401)
1 parent f86349d commit e03d14e

File tree

21 files changed

+45
-45
lines changed

21 files changed

+45
-45
lines changed

crates/libs/bindgen/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "windows-bindgen"
3-
version = "0.46.0"
3+
version = "0.47.0"
44
authors = ["Microsoft"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"
@@ -13,5 +13,5 @@ default-target = "x86_64-pc-windows-msvc"
1313
targets = []
1414

1515
[dependencies]
16-
tokens = { package = "windows-tokens", path = "../tokens", version = "0.46.0" }
17-
metadata = { package = "windows-metadata", path = "../metadata", version = "0.46.0" }
16+
tokens = { package = "windows-tokens", path = "../tokens", version = "0.47.0" }
17+
metadata = { package = "windows-metadata", path = "../metadata", version = "0.47.0" }

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.46.0"
3+
version = "0.47.0"
44
authors = ["Microsoft"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"

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.46.0"
3+
version = "0.47.0"
44
edition = "2018"
55
authors = ["Microsoft"]
66
license = "MIT OR Apache-2.0"

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.46.0"
3+
version = "0.47.0"
44
authors = ["Microsoft"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"

crates/libs/sys/Cargo.toml

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

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

2222
[features]
2323
default = []

crates/libs/targets/Cargo.toml

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

22
[package]
33
name = "windows-targets"
4-
version = "0.42.2"
4+
version = "0.47.0"
55
authors = ["Microsoft"]
66
edition = "2018"
77
license = "MIT OR Apache-2.0"
@@ -10,37 +10,37 @@ repository = "https://github.com/microsoft/windows-rs"
1010
readme = "../../../docs/readme.md"
1111

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

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

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

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

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

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

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

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

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

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

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

4545
[target.x86_64-pc-windows-gnullvm.dependencies]
46-
windows_x86_64_gnullvm = { path = "../../targets/x86_64_gnullvm", version = "0.42.2" }
46+
windows_x86_64_gnullvm = { path = "../../targets/x86_64_gnullvm", version = "0.47.0" }

crates/libs/tokens/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-tokens"
3-
version = "0.46.0"
3+
version = "0.47.0"
44
authors = ["Microsoft"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"

crates/libs/windows/Cargo.toml

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

22
[package]
33
name = "windows"
4-
version = "0.46.0"
4+
version = "0.47.0"
55
authors = ["Microsoft"]
66
edition = "2018"
77
license = "MIT OR Apache-2.0"
@@ -18,11 +18,11 @@ targets = []
1818
rustc-args = ["--cfg", "docsrs"]
1919

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

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

2727
[features]
2828
default = []

crates/samples/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ Many of the samples were inspired or originally appeared in Kenny's [articles](h
33
The samples in the repo compile with the latest, usually pre-release, version of the `windows` or `windows-sys` crate.
44
To find the samples for a particular release you can use a specific release tag. For example:
55

6-
https://github.com/microsoft/windows-rs/tree/0.46.0/crates/samples
6+
https://github.com/microsoft/windows-rs/tree/0.47.0/crates/samples
77

8-
That will give you the samples that compile with version 0.46.0 of the `windows` and `windows-sys` crates.
8+
That will give you the samples that compile with version 0.47.0 of the `windows` and `windows-sys` crates.

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.42.2"
3+
version = "0.47.0"
44
authors = ["Microsoft"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"

crates/targets/aarch64_msvc/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_msvc"
3-
version = "0.42.2"
3+
version = "0.47.0"
44
authors = ["Microsoft"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"

crates/targets/i686_gnu/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_i686_gnu"
3-
version = "0.42.2"
3+
version = "0.47.0"
44
authors = ["Microsoft"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"

crates/targets/i686_msvc/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_i686_msvc"
3-
version = "0.42.2"
3+
version = "0.47.0"
44
authors = ["Microsoft"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"

crates/targets/x86_64_gnu/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_x86_64_gnu"
3-
version = "0.42.2"
3+
version = "0.47.0"
44
authors = ["Microsoft"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"

crates/targets/x86_64_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_x86_64_gnullvm"
3-
version = "0.42.2"
3+
version = "0.47.0"
44
authors = ["Microsoft"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"

crates/targets/x86_64_msvc/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_x86_64_msvc"
3-
version = "0.42.2"
3+
version = "0.47.0"
44
authors = ["Microsoft"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"

crates/tests/standalone/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.46.0
1+
// Bindings generated by `windows-bindgen` 0.47.0
22

33
#![allow(non_snake_case, non_upper_case_globals, non_camel_case_types, dead_code, clippy::all)]
44
pub type HRESULT = i32;

crates/tools/riddle/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ description = "Windows metadata compiler"
88
repository = "https://github.com/microsoft/windows-rs"
99

1010
[dependencies]
11-
metadata = { package = "windows-metadata", path = "../../libs/metadata", version = "0.46.0" }
11+
metadata = { package = "windows-metadata", path = "../../libs/metadata", version = "0.47.0" }
1212
syn = { version = "1.0", features = ["full", "extra-traits"] }
1313
proc-macro2 = {version = "1.0", features = ["span-locations"] }

crates/tools/sys/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ targets = []
8989
all-features = true
9090
9191
[target.'cfg(not(windows_raw_dylib))'.dependencies]
92-
windows-targets = { path = "../targets", version = "0.42.2" }
92+
windows-targets = { path = "../targets", version = "0.47.0" }
9393
9494
[features]
9595
default = []

crates/tools/windows/src/main.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ fn main() {
4141
r#"
4242
[package]
4343
name = "windows"
44-
version = "0.46.0"
44+
version = "0.47.0"
4545
authors = ["Microsoft"]
4646
edition = "2018"
4747
license = "MIT OR Apache-2.0"
@@ -58,11 +58,11 @@ targets = []
5858
rustc-args = ["--cfg", "docsrs"]
5959
6060
[target.'cfg(not(windows_raw_dylib))'.dependencies]
61-
windows-targets = { path = "../targets", version = "0.42.2" }
61+
windows-targets = { path = "../targets", version = "0.47.0" }
6262
6363
[dependencies]
64-
windows-implement = { path = "../implement", version = "0.46.0", optional = true }
65-
windows-interface = { path = "../interface", version = "0.46.0", optional = true }
64+
windows-implement = { path = "../implement", version = "0.47.0", optional = true }
65+
windows-interface = { path = "../interface", version = "0.47.0", optional = true }
6666
6767
[features]
6868
default = []

docs/readme.md

Lines changed: 4 additions & 4 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/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.
44

55
* [Getting started](https://kennykerr.ca/rust-getting-started/)
6-
* [Samples](https://github.com/microsoft/windows-rs/tree/0.46.0/crates/samples)
6+
* [Samples](https://github.com/microsoft/windows-rs/tree/0.47.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.46.0"
13+
version = "0.47.0"
1414
features = [
1515
"Data_Xml_Dom",
1616
"Win32_Foundation",
@@ -95,10 +95,10 @@ Start by adding the following to your Cargo.toml file:
9595

9696
```toml
9797
[dependencies.windows-targets]
98-
version = "0.46.0"
98+
version = "0.47.0"
9999

100100
[dev-dependencies.windows-bindgen]
101-
version = "0.46.0"
101+
version = "0.47.0"
102102
```
103103

104104
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.

0 commit comments

Comments
 (0)