-
Notifications
You must be signed in to change notification settings - Fork 30
/
Cargo.toml
129 lines (115 loc) · 3.92 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
[workspace]
members = [
"bin/alphanet/",
"crates/node",
"crates/precompile",
"crates/testing",
"crates/wallet",
]
default-members = ["bin/alphanet/"]
resolver = "2"
[workspace.package]
version = "0.0.0"
edition = "2021"
rust-version = "1.81"
authors = []
license = "MIT OR Apache-2.0"
repository = "https://github.com/paradigmxyz/alphanet"
keywords = ["ethereum", "crypto"]
categories = ["cryptography", "cryptography::cryptocurrencies"]
[workspace.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[workspace.lints.clippy]
dbg-macro = "warn"
manual-string-new = "warn"
uninlined-format-args = "warn"
use-self = "warn"
[workspace.lints.rust]
rust-2018-idioms = "deny"
unreachable-pub = "warn"
unused-must-use = "deny"
missing_docs = "warn"
[workspace.lints.rustdoc]
all = "warn"
[profile.release]
opt-level = 3
lto = "thin"
debug = "line-tables-only"
strip = true
panic = "unwind"
codegen-units = 16
# Use the `--profile profiling` flag to show symbols in release mode.
# e.g. `cargo build --profile profiling`
[profile.profiling]
inherits = "release"
debug = 2
strip = false
[workspace.dependencies]
# alphanet
alphanet-node = { path = "crates/node" }
alphanet-precompile = { path = "crates/precompile" }
alphanet-wallet = { path = "crates/wallet" }
alloy = { version = "0.4", features = [
"contract",
"providers",
"provider-http",
"signers",
] }
alloy-network = { version = "0.4" }
alloy-primitives = { version = "0.8.7" }
alloy-rpc-types = { version = "0.4" }
alloy-signer-local = { version = "0.4", features = ["mnemonic"] }
# tokio
tokio = { version = "1.21", default-features = false }
# reth
reth = { git = "https://github.com/paradigmxyz/reth.git", rev = "6d3aa5a" }
reth-chainspec = { git = "https://github.com/paradigmxyz/reth.git", rev = "6d3aa5a", features = [
"optimism",
] }
reth-cli = { git = "https://github.com/paradigmxyz/reth.git", rev = "6d3aa5a" }
reth-cli-util = { git = "https://github.com/paradigmxyz/reth.git", rev = "6d3aa5a" }
reth-rpc-eth-api = { git = "https://github.com/paradigmxyz/reth.git", rev = "6d3aa5a" }
reth-node-api = { git = "https://github.com/paradigmxyz/reth.git", rev = "6d3aa5a" }
reth-node-builder = { git = "https://github.com/paradigmxyz/reth.git", rev = "6d3aa5a" }
reth-node-core = { git = "https://github.com/paradigmxyz/reth.git", rev = "6d3aa5a", features = [
"optimism",
] }
reth-optimism-node = { git = "https://github.com/paradigmxyz/reth.git", rev = "6d3aa5a", features = [
"optimism",
] }
reth-optimism-cli = { git = "https://github.com/paradigmxyz/reth.git", rev = "6d3aa5a", features = [
"optimism",
] }
reth-optimism-rpc = { git = "https://github.com/paradigmxyz/reth.git", rev = "6d3aa5a", features = [
"optimism",
] }
reth-optimism-forks = { git = "https://github.com/paradigmxyz/reth.git", rev = "6d3aa5a" }
reth-optimism-chainspec = { git = "https://github.com/paradigmxyz/reth.git", rev = "6d3aa5a" }
reth-payload-builder = { git = "https://github.com/paradigmxyz/reth.git", rev = "6d3aa5a" }
reth-primitives = { git = "https://github.com/paradigmxyz/reth.git", rev = "6d3aa5a", features = [
"optimism",
] }
reth-provider = { git = "https://github.com/paradigmxyz/reth.git", rev = "6d3aa5a", features = [
"optimism",
] }
reth-revm = { git = "https://github.com/paradigmxyz/reth.git", rev = "6d3aa5a", features = [
"optimism",
] }
reth-storage-api = { git = "https://github.com/paradigmxyz/reth.git", rev = "6d3aa5a" }
reth-tracing = { git = "https://github.com/paradigmxyz/reth.git", rev = "6d3aa5a" }
reth-transaction-pool = { git = "https://github.com/paradigmxyz/reth.git", rev = "6d3aa5a" }
reth-network = { git = "https://github.com/paradigmxyz/reth.git", rev = "6d3aa5a" }
reth-network-types = { git = "https://github.com/paradigmxyz/reth.git", rev = "6d3aa5a" }
# rpc
jsonrpsee = "0.24"
# misc
clap = "4"
eyre = "0.6.12"
tracing = "0.1.0"
serde = "1"
serde_json = "1"
once_cell = "1.19"
thiserror = "1"
# misc-testing
rstest = "0.18.2"