[package] exclude = [".github/", ".gitignore", "benches/", "examples/", "fuzz/"]
Tests are still included so that projects that test the wider Rust ecosystem has an easy time running them. So far so good.
I'm using Criterion benchmarks and have configured them thus in my
[[bench]] name = "linear" harness = false
This also works fine until now. However, when I now try to
cargo publish --dry-run, I run into trouble:
% 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
Has anybody found a nice workaround for this?