forked from darkforestry/amms-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
76 lines (69 loc) · 1.65 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
[package]
name = "amms"
version = "0.6.2"
edition = "2021"
license = "MIT"
description = "A library to interact with automated market makers across EVM chains."
readme = "README.md"
homepage = "https://github.com/darkforestry/amms-rs"
repository = "https://github.com/darkforestry/amms-rs"
keywords = ["ethereum", "amm", "mev"]
exclude = [
"target/*",
".github/*",
".gitignore"
]
[dependencies]
arraydeque = { version = "0.5", optional = true }
artemis-core = { git = "https://github.com/paradigmxyz/artemis.git", branch = "main", optional = true }
async-trait = "0.1"
eyre = "0.6"
futures = "0.3"
indicatif = "0.17.8"
lazy_static = "1.5"
num-bigfloat = "1.7"
regex = "1.10"
serde = "1.0"
serde_json = "1.0"
thiserror = "1.0"
tokio = { version = "1.38", default-features = false }
tracing = "0.1"
uniswap_v3_math = { git = "https://github.com/0xKitsune/uniswap-v3-math.git", rev = "1120ff6" }
alloy = { version = "0.2", features = [
"contract",
"network",
"provider-ws",
"rpc-types-eth",
"signer-local",
] }
reqwest = "0.12"
tokio-retry = "0.3.0"
[features]
default = ["filters", "state-space"]
filters = []
state-space = ["arraydeque"]
artemis = ["artemis-core"]
[dev-dependencies]
rand = "0.8.5"
tracing-subscriber = "0.3"
criterion = "0.5"
tokio = { version = "1.38", default-features = false, features = [ "rt-multi-thread" ] }
alloy = { version = "0.2", features = [
"rpc-client",
] }
[[bench]]
name = "state_space"
harness = false
[[bench]]
name = "uniswapv2_simulate"
harness = false
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
[profile.dev]
opt-level = 3
lto = true
codegen-units = 1
debug = "full"