diff --git a/crates/libs/sys/Cargo.toml b/crates/libs/sys/Cargo.toml index 768513a4a0..12815c0a56 100644 --- a/crates/libs/sys/Cargo.toml +++ b/crates/libs/sys/Cargo.toml @@ -11,6 +11,11 @@ readme = "readme.md" categories = ["os::windows-apis"] exclude = ["features.json"] +[lib] +# This crate does not contain tests. All tests are in separate crates. +test = false +doctest = false + [lints] workspace = true diff --git a/crates/libs/windows/Cargo.toml b/crates/libs/windows/Cargo.toml index 0be951d198..e094bc9247 100644 --- a/crates/libs/windows/Cargo.toml +++ b/crates/libs/windows/Cargo.toml @@ -13,6 +13,11 @@ readme = "readme.md" categories = ["os::windows-apis"] exclude = ["features.json"] +[lib] +# This crate does not contain tests. All tests are in separate crates. +test = false +doctest = false + [lints] workspace = true