From 7293e6e9b01e255dc1adde9b7aa8b5666132cbdc Mon Sep 17 00:00:00 2001 From: Nora Widdecke Date: Fri, 15 Jan 2021 18:19:35 +0100 Subject: 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 --- net/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'net') 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"] -- cgit v1.2.3