-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathCargo.toml
More file actions
62 lines (55 loc) · 2.01 KB
/
Cargo.toml
File metadata and controls
62 lines (55 loc) · 2.01 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[package]
name = "codspeed-criterion-compat"
version = "4.4.1"
rust-version = "1.74" # MSRV
edition = "2021"
description = "Criterion.rs compatibility layer for CodSpeed"
authors = ["Arthur Pastel <arthur@codspeed.io>"]
documentation = "https://codspeed.io/docs/reference/codspeed-rust/criterion"
readme = "README.md"
repository = "https://github.com/CodSpeedHQ/codspeed-rust"
homepage = "https://codspeed.io"
license = "MIT OR Apache-2.0"
categories = [
"development-tools",
"development-tools::profiling",
"development-tools::testing",
]
keywords = ["codspeed", "benchmark", "criterion"]
[dependencies]
criterion = { package = "codspeed-criterion-compat-walltime", path = "./criterion_fork", version = "=4.4.1", default-features = false }
codspeed = { path = "../codspeed", version = "=4.4.1" }
colored = "2.1.0"
clap = { version = "4", default-features = false, features = ["std"] }
regex = { version = "1.5", default-features = false, features = ["std"] }
futures = { version = "0.3", default-features = false, optional = true }
smol = { version = "2.0", default-features = false, optional = true }
tokio = { version = "1.39", default-features = false, features = [
"rt",
], optional = true }
async-std = { version = "1.12", optional = true }
[features]
default = ["rayon", "plotters", "cargo_bench_support"]
# Criterion.rs features
async = ["futures", "criterion/async"]
async_futures = ["criterion/async_futures", "futures/executor", "async"]
async_smol = ["criterion/async_smol", "smol", "async"]
async_tokio = ["criterion/async_tokio", "tokio", "async"]
async_std = ["criterion/async_std", "async-std", "async"]
html_reports = ["criterion/html_reports"]
cargo_bench_support = ["criterion/cargo_bench_support"]
csv_output = ["criterion/csv_output"]
rayon = ["criterion/rayon"]
plotters = ["criterion/plotters"]
[[bench]]
name = "criterion_example"
harness = false
[[bench]]
name = "criterion_integration_main"
harness = false
[[bench]]
name = "test_benches"
harness = false
[[bench]]
name = "repro_custom_main"
harness = false