From f28730b315c74bc595dbffabd4be30fd93d13fb0 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 7 Jul 2022 07:04:14 -0700 Subject: [PATCH] Exclude tests and examples from the crates.io package. This shrinks the generated package size from 44K to 40K. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index f247988..be282b8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ keywords = ["api", "io"] categories = ["os", "rust-patterns"] edition = "2018" repository = "https://github.com/sunfishcode/io-lifetimes" -exclude = ["/.github"] +include = ["src", "build.rs", "Cargo.toml", "COPYRIGHT", "LICENSE*", "/*.md"] [dependencies] # io-lifetimes only depends on libc/windows-sys for the ability to close