Skip to content

Commit

Permalink
Disable docs and tests for test crates (#3085)
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr authored Jun 10, 2024
1 parent e185bcd commit 7c615c4
Show file tree
Hide file tree
Showing 68 changed files with 270 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/tests/agile/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/agile_reference/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/alternate_success_code/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/arch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/arch_feature/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/array/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/bcrypt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/bstr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/calling_convention/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(windows_raw_dylib)'] }

Expand Down
4 changes: 4 additions & 0 deletions crates/tests/cfg_generic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/collections/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
2 changes: 2 additions & 0 deletions crates/tests/component/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ publish = false

[lib]
crate-type = ["cdylib"]
doc = false
doctest = false

[dependencies.windows-core]
path = "../../libs/core"
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/component_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows-core]
path = "../../libs/core"

Expand Down
4 changes: 4 additions & 0 deletions crates/tests/const_fields/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/const_params/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/const_ptrs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/debug/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/debug_inspectable/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/debugger_visualizer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(windows_debugger_visualizer)'] }

Expand Down
4 changes: 4 additions & 0 deletions crates/tests/deprecated/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/dispatch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/does_not_return/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/enums/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/error/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/event/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/extensions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/handles/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/helpers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows-targets]
path = "../../libs/targets"
4 changes: 4 additions & 0 deletions crates/tests/implement/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/implement_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name = "test_implement_core"
version = "0.1.0"
edition = "2021"

[lib]
doc = false
doctest = false

[dependencies.windows-core]
path = "../../libs/core"

Expand Down
4 changes: 4 additions & 0 deletions crates/tests/interface/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/interface_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows-core]
path = "../../libs/core"
4 changes: 4 additions & 0 deletions crates/tests/interop/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
4 changes: 4 additions & 0 deletions crates/tests/linux/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ version = "0.0.0"
edition = "2021"
publish = false

[lib]
doc = false
doctest = false

[dependencies.windows]
path = "../../libs/windows"
features = [
Expand Down
Loading

0 comments on commit 7c615c4

Please sign in to comment.