-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathCargo.toml
More file actions
141 lines (135 loc) · 4.32 KB
/
Cargo.toml
File metadata and controls
141 lines (135 loc) · 4.32 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
[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.42.1"
edition = "2024"
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]
alloy = { version = "2.0.0", features = ["dyn-abi", "json-abi", "full", "arbitrary", "json-rpc", "serde"] }
alloy-rpc-types = "2.0.0"
# rustls is pulled in transitively by alloy (aws_lc_rs) and object_store via
# reqwest (ring). With both providers linked, rustls 0.23 requires an explicit
# default provider to be installed before any TLS use. We install aws_lc_rs
# explicitly in each binary/test entry point.
rustls = { version = "0.23", default-features = false, features = ["aws_lc_rs"] }
anyhow = "1.0"
async-graphql = { version = "7.2.1", features = ["chrono"] }
async-graphql-axum = "7.2.1"
async-trait = "0.1.74"
axum = "0.8.9"
chrono = "0.4.44"
bs58 = "0.5.1"
clap = { version = "4.5.4", features = ["derive", "env", "wrap_help"] }
clap_complete = "4"
console = "0.16"
derive_more = { version = "2.1.1", default-features = false }
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.8.0", 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.7"
diesel_migrations = "2.3.1"
env_logger = "0.11.10"
envconfig = "0.11.1"
git-testament = "0.2"
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" }
graphql-tools = "0.5.1"
indicatif = "0.18"
Inflector = "0.11.3"
itertools = "0.14.0"
lazy_static = "1.5.0"
prost = "0.14"
prost-types = "0.14"
redis = { version = "1.2.0", features = [
"aio",
"connection-manager",
"tokio-comp",
] }
regex = "1.5.4"
reqwest = "0.12.23"
semver = { version = "1", features = ["serde"] }
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"] }
slog-async = "2.5.0"
slog-term = "2.7.0"
sqlparser = { version = "0.61.0", features = ["visitor"] }
strum = { version = "0.28", features = ["derive"] }
syn = { version = "2.0.117", features = ["full"] }
test-store = { path = "./store/test-store" }
thiserror = "2.0.18"
deadpool = { version = "0.13", features = ["rt_tokio_1", "managed"] }
tokio = { version = "1.50.0", features = ["full"] }
tokio-stream = { version = "0.1.18", 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"] }
tower = { version = "0.5.1", features = ["full"] }
wasmparser = "0.118.1"
wasmtime = { version = "38.0.4", features = ["async"] }
rand = { version = "0.9.2", features = ["os_rng"] }
prometheus = "0.14.0"
url = "2.5.8"
# Dependencies related to Amp subgraphs
ahash = "0.8.11"
arrow = { version = "=58.1.0" }
arrow-flight = { version = "=58.1.0", features = ["flight-sql-experimental"] }
parquet = { version = "=58.1.0" }
futures = "0.3.31"
half = "2.7.1"
indoc = "2.0.7"
lazy-regex = "3.6.0"
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"
[profile.release]
opt-level = 's'
strip = "debuginfo"