forked from alloy-rs/trie
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
62 lines (57 loc) · 1.8 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
[package]
name = "alloy-trie"
version = "0.2.1"
authors = [
"rkrasiuk <[email protected]>",
"gakonst <[email protected]>",
"DaniPopes <[email protected]>",
]
description = """
Fast Merkle-Patricia Trie (MPT) state root calculator
and proof generator for prefix-sorted nibbles
"""
edition = "2021"
rust-version = "1.65"
license = "MIT OR Apache-2.0"
categories = ["data-structures", "no-std"]
keywords = ["nibbles", "trie", "mpt", "merkle", "ethereum"]
homepage = "https://github.com/alloy-rs/trie"
repository = "https://github.com/alloy-rs/trie"
exclude = [".github/", "deny.toml", "release.toml", "rustfmt.toml"]
[dependencies]
alloy-primitives = { version = "0.6", default-features = false, features = ["rlp"] }
alloy-rlp = { version = "0.3", default-features = false, features = ["derive"] }
derive_more = "0.99"
hashbrown = { version = "0.14", features = ["ahash", "inline-more"] }
nybbles = { version = "0.1", default-features = false }
smallvec = "1.11"
tracing = { version = "0.1", default-features = false }
# serde
serde = { version = "1.0", default-features = false, features = ["derive"], optional = true }
# arbitrary
arbitrary = { version = "1.3", optional = true }
derive_arbitrary = { version = "1.3", optional = true }
proptest = { version = "1.4", optional = true }
proptest-derive = { version = "0.4", optional = true }
[dev-dependencies]
hash-db = "0.15"
plain_hasher = "0.2"
triehash = "0.8.4"
[features]
default = ["std"]
std = [
"alloy-primitives/std",
"alloy-rlp/std",
"nybbles/std",
"tracing/std",
"serde?/std",
]
serde = ["dep:serde", "alloy-primitives/serde", "hashbrown/serde", "nybbles/serde"]
arbitrary = [
"std",
"dep:arbitrary",
"dep:derive_arbitrary",
"dep:proptest",
"dep:proptest-derive",
"alloy-primitives/arbitrary",
]