From abd74717e4bc07b9e8dfabf36158176c82de4f40 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 12 Jul 2022 20:40:04 -0700 Subject: [PATCH] Exclude tests, examples, and benchmarks from the crates.io package. (#377) * Exclude tests, examples, and benchmarks from the crates.io package. This shrinks the generated package size from 296K to 260K. * Fix glob syntax for top-level markdown files. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 95841e4f4..c88907ba5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ repository = "https://github.com/bytecodealliance/rustix" edition = "2018" keywords = ["api", "file", "network", "safe", "syscall"] categories = ["os::unix-apis", "date-and-time", "filesystem", "network-programming"] -exclude = ["/.*", "test-crates"] +include = ["src", "build.rs", "Cargo.toml", "COPYRIGHT", "LICENSE*", "/*.md"] [build-dependencies] cc = { version = "1.0.68", optional = true }