bench_matrix 0.2.2

A utility crate for defining and running parameterized benchmarks, with optional Criterion integration.
Documentation
# 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"
name = "bench_matrix"
version = "0.2.2"
authors = ["Excerion Sun <dev@excsn.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A utility crate for defining and running parameterized benchmarks, with optional Criterion integration."
readme = "README.md"
keywords = [
    "benchmark",
    "criterion",
    "matrix",
    "parameterized",
]
categories = ["development-tools::testing"]
license = "MPL-2.0"
repository = "https://github.com/excsn/bench_matrix"

[features]
criterion_integration = [
    "dep:criterion",
    "tokio",
]
default = ["criterion_integration"]
full = ["criterion_integration"]

[lib]
name = "bench_matrix"
path = "src/lib.rs"

[[bench]]
name = "async"
path = "benches/async.rs"
harness = false
required-features = ["criterion_integration"]

[[bench]]
name = "sync"
path = "benches/sync.rs"
harness = false
required-features = ["criterion_integration"]

[dependencies.criterion]
version = "^0.8"
features = ["async_tokio"]
optional = true

[dependencies.itertools]
version = "^0.12"

[dependencies.rand]
version = " ^0.9"

[dependencies.tokio]
version = "^1"
features = [
    "rt-multi-thread",
    "macros",
    "time",
]
optional = true