| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.80" |
| 15 |
name = "criterion" |
| 16 |
version = "0.7.0" |
| 17 |
authors = [ |
| 18 |
"Jorge Aparicio <[email protected]>", |
| 19 |
"Brook Heisler <[email protected]>", |
| 20 |
] |
| 21 |
build = false |
| 22 |
exclude = ["book/*"] |
| 23 |
autolib = false |
| 24 |
autobins = false |
| 25 |
autoexamples = false |
| 26 |
autotests = false |
| 27 |
autobenches = false |
| 28 |
description = "Statistics-driven micro-benchmarking library" |
| 29 |
homepage = "https://bheisler.github.io/criterion.rs/book/index.html" |
| 30 |
readme = "README.md" |
| 31 |
keywords = [ |
| 32 |
"criterion", |
| 33 |
"benchmark", |
| 34 |
] |
| 35 |
categories = ["development-tools::profiling"] |
| 36 |
license = "Apache-2.0 OR MIT" |
| 37 |
repository = "https://github.com/bheisler/criterion.rs" |
| 38 |
|
| 39 |
[package.metadata.docs.rs] |
| 40 |
features = [ |
| 41 |
"async_futures", |
| 42 |
"async_smol", |
| 43 |
"async_std", |
| 44 |
"async_tokio", |
| 45 |
] |
| 46 |
|
| 47 |
[badges.maintenance] |
| 48 |
status = "passively-maintained" |
| 49 |
|
| 50 |
[features] |
| 51 |
async = [] |
| 52 |
async_futures = [ |
| 53 |
"dep:futures", |
| 54 |
"async", |
| 55 |
] |
| 56 |
async_smol = [ |
| 57 |
"dep:smol", |
| 58 |
"async", |
| 59 |
] |
| 60 |
async_std = [ |
| 61 |
"dep:async-std", |
| 62 |
"async", |
| 63 |
] |
| 64 |
async_tokio = [ |
| 65 |
"dep:tokio", |
| 66 |
"async", |
| 67 |
] |
| 68 |
cargo_bench_support = [] |
| 69 |
csv_output = ["dep:csv"] |
| 70 |
default = [ |
| 71 |
"rayon", |
| 72 |
"plotters", |
| 73 |
"cargo_bench_support", |
| 74 |
] |
| 75 |
html_reports = [] |
| 76 |
plotters = ["dep:plotters"] |
| 77 |
rayon = ["dep:rayon"] |
| 78 |
real_blackbox = [] |
| 79 |
stable = [ |
| 80 |
"csv_output", |
| 81 |
"html_reports", |
| 82 |
"async_futures", |
| 83 |
"async_smol", |
| 84 |
"async_tokio", |
| 85 |
"async_std", |
| 86 |
] |
| 87 |
|
| 88 |
[lib] |
| 89 |
name = "criterion" |
| 90 |
path = "src/lib.rs" |
| 91 |
bench = false |
| 92 |
|
| 93 |
[[test]] |
| 94 |
name = "criterion_tests" |
| 95 |
path = "tests/criterion_tests.rs" |
| 96 |
|
| 97 |
[[bench]] |
| 98 |
name = "bench_main" |
| 99 |
path = "benches/bench_main.rs" |
| 100 |
harness = false |
| 101 |
|
| 102 |
[dependencies.anes] |
| 103 |
version = "0.1.4" |
| 104 |
|
| 105 |
[dependencies.async-std] |
| 106 |
version = "1.13" |
| 107 |
optional = true |
| 108 |
|
| 109 |
[dependencies.cast] |
| 110 |
version = "0.3" |
| 111 |
|
| 112 |
[dependencies.ciborium] |
| 113 |
version = "0.2.0" |
| 114 |
|
| 115 |
[dependencies.clap] |
| 116 |
version = "4.5" |
| 117 |
features = [ |
| 118 |
"std", |
| 119 |
"help", |
| 120 |
] |
| 121 |
default-features = false |
| 122 |
|
| 123 |
[dependencies.criterion-plot] |
| 124 |
version = "0.6.0" |
| 125 |
|
| 126 |
[dependencies.csv] |
| 127 |
version = "1.1" |
| 128 |
optional = true |
| 129 |
|
| 130 |
[dependencies.futures] |
| 131 |
version = "0.3" |
| 132 |
features = ["executor"] |
| 133 |
optional = true |
| 134 |
default-features = false |
| 135 |
|
| 136 |
[dependencies.itertools] |
| 137 |
version = "0.13" |
| 138 |
|
| 139 |
[dependencies.num-traits] |
| 140 |
version = "0.2" |
| 141 |
features = ["std"] |
| 142 |
default-features = false |
| 143 |
|
| 144 |
[dependencies.oorandom] |
| 145 |
version = "11.1" |
| 146 |
|
| 147 |
[dependencies.plotters] |
| 148 |
version = "^0.3.2" |
| 149 |
features = [ |
| 150 |
"svg_backend", |
| 151 |
"area_series", |
| 152 |
"line_series", |
| 153 |
] |
| 154 |
optional = true |
| 155 |
default-features = false |
| 156 |
|
| 157 |
[dependencies.rayon] |
| 158 |
version = "1.3" |
| 159 |
optional = true |
| 160 |
|
| 161 |
[dependencies.regex] |
| 162 |
version = "1.5.1" |
| 163 |
features = ["std"] |
| 164 |
default-features = false |
| 165 |
|
| 166 |
[dependencies.serde] |
| 167 |
version = "1.0.100" |
| 168 |
features = ["derive"] |
| 169 |
|
| 170 |
[dependencies.serde_json] |
| 171 |
version = "1.0.100" |
| 172 |
|
| 173 |
[dependencies.smol] |
| 174 |
version = "2.0" |
| 175 |
optional = true |
| 176 |
default-features = false |
| 177 |
|
| 178 |
[dependencies.tinytemplate] |
| 179 |
version = "1.1" |
| 180 |
|
| 181 |
[dependencies.tokio] |
| 182 |
version = "1.0" |
| 183 |
features = ["rt"] |
| 184 |
optional = true |
| 185 |
default-features = false |
| 186 |
|
| 187 |
[dependencies.walkdir] |
| 188 |
version = "2.3" |
| 189 |
|
| 190 |
[dev-dependencies.approx] |
| 191 |
version = "0.5.0" |
| 192 |
|
| 193 |
[dev-dependencies.futures] |
| 194 |
version = "0.3" |
| 195 |
|
| 196 |
[dev-dependencies.quickcheck] |
| 197 |
version = "1.0" |
| 198 |
default-features = false |
| 199 |
|
| 200 |
[dev-dependencies.rand] |
| 201 |
version = "0.8" |
| 202 |
|
| 203 |
[dev-dependencies.tempfile] |
| 204 |
version = "3.5.0" |