forked from drift-labs/drift-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
60 lines (57 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
[package]
name = "drift-sdk"
version = "0.1.0"
edition = "2021"
rust-version = "1.76.0"
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/drift-labs/drift-rs"
homepage = "https://drift.trade"
description = """
Rust SDK for interacting with the Drift V2 Protocol on the Solana blockchain.
"""
categories = ["solana", "trading", "defi", "dex"]
keywords = ["solana", "trading", "defi", "dex", "drift", "protocol", "sdk"]
[features]
# enable JIT client
jit = ["jit-proxy"]
rpc_tests = []
test_utils = []
[dependencies]
anchor-lang = "=0.29.0"
bytemuck = "1.13.0"
base64 = "0.13"
drift = { git = "https://github.com/drift-labs/protocol-v2.git", rev = "v2.85.0", features = [
"mainnet-beta", "drift-rs"
] }
env_logger = "0.10.1"
fnv = "1.0.7"
futures-util = "0.3.29"
jit-proxy = { git = "https://github.com/drift-labs/jit-proxy", rev = "8d73b08", optional = true }
log = "0.4.20"
reqwest = "*"
serde = { version = "*", features = ["derive"] }
serde_json = "*"
solana-account-decoder = "1.16"
solana-client = "1.16"
solana-sdk = "1.16"
solana-transaction-status = "1.16"
thiserror = "1.0.38"
tokio = { version = "1.34.0", features = ["full"] }
tokio-tungstenite = { version = "0.21.0", features = ["native-tls"] }
regex = "1.10.2"
dashmap = "5.5.3"
rayon = "1.9.0"
[dev-dependencies]
pyth = { git = "https://github.com/drift-labs/protocol-v2.git", tag = "v2.84.0", features = [
"no-entrypoint",
] }
borsh = "*"
hex = "*"
hex-literal = "*"
serde_json = "*"
spl-associated-token-account = "1.1.2"
anchor-client = "=0.29.0"
anchor-lang = "=0.29.0"
bytes = "*"
futures = "0.3.30"