Skip to content

Commit 2d39427

Browse files
authored
Adds Cargo package validation (#3714)
1 parent 8b027ad commit 2d39427

File tree

52 files changed

+120
-37
lines changed

Some content is hidden

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

52 files changed

+120
-37
lines changed

.github/workflows/clippy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ jobs:
244244
run: cargo clippy -p test_overloads --tests
245245
- name: Check test_overloads_client
246246
run: cargo clippy -p test_overloads_client --tests
247+
- name: Check test_package
248+
run: cargo clippy -p test_package --tests
247249
- name: Check test_query_signature
248250
run: cargo clippy -p test_query_signature --tests
249251
- name: Check test_readme

.github/workflows/test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,8 @@ jobs:
275275
run: cargo test -p test_overloads --target ${{ matrix.target }}
276276
- name: Test test_overloads_client
277277
run: cargo test -p test_overloads_client --target ${{ matrix.target }}
278+
- name: Test test_package
279+
run: cargo test -p test_package --target ${{ matrix.target }}
278280
- name: Test test_query_signature
279281
run: cargo test -p test_query_signature --target ${{ matrix.target }}
280282
- name: Test test_readme
@@ -357,10 +359,10 @@ jobs:
357359
run: cargo test -p tool_license --target ${{ matrix.target }}
358360
- name: Test tool_merge
359361
run: cargo test -p tool_merge --target ${{ matrix.target }}
360-
- name: Test tool_msvc
361-
run: cargo test -p tool_msvc --target ${{ matrix.target }}
362362
- name: Clean
363363
run: cargo clean
364+
- name: Test tool_msvc
365+
run: cargo test -p tool_msvc --target ${{ matrix.target }}
364366
- name: Test tool_standalone
365367
run: cargo test -p tool_standalone --target ${{ matrix.target }}
366368
- name: Test tool_test_all

crates/libs/bindgen/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ license = "MIT OR Apache-2.0"
77
description = "Code generator for Windows metadata"
88
repository = "https://github.com/microsoft/windows-rs"
99
readme = "readme.md"
10+
categories = ["os::windows-apis"]
1011

1112
[dependencies]
1213
windows-threading = { workspace = true }

crates/libs/collections/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ license = "MIT OR Apache-2.0"
77
description = "Windows collection types"
88
repository = "https://github.com/microsoft/windows-rs"
99
readme = "readme.md"
10+
categories = ["os::windows-apis"]
1011

1112
[dependencies]
1213
windows-core = { workspace = true }

crates/libs/core/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[package]
22
name = "windows-core"
33
version = "0.61.2"
4-
authors = ["Microsoft"]
54
edition = "2021"
65
rust-version = "1.82"
76
license = "MIT OR Apache-2.0"

crates/libs/cppwinrt/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[package]
22
name = "cppwinrt"
33
version = "0.3.2"
4-
authors = ["Microsoft"]
54
edition = "2021"
65
rust-version = "1.74"
76
license = "MIT OR Apache-2.0"

crates/libs/future/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ license = "MIT OR Apache-2.0"
77
description = "Windows async types"
88
repository = "https://github.com/microsoft/windows-rs"
99
readme = "readme.md"
10+
categories = ["os::windows-apis"]
1011

1112
[dependencies]
1213
windows-core = { workspace = true }

crates/libs/implement/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
[package]
22
name = "windows-implement"
33
version = "0.60.0"
4-
authors = ["Microsoft"]
54
edition = "2021"
65
rust-version = "1.74"
76
license = "MIT OR Apache-2.0"
87
description = "The implement macro for the windows crate"
98
repository = "https://github.com/microsoft/windows-rs"
9+
readme = "readme.md"
10+
categories = ["os::windows-apis"]
1011

1112
[dependencies]
1213
proc-macro2 = { workspace = true }

crates/libs/interface/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
[package]
22
name = "windows-interface"
33
version = "0.59.1"
4-
authors = ["Microsoft"]
54
edition = "2021"
65
rust-version = "1.74"
76
license = "MIT OR Apache-2.0"
87
description = "The interface macro for the windows crate"
98
repository = "https://github.com/microsoft/windows-rs"
9+
categories = ["os::windows-apis"]
10+
readme = "readme.md"
1011

1112
[dependencies]
1213
proc-macro2 = { workspace = true }

crates/libs/link/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
[package]
33
name = "windows-link"
44
version = "0.1.3"
5-
authors = ["Microsoft"]
65
edition = "2021"
76
rust-version = "1.71"
87
license = "MIT OR Apache-2.0"
98
description = "Linking for Windows"
109
repository = "https://github.com/microsoft/windows-rs"
1110
readme = "readme.md"
11+
categories = ["os::windows-apis"]
1212

1313
[lints]
1414
workspace = true

0 commit comments

Comments
 (0)