forked from edgeandnode/toolshed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
52 lines (49 loc) · 1.58 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
[package]
name = "thegraph-core"
description = "A collection of Rust modules shared between The Graph's network services"
version = "0.3.0"
repository = "https://github.com/edgeandnode/toolshed"
authors = ["Lorenzo Delgado (LNSD) <[email protected]>"]
license = "MIT"
edition = "2021"
rust-version = "1.71.1"
[features]
async-graphql-support = ["dep:async-graphql"]
subgraph-client = [
"dep:tracing",
"dep:indoc",
"dep:serde_json",
"dep:reqwest",
"dep:thegraph-graphql-http",
"thegraph-graphql-http/http-client-reqwest",
]
subscriptions = [
"dep:base64",
"dep:serde_cbor_2",
"dep:alloy-chains",
"dep:ethers",
]
[dependencies]
alloy-chains = { version = "0.1.16", optional = true }
alloy-primitives = { version = "0.7", features = ["serde"] }
alloy-sol-types = "0.7"
async-graphql = { version = "7.0", optional = true }
base64 = { version = "0.22", optional = true }
bs58 = "0.5"
ethers = { version = "2.0.14", optional = true, default-features = false }
ethers-core = "2.0.14"
indoc = { version = "2.0.5", optional = true }
lazy_static = "1.4.0"
reqwest = { version = "0.12", optional = true }
serde = "1.0"
serde_cbor_2 = { version = "0.12.0-dev", optional = true }
serde_json = { version = "1.0.116", features = ["raw_value"], optional = true }
serde_with = "3.7"
thegraph-graphql-http = { version = "0.2", optional = true }
thiserror = "1.0"
tracing = { version = "0.1.40", optional = true }
url = "2.5"
[dev-dependencies]
assert_matches = "1.5.0"
test-with = { version = "0.12.6", default-features = false }
tokio = { version = "1.37.0", features = ["macros", "rt"] }