-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
34 lines (29 loc) · 997 Bytes
/
Cargo.toml
File metadata and controls
34 lines (29 loc) · 997 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[package]
name = "bench_matrix"
version = "0.2.1"
edition = "2024"
authors = ["Excerion Sun <dev@excsn.com>"]
description = "A utility crate for defining and running parameterized benchmarks, with optional Criterion integration."
license = "MPL-2.0"
repository = "https://github.com/excsn/bench_matrix"
readme = "README.md"
keywords = ["benchmark", "criterion", "matrix", "parameterized"]
categories = ["development-tools::testing"]
[dependencies]
itertools = "^0.12"
tokio = { version = "^1", features = ["rt-multi-thread", "macros", "time"], optional = true }
criterion = { version = "^0.8", features = ["async_tokio"], optional = true }
rand = { version =" ^0.9" }
[features]
full = ["criterion_integration"]
default = ["criterion_integration"]
criterion_integration = ["dep:criterion", "tokio"]
# [dev-dependencies]
[[bench]]
name = "async"
harness = false
required-features = ["criterion_integration"]
[[bench]]
name = "sync"
harness = false
required-features = ["criterion_integration"]