Skip to content

Commit

Permalink
Exclude benchmarks and examples from published crate
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mgeisler committed Dec 10, 2020
1 parent 45dc705 commit ff5cfb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ff5cfb7

Please sign in to comment.