diff options
author | Nora Widdecke <nora@sequoia-pgp.org> | 2021-01-15 18:19:35 +0100 |
---|---|---|
committer | Nora Widdecke <nora@sequoia-pgp.org> | 2021-04-13 12:38:15 +0200 |
commit | 7293e6e9b01e255dc1adde9b7aa8b5666132cbdc (patch) | |
tree | 52436566d6fb1e34f9d6c147f9f2ad4d8b509e5a /net/Cargo.toml | |
parent | 6a26439ee4c5b780d7f507d3bbb44c4f1dd0cc97 (diff) |
bench: Disable libtest benchmark harness.
- The libtest benchmark harness that is automatically added by cargo
interferes with criterion. Disable it everywhere where there are no
benchmarks.
- https://github.com/rust-lang/rust/issues/47241
- https://bheisler.github.io/criterion.rs/book/faq.html
Diffstat (limited to 'net/Cargo.toml')
-rw-r--r-- | net/Cargo.toml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/Cargo.toml b/net/Cargo.toml index fa2819b6..07cd2e6e 100644 --- a/net/Cargo.toml +++ b/net/Cargo.toml @@ -40,6 +40,9 @@ zbase32 = "0.1.2" rand = { version = "0.7", default-features = false } tokio = { version = "0.2.19", features = ["full"] } +[lib] +bench = false + [features] default = ["sequoia-openpgp/default"] crypto-nettle = ["sequoia-openpgp/crypto-nettle"] |