summaryrefslogtreecommitdiffstats
path: root/guide
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 /guide
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 'guide')
-rw-r--r--guide/Cargo.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/guide/Cargo.toml b/guide/Cargo.toml
index 01b02208..713c6143 100644
--- a/guide/Cargo.toml
+++ b/guide/Cargo.toml
@@ -14,3 +14,6 @@ build = "build.rs"
[dependencies]
sequoia-openpgp = { path = "../openpgp", version = "1.0.0" }
anyhow = "1.0.18"
+
+[lib]
+bench = false