-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
81 lines (73 loc) · 2.4 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
[package]
name = "subway"
version = "0.1.5"
authors = ["Acala Developers <[email protected]>"]
repository = "https://github.com/AcalaNetwork/subway"
description = "Substrate JSON RPC gateway"
license = "Apache-2.0"
edition = "2021"
build = "build.rs"
[lib]
name = "subway"
path = "src/lib.rs"
[[bin]]
name = "subway"
path = "src/main.rs"
[dependencies]
alloy-consensus = { version = "0.1.1", features = ["k256", "serde"] }
alloy-eips = { version = "0.1.1" }
alloy-primitives = { version = "0.7.6", features = ["serde"] }
anyhow = "1.0.68"
async-trait = "0.1.63"
blake2 = "0.10.6"
built = { version = "0.7", features = ["chrono", "semver"] }
chrono = "0.4.24"
clap = { version = "4.1.1", features = ["derive", "cargo"] }
const-hex = "1.12.0"
const_format = "0.2.32"
enumflags2 = "0.7.7"
futures = "0.3.25"
garde = { version = "0.20.0", features = ["full"] }
glob = "0.3.1"
governor = "0.6.3"
http = "1"
http-body = "1"
http-body-util = "0.1"
hyper = "1.3"
jsonrpsee = { version = "0.24.0", features = ["full"] }
moka = { version = "0.12", features = ["future"] }
opentelemetry = "0.23"
opentelemetry-datadog = { version = "0.11", features = ["reqwest-client"] }
opentelemetry-jaeger = { version = "0.22", features = ["rt-tokio"] }
opentelemetry-otlp = { version = "0.16", features = ["tls", "tls-roots"] }
opentelemetry-semantic-conventions = "0.15.0"
opentelemetry_sdk = { version = "0.23", features = ["rt-tokio", "trace"] }
rand = "0.8.5"
regex = "1.10.5"
serde = "1.0.152"
serde_json = "1.0.92"
serde_yaml = "0.9.17"
substrate-prometheus-endpoint = "0.17.0"
tokio = { version = "1.24.2", features = ["full"] }
tower = { version = "0.4.13", features = ["full"] }
tower-http = { version = "0.5.2", features = ["full"] }
tracing = "0.1.40"
tracing-serde = "0.1.3"
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "json"] }
[build-dependencies]
built = { version = "0.7", features = ["cargo-lock", "dependency-tree", "git2", "chrono", "semver"] }
[dev-dependencies]
criterion = { version = "0.5.1", features = ["async_tokio", "html_reports"] }
futures-util = "0.3.15"
jsonrpc-http-server = { version = "18.0.0" }
jsonrpc-pubsub = { version = "18.0.0" }
jsonrpc-ws-server = { version = "18.0.0" }
pprof = { version = "0.13.0", features = ["flamegraph", "criterion"] }
[[bench]]
name = "bench"
harness = false
[target.'cfg(tokio_unstable)'.dependencies]
console-subscriber = "0.3.0"
[profile.release]
codegen-units = 1
lto = true