-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
62 lines (58 loc) · 1.74 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 = "swift-server"
version = "0.1.0"
edition = "2021"
[dependencies]
anyhow = "1.0.86"
arrayvec = "0.7.6"
anchor-lang = "0.31.0"
aws-config = { version = "1", default-features = false, features = [
"behavior-version-latest",
"rt-tokio",
"rustls",
"sso",
]}
aws-sdk-kafka = "1.42.0"
aws-sdk-sts = { version = "1", default-features = false, features = [
"rt-tokio",
"rustls",
]}
axum = { version = "^0.7.5", features = ["ws"] }
axum-prometheus = "0.7.0"
base64 = "0.22.1"
clap = { version = "4.0", features = ["derive"] }
dashmap = "6.1.0"
dotenv = "0.15.0"
drift-rs = { git = "https://github.com/drift-labs/drift-rs.git" , rev = "91b3dd8c" }
ed25519-dalek = "1.0.1"
env_logger = "0.11"
faster-hex = "0.10.0"
futures-util = "0.3.30"
log = "0.4.22"
nanoid = "0.4.0"
prometheus = "0.13"
rand = "0.8"
rdkafka = { version = "0.36.2", features = ["ssl", "sasl"] }
redis = { version = "0.29.1", features = ["tokio-comp", "tokio-native-tls-comp"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.127"
solana-rpc-client-api = "2.1"
solana-sdk = "2.1"
tokio = { version = "1.0", features = ["full"] }
# fork with Ws compression enabled
tokio-tungstenite = { git = "https://github.com/drift-labs/tokio-tungstenite", features = ["native-tls"] }
urlencoding = "2.1.0"
uuid = { version = "1.10.0", features = ["v4", "fast-rng", "macro-diagnostics", "serde"] }
tower-http = { version = "0.6.2", features= ["cors"] }
strum_macros = "0.27.0"
[features]
default = ["rdkafka/cmake-build"]
# build with linked librdkafka
fast = ["rdkafka/dynamic-linking"]
[dev-dependencies]
axum-macros = "0.4.2"
[profile.dev.package]
ark-ff = { opt-level = 0 }
ring = { opt-level = 0 }
zstd-sys = { opt-level = 0 }
solana-program = { opt-level = 0 }