-
Notifications
You must be signed in to change notification settings - Fork 19
/
Cargo.toml
78 lines (66 loc) · 1.98 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
[package]
name = "uniswap-v3-sdk"
version = "3.1.3"
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"
categories = ["cryptography::cryptocurrencies", "finance", "no-std"]
keywords = ["uniswap-v3", "ethereum", "sdk"]
exclude = [".github", ".gitignore", "rustfmt.toml"]
[package.metadata.docs.rs]
all-features = true
[dependencies]
alloy = { version = "0.8", 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.9", 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 = { version = "0.8", features = ["provider-anvil-node", "signer-local"] }
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
[[example]]
name = "from_pool_key_with_tick_data_provider"
required-features = ["extensions"]
[[example]]
name = "swap_router"
required-features = ["extensions"]
[[example]]
name = "self_permit"
required-features = ["extensions"]
[[example]]
name = "nonfungible_position_manager"
required-features = ["extensions"]