From 86d7407b74156500676a6f7c8587caa8bff8fe85 Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Wed, 30 Dec 2020 16:54:20 +0100 Subject: [PATCH] Include benches/ again Publishing with the benches/ directory excluded results in an error message since the benchmark cannot be found: % cargo publish --dry-run Updating crates.io index Packaging textwrap v0.13.1 (/home/mg/src/textwrap) Verifying textwrap v0.13.1 (/home/mg/src/textwrap) error: failed to verify package tarball Caused by: failed to parse manifest at `/home/mg/src/textwrap/target/package/textwrap-0.13.1/Cargo.toml` Caused by: can't find `linear` bench, specify bench.path --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 6f1db7a4..09489a23 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", "benches/", "examples/", "fuzz/"] +exclude = [".github/", ".gitignore", "examples/", "fuzz/"] [package.metadata.docs.rs] all-features = true