Skip to content

Commit

Permalink
criterion: trim down dependencies
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
dianpopa authored and zulinx86 committed Apr 11, 2023
1 parent 9778a67 commit c3905b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 209 deletions.
208 changes: 1 addition & 207 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/snapshot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ versionize_derive = "0.1.4"
thiserror = "1.0.32"

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

[[bench]]
name = "version_map"
Expand Down
2 changes: 1 addition & 1 deletion src/vmm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ vm-memory = { path = "../vm-memory" }
cpuid = { path = "../cpuid" }

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

[[bench]]
name = "main"
Expand Down

0 comments on commit c3905b1

Please sign in to comment.