From 00f8d7f66144b5e270ad9a3e34655a1be1206562 Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Thu, 10 Dec 2020 22:13:53 +0100 Subject: [PATCH] Exclude benchmarks and examples from published crate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These files are meant to be used by people who clone the repository. From a discussion on users.rust-lang.org[1], it seems that tests can be useful so they’re left in the published crate. [1]: https://users.rust-lang.org/t/what-to-include-when-publishing-a-crate/51992?u=mgeisler --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index cfe87063..71163cab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,6 +10,7 @@ keywords = ["text", "formatting", "wrap", "typesetting", "hyphenation"] categories = ["text-processing", "command-line-interface"] license = "MIT" edition = "2018" +exclude = [".github/", ".gitignore", "benches/", "examples/"] [package.metadata.docs.rs] all-features = true