Skip to content

Commit c3905b1

Browse files
dianpopazulinx86
authored andcommitted
criterion: trim down dependencies
Criterion offers opportunity to choose between features and it does declare some dependencies as being optional (like the rayon one) which we currently include even though we do not need to. We actually do not need to include what criterion defines as default features. Signed-off-by: Diana Popa <[email protected]>
1 parent 9778a67 commit c3905b1

File tree

3 files changed

+3
-209
lines changed

3 files changed

+3
-209
lines changed

Cargo.lock

Lines changed: 1 addition & 207 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/snapshot/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ versionize_derive = "0.1.4"
1313
thiserror = "1.0.32"
1414

1515
[dev-dependencies]
16-
criterion = "0.4.0"
16+
criterion = { version = "0.4.0", default-features = false }
1717

1818
[[bench]]
1919
name = "version_map"

src/vmm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ vm-memory = { path = "../vm-memory" }
3737
cpuid = { path = "../cpuid" }
3838

3939
[dev-dependencies]
40-
criterion = "0.4.0"
40+
criterion = { version = "0.4.0", default-features = false }
4141

4242
[[bench]]
4343
name = "main"

0 commit comments

Comments
 (0)