-
Notifications
You must be signed in to change notification settings - Fork 125
/
Cargo.toml
72 lines (64 loc) · 1.62 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
[package]
name = "amms"
version = "0.6.3"
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"
lazy_static = "1.5"
num-bigfloat = "1.7"
regex = "1.11"
serde = "1.0"
serde_json = "1.0"
thiserror = "1.0"
tokio = { version = "1.41", default-features = false }
tracing = "0.1"
uniswap_v3_math = { git = "https://github.com/0xKitsune/uniswap-v3-math.git" }
alloy = { version = "0.6", features = [
"contract",
"network",
"provider-ws",
"rpc-types-eth",
"signer-local",
] }
rug = "1.26.1"
[features]
default = ["state-space"]
state-space = ["arraydeque"]
# TODO: Uncomment this when artemis is published as a crate
# artemis = ["artemis-core"]
artemis = []
[dev-dependencies]
rand = "0.8.5"
tracing-subscriber = "0.3"
criterion = "0.5"
tokio = { version = "1.41", default-features = false, features = [
"rt-multi-thread",
] }
alloy = { version = "0.6", 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"