Skip to content

Commit bdfe727

Browse files
committed
Don't include criterion as a dev-dependency
Leave the benchmarking part of Cargo.toml commented-out. This vastly improves compile times for testing, and resolves an issue with 1.34.2 on CI.
1 parent e9497f3 commit bdfe727

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ optional = true
2323
std = []
2424
not_literal = ["enumflags2_derive/not_literal"]
2525

26-
[dev-dependencies]
27-
criterion = "0.3"
28-
29-
[[bench]]
30-
name = "from_iterator"
31-
harness = false
32-
path = "../benches/from_iterator.rs"
26+
#[dev-dependencies]
27+
#criterion = "0.3"
28+
#
29+
#[[bench]]
30+
#name = "from_iterator"
31+
#harness = false
32+
#path = "benches/from_iterator.rs"
3333

3434
[workspace]
3535
members = [

0 commit comments

Comments
 (0)