From 02a3c64e4c9135ef44af0de7ad41be4234ebe28c Mon Sep 17 00:00:00 2001
From: Luca Barbato <lu_zero@gentoo.org>
Date: Tue, 9 Oct 2018 15:07:53 +0200
Subject: [PATCH] Make simpler to pass options to criterion

Otherwise cargo-bench would try to call the test runner with --bench and
criterion-only options, making the process fail.
---
 Cargo.toml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Cargo.toml b/Cargo.toml
index 600f4846..f4301d32 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -39,10 +39,15 @@ criterion = "0.2"
 
 [[bin]]
 name = "rav1e"
+bench = false
 
 [[bin]]
 name = "rav1repl"
 required-features = ["repl"]
+bench = false
+
+[lib]
+bench = false
 
 [[bench]]
 name = "bench"
-- 
GitLab