-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
65 lines (55 loc) · 1.61 KB
/
Cargo.toml
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
63
64
[package]
name = "binggan"
version = "0.14.2"
authors = ["Pascal Seitz <[email protected]>"]
edition = "2021"
homepage = "https://github.com/pseitz/binggan"
repository = "https://github.com/pseitz/binggan"
description = "Benchmarking library for stable Rust"
readme = "README.md"
keywords = ["perf", "profiler", "benchmark", "memory"]
categories = ["development-tools::profiling"]
license = "MIT"
exclude = ["*logo*"]
rust-version = "1.76"
[lints.clippy]
cargo = { priority = -1, level = "deny" }
complexity = { priority = -1, level = "deny" }
correctness = { priority = -1, level = "deny" }
perf = { priority = -1, level = "deny" }
style = { priority = -1, level = "deny" }
suspicious = { priority = -1, level = "deny" }
# docs.rs-specific configuration
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
alloca = "0.4.0"
miniserde = "0.1.38"
peakmem-alloc = "0.3.0"
prettytable-rs = {version = "0.10.0", optional = true}
unicode-width = "0.1.11"
yansi = { version = "1.0.1", features = ["detect-env", "detect-tty"] }
rustop = "=1.1.4"
rustc-hash = "2.0.0"
bpu_trasher = { version = "0.2.0", optional = true }
[target.'cfg(target_os = "linux")'.dependencies]
perf-event = { version = "0.4.8" }
[features]
real_blackbox = []
table_reporter = ["prettytable-rs"]
# branch_predictor plugin to trash the branch predictor
branch_predictor = ["bpu_trasher"]
default = ["branch_predictor"]
[[bench]]
name = "bench"
harness = false
[[bench]]
name = "bench_group"
harness = false
[[bench]]
name = "bench_input"
harness = false
[[bench]]
name = "test_bench"
harness = false