summaryrefslogtreecommitdiffstats
path: root/autocrypt
diff options
context:
space:
mode:
authorNora Widdecke <nora@sequoia-pgp.org>2021-01-15 18:19:35 +0100
committerNora Widdecke <nora@sequoia-pgp.org>2021-04-13 12:38:15 +0200
commit7293e6e9b01e255dc1adde9b7aa8b5666132cbdc (patch)
tree52436566d6fb1e34f9d6c147f9f2ad4d8b509e5a /autocrypt
parent6a26439ee4c5b780d7f507d3bbb44c4f1dd0cc97 (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 'autocrypt')
-rw-r--r--autocrypt/Cargo.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/autocrypt/Cargo.toml b/autocrypt/Cargo.toml
index 38dfed86..17594b0e 100644
--- a/autocrypt/Cargo.toml
+++ b/autocrypt/Cargo.toml
@@ -24,6 +24,9 @@ maintenance = { status = "actively-developed" }
sequoia-openpgp = { path = "../openpgp", version = "1", default-features = false }
base64 = ">=0.12"
+[lib]
+bench = false
+
[features]
default = ["sequoia-openpgp/default"]
crypto-nettle = ["sequoia-openpgp/crypto-nettle"]