diff options
author | Nora Widdecke <nora@sequoia-pgp.org> | 2021-01-15 18:19:35 +0100 |
---|---|---|
committer | Nora Widdecke <nora@sequoia-pgp.org> | 2021-01-17 19:42:12 +0100 |
commit | d13509a9c4614ba409032fa8115f148ee34356e0 (patch) | |
tree | 0a085a0459bf9f10ec07fa1dae685935289b1d5d /sqv | |
parent | 90ab455f357fbc88fe1645250522316bd89554ce (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 'sqv')
-rw-r--r-- | sqv/Cargo.toml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sqv/Cargo.toml b/sqv/Cargo.toml index 08dee6d7..fa9adaa5 100644 --- a/sqv/Cargo.toml +++ b/sqv/Cargo.toml @@ -35,6 +35,7 @@ assert_cli = "0.6" [[bin]] name = "sqv" path = "src/sqv-usage.rs" +bench = false [features] default = ["crypto-nettle"] |