ok/jj
1
0
Fork 0
forked from mirrors/jj

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.
This commit is contained in:
Martin von Zweigbergk 2023-09-07 09:19:33 -07:00 committed by Martin von Zweigbergk
parent 0946934ca6
commit 8640eacfbd

View file

@ -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"]