-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Cargo.toml
94 lines (86 loc) · 2.11 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[package]
name = "reth-codecs"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
[lints]
workspace = true
[dependencies]
# reth
reth-codecs-derive = { path = "./derive", default-features = false }
# eth
alloy-consensus = { workspace = true, optional = true }
alloy-eips = { workspace = true, optional = true, features = ["serde"] }
alloy-genesis = { workspace = true, optional = true }
alloy-primitives.workspace = true
alloy-trie = { workspace = true, optional = true }
# optimism
op-alloy-consensus = { workspace = true, optional = true }
# misc
bytes.workspace = true
modular-bitfield.workspace = true
visibility = { version = "0.1.1", optional = true}
serde.workspace = true
arbitrary = { workspace = true, features = ["derive"], optional = true }
[dev-dependencies]
alloy-eips = { workspace = true, default-features = false, features = [
"arbitrary",
"serde",
] }
alloy-primitives = { workspace = true, features = [
"arbitrary",
"serde",
"rand",
] }
alloy-consensus = { workspace = true, features = ["arbitrary"] }
test-fuzz.workspace = true
serde_json.workspace = true
arbitrary = { workspace = true, features = ["derive"] }
proptest.workspace = true
proptest-arbitrary-interop.workspace = true
rstest.workspace = true
[features]
default = ["std", "alloy"]
std = [
"alloy-primitives/std",
"bytes/std",
"alloy-consensus?/std",
"alloy-eips?/std",
"alloy-genesis?/std",
"alloy-trie?/std",
"serde/std",
"op-alloy-consensus?/std",
"serde_json/std"
]
alloy = [
"dep:alloy-consensus",
"dep:alloy-eips",
"dep:alloy-genesis",
"dep:alloy-trie",
]
op = ["alloy", "dep:op-alloy-consensus"]
test-utils = [
"std",
"alloy",
"arbitrary",
"dep:visibility",
"dep:arbitrary"
]
serde = [
"alloy-consensus?/serde",
"alloy-eips?/serde",
"alloy-primitives/serde",
"alloy-trie?/serde",
"bytes/serde",
"op-alloy-consensus?/serde",
]
arbitrary = [
"alloy-consensus?/arbitrary",
"alloy-eips?/arbitrary",
"alloy-primitives/arbitrary",
"alloy-trie?/arbitrary",
"op-alloy-consensus?/arbitrary"
]