-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathCargo.toml
More file actions
132 lines (124 loc) · 3.83 KB
/
Cargo.toml
File metadata and controls
132 lines (124 loc) · 3.83 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
[workspace]
resolver = "2"
members = [
"core",
"core/graphman",
"core/graphman_store",
"chain/common",
"chain/ethereum",
"chain/near",
"gnd",
"graphql",
"node",
"runtime/derive",
"runtime/test",
"runtime/wasm",
"server/graphman",
"server/http",
"server/index-node",
"server/json-rpc",
"server/metrics",
"store/postgres",
"store/test-store",
"graph",
"tests",
"graph/derive",
]
[workspace.package]
version = "0.36.0"
edition = "2021"
authors = ["The Graph core developers & contributors"]
readme = "README.md"
homepage = "https://thegraph.com"
repository = "https://github.com/graphprotocol/graph-node"
license = "MIT OR Apache-2.0"
[workspace.dependencies]
anyhow = "1.0"
async-graphql = { version = "7.1.0", features = ["chrono"] }
async-graphql-axum = "7.0.17"
async-trait = "0.1.74"
axum = "0.8.8"
chrono = "0.4.42"
bs58 = "0.5.1"
clap = { version = "4.5.4", features = ["derive", "env", "wrap_help"] }
derivative = "2.2.0"
diesel = { version = "2.2.7", features = [
"postgres",
"serde_json",
"numeric",
"r2d2",
"chrono",
"i-implement-a-third-party-backend-and-opt-into-breaking-changes",
] }
diesel-async = { version = "0.7.4", features = ["deadpool", "async-connection-wrapper", "tokio", "postgres"] }
diesel-derive-enum = { version = "2.1.0", features = ["postgres"] }
diesel-dynamic-schema = { version = "0.2.3", features = ["postgres"] }
diesel_derives = "2.3.6"
diesel_migrations = "2.3.1"
envconfig = "0.11.1"
graph = { path = "./graph" }
graph-core = { path = "./core" }
graph-store-postgres = { path = "./store/postgres" }
graphman-server = { path = "./server/graphman" }
graphman = { path = "./core/graphman" }
graphman-store = { path = "./core/graphman_store" }
itertools = "0.14.0"
lazy_static = "1.5.0"
prost = "0.14"
prost-types = "0.14"
redis = { version = "1.0.2", features = [
"aio",
"connection-manager",
"tokio-comp",
] }
regex = "1.5.4"
reqwest = "0.12.23"
serde = { version = "1.0.126", features = ["rc"] }
serde_derive = "1.0.125"
serde_json = { version = "1.0", features = ["arbitrary_precision"] }
serde_regex = "1.1.0"
serde_yaml = "0.9.21"
slog = { version = "2.8.2", features = ["release_max_level_trace", "max_level_trace"] }
sqlparser = { version = "0.60.0", features = ["visitor"] }
strum = { version = "0.27", features = ["derive"] }
syn = { version = "2.0.114", features = ["full"] }
test-store = { path = "./store/test-store" }
thiserror = "2.0.17"
deadpool = { version = "0.12", features = ["rt_tokio_1", "managed"] }
tokio = { version = "1.45.1", features = ["full"] }
tokio-stream = { version = "0.1.15", features = ["sync"] }
tokio-retry = "0.3.0"
tonic = { version = "0.14", features = ["tls-native-roots", "gzip"] }
tonic-prost = "0.14"
tonic-prost-build = "0.14"
tower-http = { version = "0.6.8", features = ["cors"] }
wasmparser = "0.118.1"
wasmtime = { version = "35.0.0", features = ["async"] }
substreams = "=0.6.0"
substreams-entity-change = "2"
substreams-near-core = "=0.10.2"
rand = { version = "0.9.2", features = ["os_rng"] }
prometheus = "0.14.0"
# Dependencies related to Amp subgraphs
ahash = "0.8.11"
alloy = { version = "1.0.12", default-features = false, features = ["json-abi", "serde"] }
arrow = { version = "=57.0.0" }
arrow-flight = { version = "=57.0.0", features = ["flight-sql-experimental"] }
futures = "0.3.31"
half = "2.7.1"
indoc = "2.0.7"
lazy-regex = "3.4.1"
parking_lot = "0.12.4"
sqlparser-latest = { version = "0.57.0", package = "sqlparser", features = ["visitor"] }
tokio-util = "0.7.15"
[workspace.lints.clippy]
too_many_arguments = "allow"
type_complexity = "allow"
# Incremental compilation on Rust 1.58 causes an ICE on build. As soon as graph node builds again, these can be removed.
[profile.test]
incremental = false
[profile.dev]
incremental = false
[profile.release]
opt-level = 's'
strip = "debuginfo"