diff --git a/Cargo.lock b/Cargo.lock index 118e9b8d3c..c2dbbead11 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -234,9 +234,9 @@ checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" [[package]] name = "criterion" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63f696897c88b57f4ffe3c69d8e1a0613c7d0e6c4833363c8560fbde9c47b966" +checksum = "70daa7ceec6cf143990669a04c7df13391d55fb27bd4079d252fca774ba244d8" dependencies = [ "atty", "cast", @@ -251,6 +251,7 @@ dependencies = [ "rayon", "regex", "serde", + "serde_cbor", "serde_derive", "serde_json", "tinytemplate", @@ -425,6 +426,12 @@ dependencies = [ "wasi 0.9.0+wasi-snapshot-preview1", ] +[[package]] +name = "half" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d36fab90f82edc3c747f9d438e06cf0a491055896f2a279638bb5beed6c40177" + [[package]] name = "hashbrown" version = "0.9.0" @@ -951,6 +958,16 @@ dependencies = [ "serde_derive", ] +[[package]] +name = "serde_cbor" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e18acfa2f90e8b735b2836ab8d538de304cbb6729a7360729ea5a895d15a622" +dependencies = [ + "half", + "serde", +] + [[package]] name = "serde_derive" version = "1.0.116" diff --git a/boa/Cargo.toml b/boa/Cargo.toml index 34c49c749e..7329e15b20 100644 --- a/boa/Cargo.toml +++ b/boa/Cargo.toml @@ -33,7 +33,7 @@ measureme = { version = "0.7.1", optional = true } once_cell = { version = "1.4.1", optional = true } [dev-dependencies] -criterion = "=0.3.2" # critcmp is not compatible with 0.3.3 +criterion = "0.3.3" float-cmp = "0.8.0" [target.x86_64-unknown-linux-gnu.dev-dependencies]