criterion2 3.0.3

Statistics-driven micro-benchmarking library
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85.0"
name = "criterion2"
version = "3.0.3"
authors = [
    "Boshen <boshenc@gmail.com>",
    "Brook Heisler <brookheisler@gmail.com>",
    "Jorge Aparicio <japaricious@gmail.com>",
]
build = false
exclude = ["book/*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Statistics-driven micro-benchmarking library"
homepage = "https://bheisler.github.io/criterion.rs/book/index.html"
readme = "README.md"
keywords = [
    "benchmark",
    "criterion",
]
categories = ["development-tools::profiling"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/Boshen/criterion2.rs"

[package.metadata.docs.rs]
features = [
    "async_futures",
    "async_smol",
    "async_std",
    "async_tokio",
]

[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]
name = "criterion"
path = "src/lib.rs"
bench = false

[[test]]
name = "criterion_tests"
path = "tests/criterion_tests.rs"

[[test]]
name = "macros"
path = "tests/macros.rs"

[[bench]]
name = "bench_main"
path = "benches/bench_main.rs"
harness = false

[dependencies.anes]
version = "0.2.0"

[dependencies.async-std]
version = "1.13.0"
optional = true

[dependencies.bpaf]
version = "0.9.16"
default-features = false

[dependencies.cast]
version = "0.3"

[dependencies.ciborium]
version = "0.2.2"

[dependencies.codspeed]
version = "4.0.0"
optional = true

[dependencies.colored]
version = "3.0.0"
optional = true

[dependencies.document-features]
version = "0.2.11"
optional = true

[dependencies.futures]
version = "0.3.31"
optional = true
default-features = false

[dependencies.num-traits]
version = "0.2.19"
features = ["std"]
default-features = false

[dependencies.oorandom]
version = "11.1.4"

[dependencies.rayon]
version = "1.10"
optional = true

[dependencies.serde]
version = "1.0.217"

[dependencies.serde_json]
version = "1.0.138"

[dependencies.smol]
version = "2.0.2"
optional = true
default-features = false

[dependencies.tokio]
version = "1.43.0"
features = ["rt"]
optional = true
default-features = false

[dependencies.walkdir]
version = "2.5"

[dev-dependencies.approx]
version = "0.5.1"

[dev-dependencies.futures]
version = "0.3.31"
features = ["executor"]
default-features = false

[dev-dependencies.quickcheck]
version = "1.0.3"
default-features = false

[dev-dependencies.rand]
version = "0.10.0"
features = ["std_rng"]
default-features = false

[dev-dependencies.tempfile]
version = "3.16.0"