diff --git a/html5ever/Cargo.toml b/html5ever/Cargo.toml
index 6e608a67..0a1c6077 100644
--- a/html5ever/Cargo.toml
+++ b/html5ever/Cargo.toml
@@ -17,10 +17,8 @@ mac = "0.1"
markup5ever = { version = "0.12", path = "../markup5ever" }
[dev-dependencies]
-typed-arena = "2.0.2"
-
-[target.'cfg(bench)'.dev-dependencies]
criterion = "0.3"
+typed-arena = "2.0.2"
[build-dependencies]
quote = "1"
diff --git a/xml5ever/Cargo.toml b/xml5ever/Cargo.toml
index dcbbacaa..41a27fc3 100644
--- a/xml5ever/Cargo.toml
+++ b/xml5ever/Cargo.toml
@@ -21,10 +21,8 @@ mac = "0.1"
markup5ever = {version = "0.12", path = "../markup5ever" }
[dev-dependencies]
-rustc-test = "0.3"
-
-[target.'cfg(bench)'.dev-dependencies]
criterion = "0.3"
+rustc-test = "0.3"
[[bench]]
name = "xml5ever"