-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
73 lines (55 loc) · 1.57 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
65
66
67
68
69
70
71
72
73
[package]
name = "cami-benches"
version = "0.1.0"
edition = "2021"
rust-version = "1.62.1"
# this is so that `cargo bench` doesn't attempt to run lib_benches
# autobenches = false
[features]
alloc = ["cami/alloc"]
deref_pure = ["cami/deref_pure"]
std = ["alloc", "cami/std"]
[dependencies]
cami = { path = "../cami", version = "0.0.2", features = ["transmute", "debug"] }
criterion = { version = "0.5.1", optional = true }
# iai-callgrind = { version = "0.11.0", features = ['client_requests_defs'], optional = true }
iai-callgrind = { version = "0.11.0", optional = true }
# For now this is the only random generator being used. But it's an optional dependency, so we can
# switch to another easily. See our 'Random' trait.
fastrand = { version = "2.0.2", optional = true }
# TODO?
#
# ref-cast = "1.0"
[profile.bench]
debug = true
# Benches. KEEP them in alphabetical order.
[[bench]]
name = "alloc-btreeset-u8"
harness = false
required-features = ["alloc", "criterion"]
[[bench]]
name = "alloc-vec-str-iai"
harness = false
required-features = ["iai-callgrind", "fastrand", "alloc"]
[[bench]]
name = "alloc-vec-str-criterion"
harness = false
required-features = ["alloc", "criterion"]
[[bench]]
name = "alloc-vec-string"
harness = false
required-features = ["alloc", "criterion"]
[[bench]]
name = "alloc-vec-u8_slice"
harness = false
required-features = ["alloc", "criterion"]
[[bench]]
name = "alloc-vec-u8"
harness = false
required-features = ["alloc", "criterion"]
[[bench]]
name = "stack-slice-u8"
harness = false
required-features = ["criterion"]
[lints.rust]
warnings = "allow"