forked from shuhuiluo/uniswap-v3-sdk-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
62 lines (54 loc) · 1.57 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
[package]
name = "uniswap-v3-sdk"
version = "2.6.0"
edition = "2021"
authors = ["Shuhui Luo <twitter.com/aureliano_law>"]
description = "Uniswap V3 SDK for Rust"
license = "MIT"
readme = "README.md"
repository = "https://github.com/shuhuiluo/uniswap-v3-sdk-rs"
keywords = ["uniswap-v3", "ethereum", "sdk"]
exclude = [".github", ".gitignore", "rustfmt.toml"]
[package.metadata.docs.rs]
all-features = true
[dependencies]
alloy = { version = "0.6", optional = true, features = ["contract"] }
alloy-primitives = "0.8"
alloy-sol-types = "0.8"
anyhow = { version = "1.0", optional = true }
base64 = { version = "0.22", optional = true }
bigdecimal = "0.4.5"
derive_more = { version = "1.0.0", features = ["deref", "from"] }
num-bigint = "0.4"
num-integer = "0.1"
num-traits = "0.2"
once_cell = "1.20"
regex = { version = "1.11", optional = true }
rustc-hash = "2.0"
serde_json = { version = "1.0", optional = true }
thiserror = { version = "2", default-features = false }
uniswap-lens = { version = "0.7", optional = true }
uniswap-sdk-core = "3.2.0"
[features]
default = []
extensions = ["alloy", "anyhow", "base64", "regex", "serde_json", "uniswap-lens"]
std = ["alloy?/std", "thiserror/std", "uniswap-sdk-core/std", "uniswap-lens?/std"]
[dev-dependencies]
alloy-signer = "0.6"
alloy-signer-local = "0.6"
criterion = "0.5.1"
dotenv = "0.15.0"
tokio = { version = "1.40", features = ["full"] }
uniswap_v3_math = "0.5.2"
[[bench]]
name = "bit_math"
harness = false
[[bench]]
name = "sqrt_price_math"
harness = false
[[bench]]
name = "swap_math"
harness = false
[[bench]]
name = "tick_math"
harness = false