From 8640eacfbd0d0de4a0f8610dab26014617094369 Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Thu, 7 Sep 2023 09:19:33 -0700 Subject: [PATCH] cargo: don't expose the `criterion` feature There should be no reason to include `criterion` without the `bench` feature. Adding the `dep:` prefix to any dependency makes cargo not expose the implicit `criterion` feature. --- cli/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/Cargo.toml b/cli/Cargo.toml index dd6243fd6..b3643375e 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -75,7 +75,7 @@ testutils = { workspace = true } [features] default = [] -bench = ["criterion"] +bench = ["dep:criterion"] packaging = ["watchman"] vendored-openssl = ["git2/vendored-openssl", "jj-lib/vendored-openssl"] watchman = ["jj-lib/watchman"]