[package]
name = "criterion2"
version = "2.0.0"
authors = [
"Boshen <boshenc@gmail.com>",
"Brook Heisler <brookheisler@gmail.com>",
"Jorge Aparicio <japaricious@gmail.com>",
]
edition = "2021"
description = "Statistics-driven micro-benchmarking library"
homepage = "https://bheisler.github.io/criterion.rs/book/index.html"
repository = "https://github.com/Boshen/criterion2.rs"
readme = "README.md"
keywords = ["benchmark", "criterion"]
categories = ["development-tools::profiling"]
license = "Apache-2.0 OR MIT"
exclude = ["book/*"]
[[bench]]
name = "bench_main"
harness = false
[lib]
name = "criterion"
bench = false
[dependencies]
anes = "0.2.0"
serde = "1.0.213"
serde_json = "1.0.132"
ciborium = "0.2.2"
bpaf = { version = "0.9.15", default-features = false }
walkdir = "2.5"
cast = "0.3"
num-traits = { version = "0.2.19", default-features = false, features = ["std"] }
oorandom = "11.1.4"
rayon = { version = "1.10", optional = true }
futures = { version = "0.3.31", default-features = false, optional = true }
smol = { version = "2.0.2", default-features = false, optional = true }
tokio = { version = "1.41.0", default-features = false, features = ["rt"], optional = true }
async-std = { version = "1.13.0", optional = true }
codspeed = { version = "2.7.2", optional = true }
colored = { version = "2.1.0", optional = true }
document-features = { version = "0.2.10", optional = true }
[dev-dependencies]
tempfile = "3.13.0"
approx = "0.5.1"
quickcheck = { version = "1.0.3", default-features = false }
rand = "0.8.5"
futures = { version = "0.3.31", default-features = false, features = ["executor"] }
[features]
default = ["cargo_bench_support", "rayon"]
stable = ["async_futures", "async_smol", "async_std", "async_tokio"]
codspeed = ["dep:codspeed", "dep:colored"]
async = []
async_futures = ["async", "futures/executor"]
async_smol = ["async", "smol"]
async_tokio = ["async", "tokio"]
async_std = ["async", "async-std"]
cargo_bench_support = []
[package.metadata.docs.rs]
features = ["async_futures", "async_smol", "async_std", "async_tokio"]