-
Notifications
You must be signed in to change notification settings - Fork 13
/
Cargo.toml
52 lines (47 loc) · 1.18 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
[package]
name = "drift-rs"
version = "1.0.0-alpha.3"
edition = "2021"
build = "build.rs"
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/drift-labs/drift-rs"
homepage = "https://drift.trade"
description = """
Rust SDK for Drift V2 Protocol on the Solana blockchain.
"""
categories = ["cryptography::cryptocurrencies", "api-bindings"]
keywords = ["solana", "dex", "drift", "sdk"]
[lib]
path = "crates/src/lib.rs"
[features]
dlob = ["rayon"]
# run integration tests against RPC nodes
rpc_tests = []
[dependencies]
abi_stable = "0.11"
ahash = "0.8.11"
anchor-lang = { version = "0.30", features = ["derive"] }
base64 = "0.22"
bytemuck = "1.17"
dashmap = "6"
env_logger = "0.11"
futures-util = "0.3"
log = "0.4"
rayon = { version = "1.9.0", optional = true }
regex = "1.10"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
solana-account-decoder = "2"
solana-client = "2"
solana-sdk = "2"
solana-transaction-status = "2"
thiserror = "1"
tokio = { version = "1.40", features = ["full"] }
type-layout = "0.2.0"
[dev-dependencies]
bytes = "1"
hex = "0.4"
hex-literal = "0.4"
[build-dependencies]
drift-idl-gen = { version = "0.1.1", path = "crates/drift-idl-gen"}