Skip to content

Commit

Permalink
Version 0.46.0 (#2380)
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr authored Mar 13, 2023
1 parent 0f0bfad commit 00fe13a
Show file tree
Hide file tree
Showing 30 changed files with 43 additions and 181 deletions.
1 change: 0 additions & 1 deletion .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ jobs:
cargo clippy -p test_reserved &&
cargo clippy -p test_resources &&
cargo clippy -p test_return_struct &&
cargo clippy -p test_riddle &&
cargo clippy -p test_simple_component &&
cargo clippy -p test_string_param &&
cargo clippy -p test_structs &&
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ jobs:
cargo test --target ${{ matrix.target }} -p test_does_not_return &&
cargo test --target ${{ matrix.target }} -p test_enums &&
cargo test --target ${{ matrix.target }} -p test_error &&
cargo test --target ${{ matrix.target }} -p test_event &&
cargo clean &&
cargo test --target ${{ matrix.target }} -p test_event &&
cargo test --target ${{ matrix.target }} -p test_extensions &&
cargo test --target ${{ matrix.target }} -p test_handles &&
cargo test --target ${{ matrix.target }} -p test_helpers &&
Expand All @@ -113,7 +113,6 @@ jobs:
cargo test --target ${{ matrix.target }} -p test_reserved &&
cargo test --target ${{ matrix.target }} -p test_resources &&
cargo test --target ${{ matrix.target }} -p test_return_struct &&
cargo test --target ${{ matrix.target }} -p test_riddle &&
cargo test --target ${{ matrix.target }} -p test_simple_component &&
cargo test --target ${{ matrix.target }} -p test_string_param &&
cargo test --target ${{ matrix.target }} -p test_structs &&
Expand Down
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.44.0"
version = "0.46.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand All @@ -12,5 +12,5 @@ default-target = "x86_64-pc-windows-msvc"
targets = []

[dependencies]
tokens = { package = "windows-tokens", path = "../tokens", version = "0.44.0" }
metadata = { package = "windows-metadata", path = "../metadata", version = "0.44.0" }
tokens = { package = "windows-tokens", path = "../tokens", version = "0.46.0" }
metadata = { package = "windows-metadata", path = "../metadata", version = "0.46.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.44.0"
version = "0.46.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.44.0"
version = "0.46.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.44.0"
version = "0.46.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.1" }
windows-targets = { path = "../targets", version = "0.42.2" }

[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,45 +1,45 @@

[package]
name = "windows-targets"
version = "0.42.1"
version = "0.42.2"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
description = "Import libs for Windows"
repository = "https://github.com/microsoft/windows-rs"

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

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

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

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

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

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

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

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

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

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

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

[target.x86_64-pc-windows-gnullvm.dependencies]
windows_x86_64_gnullvm = { path = "../../targets/x86_64_gnullvm", version = "0.42.1" }
windows_x86_64_gnullvm = { path = "../../targets/x86_64_gnullvm", version = "0.42.2" }
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.44.0"
version = "0.46.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.44.0"
version = "0.46.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.1" }
windows-targets = { path = "../targets", version = "0.42.2" }

[dependencies]
windows-implement = { path = "../implement", version = "0.44.0", optional = true }
windows-interface = { path = "../interface", version = "0.44.0", optional = true }
windows-implement = { path = "../implement", version = "0.46.0", optional = true }
windows-interface = { path = "../interface", version = "0.46.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.45.0/crates/samples
https://github.com/microsoft/windows-rs/tree/0.46.0/crates/samples

That will give you the samples that compile with version 0.45.0 of the `windows` and `windows-sys` crates.
That will give you the samples that compile with version 0.46.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.1"
version = "0.42.2"
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.1"
version = "0.42.2"
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.1"
version = "0.42.2"
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.1"
version = "0.42.2"
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.1"
version = "0.42.2"
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.1"
version = "0.42.2"
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.1"
version = "0.42.2"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
8 changes: 0 additions & 8 deletions crates/tests/riddle/Cargo.toml

This file was deleted.

21 changes: 0 additions & 21 deletions crates/tests/riddle/src/lib.rs

This file was deleted.

10 changes: 0 additions & 10 deletions crates/tests/riddle/tests/basic.idl

This file was deleted.

30 changes: 0 additions & 30 deletions crates/tests/riddle/tests/basic.rs

This file was deleted.

8 changes: 0 additions & 8 deletions crates/tests/riddle/tests/enum.idl

This file was deleted.

26 changes: 0 additions & 26 deletions crates/tests/riddle/tests/enum.rs

This file was deleted.

8 changes: 0 additions & 8 deletions crates/tests/riddle/tests/struct.idl

This file was deleted.

25 changes: 0 additions & 25 deletions crates/tests/riddle/tests/struct.rs

This file was deleted.

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.44.0" }
metadata = { package = "windows-metadata", path = "../../libs/metadata", version = "0.46.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 @@ -88,7 +88,7 @@ targets = []
all-features = true
[target.'cfg(not(windows_raw_dylib))'.dependencies]
windows-targets = { path = "../targets", version = "0.42.1" }
windows-targets = { path = "../targets", version = "0.42.2" }
[features]
default = []
Expand Down
Loading

0 comments on commit 00fe13a

Please sign in to comment.