@@ -16,7 +16,7 @@ categories = [
16
16
]
17
17
keywords = [" codspeed" , " benchmark" , " criterion" ]
18
18
[dependencies ]
19
- criterion = " 0.5.1"
19
+ criterion = { version = " 0.5.1" , default-features = false }
20
20
codspeed = { path = " ../codspeed" , version = " =2.1.0" }
21
21
colored = " 2.0.0"
22
22
@@ -28,13 +28,19 @@ tokio = { version = "1.0", default-features = false, features = [
28
28
async-std = { version = " 1.9" , optional = true }
29
29
30
30
[features ]
31
+ default = [" rayon" , " plotters" , " cargo_bench_support" ]
32
+ # Criterion.rs features
31
33
async = [" futures" , " criterion/async" ]
32
-
33
34
async_futures = [" criterion/async_futures" , " futures/executor" , " async" ]
34
35
async_smol = [" criterion/async_smol" , " smol" , " async" ]
35
36
async_tokio = [" criterion/async_tokio" , " tokio" , " async" ]
36
37
async_std = [" criterion/async_std" , " async-std" , " async" ]
37
38
39
+ html_reports = [" criterion/html_reports" ]
40
+ cargo_bench_support = [" criterion/cargo_bench_support" ]
41
+ csv_output = [" criterion/csv_output" ]
42
+ rayon = [" criterion/rayon" ]
43
+ plotters = [" criterion/plotters" ]
38
44
39
45
[[bench ]]
40
46
name = " criterion_example"
0 commit comments