diff --git a/Cargo.toml b/Cargo.toml
index bc4d5ff3..aab89e02 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -50,7 +50,7 @@ getrandom = { version = "0.2", features = ["js"], optional = true }
 [dev-dependencies]
 bincode = "1"
 chacha20poly1305 = "0.10"
-criterion = "0.4"
+criterion = "0.5"
 hex = "0.4"
 json = "0.12"
 p256 = { version = "0.13", default-features = false, features = [