forked from op-rs/kona
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
81 lines (68 loc) · 2.4 KB
/
Cargo.toml
File metadata and controls
81 lines (68 loc) · 2.4 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
69
70
71
72
73
74
75
76
77
78
79
80
81
[package]
name = "kona-p2p"
version = "0.1.0"
description = "P2P library for the OP Stack"
edition.workspace = true
authors.workspace = true
license.workspace = true
homepage.workspace = true
keywords.workspace = true
categories.workspace = true
repository.workspace = true
rust-version.workspace = true
[lints]
workspace = true
[dependencies]
# Kona
kona-genesis.workspace = true
kona-rpc = { workspace = true, features = ["jsonrpsee", "reqwest", "std"] }
# Alloy
alloy-rlp.workspace = true
alloy-primitives = { workspace = true, features = ["k256", "getrandom"] }
alloy-rpc-types-engine.workspace = true
alloy-consensus.workspace = true
# Op Alloy
op-alloy-consensus = { workspace = true, features = ["k256"] }
op-alloy-rpc-types-engine = { workspace = true, features = ["std"] }
# Networking
snap.workspace = true
futures.workspace = true
discv5 = { workspace = true, features = ["libp2p"] }
libp2p = { workspace = true, features = ["macros", "tokio", "tcp", "noise", "gossipsub", "ping", "yamux"] }
openssl = { workspace = true, features = ["vendored"] }
# Cryptography
secp256k1.workspace = true
# Misc
url.workspace = true
dirs.workspace = true
serde.workspace = true
tokio.workspace = true
tracing.workspace = true
thiserror.workspace = true
lazy_static.workspace = true
async-trait.workspace = true
unsigned-varint.workspace = true
rand = { workspace = true, features = ["thread_rng"] }
jsonrpsee = { workspace = true, features = ["server"] }
serde_json = { workspace = true, features = ["alloc"] }
derive_more = { workspace = true, features = ["display", "deref", "debug"] }
# `arbitrary` feature dependencies
arbitrary = { workspace = true, features = ["derive"], optional = true }
# `metrics` feature
prometheus = { workspace = true, features = ["process"], optional = true }
[dev-dependencies]
arbtest.workspace = true
tempfile.workspace = true
kona-cli.workspace = true
multihash.workspace = true
alloy-eips.workspace = true
rand = { workspace = true, features = ["thread_rng"] }
arbitrary = { workspace = true, features = ["derive"] }
alloy-primitives = { workspace = true, features = ["arbitrary"] }
alloy-rpc-types-engine = { workspace = true, features = ["std"] }
alloy-consensus = { workspace = true, features = ["arbitrary", "k256"] }
op-alloy-consensus = { workspace = true, features = ["arbitrary", "k256"] }
[features]
default = []
metrics = ["dep:prometheus"]
arbitrary = ["dep:arbitrary", "alloy-primitives/arbitrary"]