From e7f43cbe25e8dd63a578c35719a1c214cfbf5d65 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Thu, 5 Aug 2021 22:39:36 +0100 Subject: [PATCH] Disable default benchmark harness for all workspace crates This is necessary in order to provide criterion-specific arguments to `cargo bench`, such as `--profile-time`. Extracted from: https://github.com/zcash/librustzcash/commit/0f15743200f55c9986180f719ad89e4d260466fc --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index a0e1946..456be43 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,3 +23,6 @@ subtle = "2.2.3" [dev-dependencies] zcash_primitives = { version = "0.5", path = "../../zcash_primitives" } jubjub = "0.7" + +[lib] +bench = false