-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathCargo.toml
More file actions
68 lines (60 loc) · 1.84 KB
/
Cargo.toml
File metadata and controls
68 lines (60 loc) · 1.84 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
63
64
65
66
67
68
[package]
name = "nybbles"
version = "0.4.8"
authors = ["DaniPopes <57450786+DaniPopes@users.noreply.github.com>"]
description = "Efficient nibble-sized (4-bit) byte sequence data structure"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
categories = ["data-structures", "no-std"]
keywords = ["nibbles", "vector", "ethereum"]
homepage = "https://github.com/alloy-rs/nybbles"
repository = "https://github.com/alloy-rs/nybbles"
exclude = [".github/", "deny.toml", "release.toml", "rustfmt.toml"]
[dependencies]
smallvec = { version = "1.0", default-features = false, features = [
"const_new",
"union",
] }
ruint = { version = "1.17.0", default-features = false, features = ["alloc"] }
cfg-if = "1.0"
# serde
serde = { version = "1.0", default-features = false, optional = true, features = [
"derive",
] }
# rlp
alloy-rlp = { version = "0.3", default-features = false, optional = true }
# arbitrary
arbitrary = { version = "1.3", default-features = false, optional = true, features = [
"derive",
] }
proptest = { version = "1.4", default-features = false, optional = true, features = [
"alloc",
] }
[dev-dependencies]
hex-literal = "1"
criterion = { version = "4.3", package = "codspeed-criterion-compat" }
serde_json = "1.0"
[features]
default = ["std"]
std = ["serde?/std", "alloy-rlp?/std", "proptest?/std", "ruint/std"]
nightly = ["smallvec/specialization", "smallvec/may_dangle"]
serde = ["dep:serde", "ruint/serde", "smallvec/serde"]
rlp = ["dep:alloy-rlp"]
arbitrary = [
"dep:arbitrary",
"dep:proptest",
"ruint/arbitrary",
"smallvec/arbitrary",
"std",
]
[[bench]]
name = "bench"
harness = false
required-features = ["arbitrary"]
# Use the `--profile profiling` flag to show symbols in release mode.
# e.g. `cargo build --profile profiling`
[profile.profiling]
inherits = "release"
debug = true
strip = "none"