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