-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
145 lines (130 loc) · 6.35 KB
/
Copy pathCargo.toml
File metadata and controls
145 lines (130 loc) · 6.35 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
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
[workspace]
resolver = "2"
members = ["crates/*", "bin/*", "e2e"]
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
# TODO: clippy hangs (I've waited more than enough) with multicheck enabled on glint-primitives
multiple_crate_versions = "allow"
implicit_return = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
missing_safety_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
similar_names = "allow"
too_many_lines = "allow"
cognitive_complexity = "allow"
[workspace.package]
version = "0.1.0"
edition = "2024"
license = "MIT OR Apache-2.0"
authors = ["Dmytro Onypko <vaporif@proton.me>"]
description = "Ephemeral entity layer for Ethereum"
repository = "https://github.com/vaporif/glint"
readme = "README.md"
keywords = ["ethereum", "reth", "ephemeral", "storage"]
categories = ["cryptography::cryptocurrencies"]
[workspace.dependencies]
glint-engine = { path = "crates/engine" }
glint-exex = { path = "crates/exex" }
glint-node = { path = "crates/node" }
glint-primitives = { path = "crates/primitives" }
glint-sdk = { path = "crates/sdk" }
glint-analytics = { path = "crates/sidecar-live" }
glint-historical = { path = "crates/sidecar-history" }
glint-sidecar-live-sql = { path = "crates/sidecar-live-sql" }
glint-transport = { path = "crates/transport" }
rusqlite = { version = "0.39", features = ["bundled"] }
alloy-primitives = { version = "1.5", features = ["borsh"] }
alloy-rlp = { version = "0.3", features = ["derive"] }
alloy-sol-types = "1.5"
alloy-consensus = "1.7"
alloy-eips = "1.7"
alloy-provider = { version = "=1.7.3", features = ["reqwest"] }
alloy-network = "=1.7.3"
alloy-signer-local = "=1.7.3"
alloy-transport = "=1.7.3"
alloy-transport-http = { version = "=1.7.3", features = ["reqwest"] }
alloy-rpc-types-eth = "=1.7.3"
# version used by reth
alloy-evm = "0.27"
reth-ethereum = { git = "https://github.com/paradigmxyz/reth", tag = "v1.11.3", features = [
"node",
"node-api",
"evm",
"cli",
] }
reth-evm = { git = "https://github.com/paradigmxyz/reth", tag = "v1.11.3" }
reth-exex = { git = "https://github.com/paradigmxyz/reth", tag = "v1.11.3" }
reth-exex-types = { git = "https://github.com/paradigmxyz/reth", tag = "v1.11.3" }
reth-execution-types = { git = "https://github.com/paradigmxyz/reth", tag = "v1.11.3" }
reth-node-api = { git = "https://github.com/paradigmxyz/reth", tag = "v1.11.3" }
reth-node-builder = { git = "https://github.com/paradigmxyz/reth", tag = "v1.11.3" }
reth-primitives-traits = { git = "https://github.com/paradigmxyz/reth", tag = "v1.11.3" }
reth-provider = { git = "https://github.com/paradigmxyz/reth", tag = "v1.11.3" }
reth-trie = { git = "https://github.com/paradigmxyz/reth", tag = "v1.11.3" }
reth-ethereum-primitives = { git = "https://github.com/paradigmxyz/reth", tag = "v1.11.3" }
reth-cli-util = { git = "https://github.com/paradigmxyz/reth", tag = "v1.11.3" }
reth-metrics = { git = "https://github.com/paradigmxyz/reth", tag = "v1.11.3" }
metrics = "0.24"
metrics-exporter-prometheus = "0.16"
# op-reth crates from the optimism monorepo (pinned to reth v1.11.3)
reth-optimism-node = { git = "https://github.com/ethereum-optimism/optimism", rev = "9705faa886127f60e2b1a9b1bcdfcb57ceef2ab8" }
reth-optimism-evm = { git = "https://github.com/ethereum-optimism/optimism", rev = "9705faa886127f60e2b1a9b1bcdfcb57ceef2ab8" }
reth-optimism-primitives = { git = "https://github.com/ethereum-optimism/optimism", rev = "9705faa886127f60e2b1a9b1bcdfcb57ceef2ab8" }
reth-optimism-chainspec = { git = "https://github.com/ethereum-optimism/optimism", rev = "9705faa886127f60e2b1a9b1bcdfcb57ceef2ab8" }
reth-optimism-cli = { git = "https://github.com/ethereum-optimism/optimism", rev = "9705faa886127f60e2b1a9b1bcdfcb57ceef2ab8" }
# alloy-op-evm and alloy-op-hardforks (from the same optimism monorepo, used for OP block executor types)
alloy-op-evm = { git = "https://github.com/ethereum-optimism/optimism", rev = "9705faa886127f60e2b1a9b1bcdfcb57ceef2ab8" }
alloy-op-hardforks = { git = "https://github.com/ethereum-optimism/optimism", rev = "9705faa886127f60e2b1a9b1bcdfcb57ceef2ab8" }
# versions used by reth
revm = { version = "34.0.0", default-features = false }
revm-state = { version = "9.0.0", default-features = false }
arrow = { version = "58", features = ["ipc"] }
futures = "0.3"
tokio = { version = "1", features = ["net", "sync", "rt", "macros"] }
tokio-util = "0.7"
tracing = "0.1"
eyre = "0.6"
blake3 = "1"
borsh = { version = "1", features = ["derive"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
async-trait = "0.1"
datafusion = "53"
roaring = "0.11"
arrow-flight = { version = "58", features = ["flight-sql-experimental"] }
prost = "0.14"
tonic = "0.14"
tonic-prost = "0.14"
tonic-prost-build = "0.14"
tokio-stream = "0.1"
axum = "0.8"
parking_lot = "0.12"
clap = { version = "4", features = ["derive"] }
jsonrpsee = "0.26"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
bytes = "1"
tower = { version = "0.5", features = ["util"] }
testcontainers = { version = "0.27", features = ["host-port-exposure"] }
tempfile = "3"
reqwest = { version = "0.13", features = ["blocking", "json"] }
regex = "1"
thiserror = "2"
url = "2"
color-eyre = "0.6"
rstest = "0.25"
# Patch crates.io versions with the same optimism monorepo rev so there's only
# one copy of each crate in the dependency graph (mirrors the optimism
# workspace's own [patch.crates-io] section).
[patch.crates-io]
op-alloy-consensus = { git = "https://github.com/ethereum-optimism/optimism", rev = "9705faa886127f60e2b1a9b1bcdfcb57ceef2ab8" }
op-alloy-rpc-types-engine = { git = "https://github.com/ethereum-optimism/optimism", rev = "9705faa886127f60e2b1a9b1bcdfcb57ceef2ab8" }
op-alloy-network = { git = "https://github.com/ethereum-optimism/optimism", rev = "9705faa886127f60e2b1a9b1bcdfcb57ceef2ab8" }
op-alloy-rpc-types = { git = "https://github.com/ethereum-optimism/optimism", rev = "9705faa886127f60e2b1a9b1bcdfcb57ceef2ab8" }
op-alloy = { git = "https://github.com/ethereum-optimism/optimism", rev = "9705faa886127f60e2b1a9b1bcdfcb57ceef2ab8" }
alloy-op-hardforks = { git = "https://github.com/ethereum-optimism/optimism", rev = "9705faa886127f60e2b1a9b1bcdfcb57ceef2ab8" }
alloy-op-evm = { git = "https://github.com/ethereum-optimism/optimism", rev = "9705faa886127f60e2b1a9b1bcdfcb57ceef2ab8" }