[package]
authors = [
"Jorge Aparicio <japaricious@gmail.com>",
"Brook Heisler <brookheisler@gmail.com>",
]
name = "criterion"
version = "0.5.1"
edition = "2018"
description = "Statistics-driven micro-benchmarking library"
homepage = "https://bheisler.github.io/criterion.rs/book/index.html"
repository = "https://github.com/bheisler/criterion.rs"
readme = "README.md"
keywords = ["criterion", "benchmark"]
categories = ["development-tools::profiling"]
license = "Apache-2.0 OR MIT"
exclude = ["book/*"]
[dependencies]
anes = "0.1.4"
once_cell = "1.14"
criterion-plot = { path = "plot", version = "0.5.0" }
itertools = "0.10"
serde = "1.0"
serde_json = "1.0"
serde_derive = "1.0"
ciborium = "0.2.0"
is-terminal = "0.4.6"
clap = { version = "4", default-features = false, features = ["std"] }
walkdir = "2.3"
tinytemplate = "1.1"
cast = "0.3"
num-traits = { version = "0.2", default-features = false, features = ["std"] }
oorandom = "11.1"
regex = { version = "1.5", default-features = false, features = ["std"] }
rayon = { version = "1.3", optional = true }
csv = { version = "1.1", optional = true }
futures = { version = "0.3", default_features = false, optional = true }
smol = { version = "1.2", default-features = false, optional = true }
tokio = { version = "1.0", default-features = false, features = [
"rt",
], optional = true }
async-std = { version = "1.9", optional = true }
[dependencies.plotters]
version = "^0.3.1"
optional = true
default-features = false
features = ["svg_backend", "area_series", "line_series"]
[dev-dependencies]
tempfile = "~3.5.0"
approx = "0.5.0"
quickcheck = { version = "1.0", default-features = false }
rand = "0.8"
futures = { version = "0.3", default_features = false, features = ["executor"] }
[badges]
maintenance = { status = "passively-maintained" }
[features]
stable = [
"csv_output",
"html_reports",
"async_futures",
"async_smol",
"async_tokio",
"async_std",
]
default = ["rayon", "plotters", "cargo_bench_support"]
real_blackbox = []
async = ["futures"]
async_futures = ["futures/executor", "async"]
async_smol = ["smol", "async"]
async_tokio = ["tokio", "async"]
async_std = ["async-std", "async"]
html_reports = []
cargo_bench_support = []
csv_output = ["csv"]
[workspace]
exclude = ["cargo-criterion"]
[[bench]]
name = "bench_main"
harness = false
[lib]
bench = false
[package.metadata.docs.rs]
features = ["async_futures", "async_smol", "async_std", "async_tokio"]