This repository has been archived by the owner on Mar 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
98 lines (87 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[workspace]
members = [
"./crates/contracts",
"./crates/engine",
"./crates/monitors/erc20_new",
]
[workspace.package]
version = "0.1.0"
edition = "2021"
[workspace.dependencies]
sandwitch-contracts = { path = "./crates/contracts", default-features = false, features = ["multicall"] }
sandwitch-engine = { path = "./crates/engine", default-features = false }
sandwitch-monitor-erc20 = { path = "./crates/monitors/erc20_new", default-features = false }
async-trait = "0.1"
anyhow = "1"
bytes = { version = "1.4", features = ["serde"] }
futures = "0.3"
hex-literal = "0.4"
impl-tools = "0.8.0"
itertools = "0.10"
lazy_static = "1.4"
metrics = "0.20"
pin-project = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_with = "2.3"
thiserror = "1"
tokio-util = "0.7"
tracing = "0.1"
url = { version = "2.2", features = ["serde"] }
[workspace.dependencies.ethers]
version = "=2.0.4"
default-features = false
features = ["abigen", "rustls"]
[workspace.dependencies.tokio]
version = "1"
default-features = false
features = [
"fs",
"macros",
"time",
"rt-multi-thread",
"signal",
]
[package]
name = "sandwitch"
version.workspace = true
edition.workspace = true
[features]
default = ["ws", "ipc"]
ipc = ["ethers/ipc"]
ws = ["ethers/ws"]
pancake_swap = [
"legacy",
"dep:sandwitch-monitor-erc20",
]
legacy = ["sandwitch-engine/legacy", "ethers/legacy"]
[dependencies]
sandwitch-engine.workspace = true
sandwitch-monitor-erc20 = { workspace = true, optional = true }
anyhow.workspace = true
bytes.workspace = true
clap = { version = "4.0", features = ["derive", "env"] }
ethers.workspace = true
eth-keystore = "0.5.0"
futures.workspace = true
itertools.workspace = true
impl-tools.workspace = true
lazy_static.workspace = true
metrics.workspace = true
metrics-exporter-prometheus = { version = "0.11", default-features = false, features = ["http-listener"] }
opentelemetry = { version = "0.18", features = ["rt-tokio"] }
opentelemetry-otlp = "0.11"
opentelemetry-semantic-conventions = "0.10"
pin-project.workspace = true
serde.workspace = true
serde_json.workspace = true
serde_with.workspace = true
thiserror.workspace = true
tokio.workspace = true
tokio-stream = { version = "0.1", features = ["fs", "sync"] }
tokio-util.workspace = true
toml = "0.7.3"
tracing.workspace = true
tracing-opentelemetry = "0.18"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
url.workspace = true