summaryrefslogtreecommitdiffstats
path: root/ipc
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-01-17 19:42:12 +0100
commitd13509a9c4614ba409032fa8115f148ee34356e0 (patch)
tree0a085a0459bf9f10ec07fa1dae685935289b1d5d /ipc
parent90ab455f357fbc88fe1645250522316bd89554ce (diff)
openpgp: Ignore tests when benchmarking.
- 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 'ipc')
-rw-r--r--ipc/Cargo.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipc/Cargo.toml b/ipc/Cargo.toml
index fb9bbecd..2459a2b3 100644
--- a/ipc/Cargo.toml
+++ b/ipc/Cargo.toml
@@ -50,6 +50,9 @@ lalrpop = ">=0.17"
clap = "2.33"
quickcheck = { version = "0.9", default-features = false }
+[lib]
+bench = false
+
[features]
default = ["sequoia-openpgp/default"]
crypto-nettle = ["sequoia-openpgp/crypto-nettle"]