Repository: mgeisler/textwrap (language: rust)

Issue:
Exclude benchmarks from crate
In #271, the `benches/` directory was included in the crate again — excluding it results in an error when publishing the crate. If [a work-around is found](https://users.rust-lang.org/t/cargo-publish-with-excluded-benchmark-fails-validation/53444?u=mgeisler), then we should exclude the directory again.


Discussion / hints:

Fix patch:
diff --git a/Cargo.toml b/Cargo.toml
index 6204f824..82bea957 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -10,7 +10,7 @@ keywords = ["text", "formatting", "wrap", "typesetting", "hyphenation"]
 categories = ["text-processing", "command-line-interface"]
 license = "MIT"
 edition = "2018"
-exclude = [".github/", ".gitignore", "examples/", "fuzz/"]
+exclude = [".github/", ".gitignore", "benches/", "examples/", "fuzz/"]
 
 [package.metadata.docs.rs]
 all-features = true
@@ -23,6 +23,7 @@ codecov = { repository = "mgeisler/textwrap" }
 [[bench]]
 name = "linear"
 harness = false
+path = "benches/linear.rs"
 
 [features]
 default = ["unicode-width", "smawk"]


Test patch: