-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
73 lines (69 loc) · 2.12 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
[workspace]
members = ["server-example", "webhook-api", "programs/*", "order-engine-sdk"]
resolver = "2"
[workspace.package]
edition = "2021"
[profile.release]
overflow-checks = true
[workspace.dependencies]
anyhow = "1.0.94"
anchor-lang = "0.30"
anchor-spl = "0.30"
async-std = { version = "1.13", features = ["attributes", "tokio1"] }
assert_matches = "1.5.0"
axum = "0.7.9"
axum-extra = "0.9.6"
base64 = "0.22.1"
blake2 = "0.10.6"
bytes = { version = "1.9.0", features = ["serde"] }
bincode = "1.3.3"
clap = { version = "^4.5", features = ["cargo", "derive", "env"] }
diesel_migrations = "2.2.0"
futures = "0.3.31"
reqwest = { version = "0.12", features = [
"native-tls-vendored",
"json",
"blocking",
] }
solana-client = "~2.0"
solana-sdk = "~2.0"
solana-program = "~2.0"
solana-program-test = "~2.0"
spl-token-client = "0.12.1"
serde = { version = "1.0.215", features = ["derive"] }
serde_json = "1.0.133"
strum = { version = "0.26.3", features = ["derive"] }
test-case = "3.3.1"
tokio = "1.42.0"
tower = { version = "0.5.1" }
tower-http = { version = "0.5" }
tower-cookies = "0.10.0"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
uuid = { version = "1.11.0", features = ["v4"] }
chrono = { version = "0.4.38" }
mockito = "1.6.1"
bytemuck = "1.20.0"
uint = "0.10.0"
testcontainers = "0.14.0" # unit test with containers
url = "2.5.4"
itertools = "0.13.0"
once_cell = "1.20.2"
num_cpus = "1.16"
hex-literal = "0.4.1"
hex = "0.4.3"
thiserror = "1.0.69"
utoipa = { version = "5.2.0" }
utoipa-swagger-ui = "8.0.3" # Optional for Swagger UI
utoipa-axum = "0.1.2" # Optional for Axum
metrics = { version = "0.24.1", default-features = false }
metrics-exporter-prometheus = { version = "0.16.0", default-features = false }
borsh = "1.5.3"
dashmap = "6.1.0"
dotenvy = "0.15.7"
validator = "0.19.0"
utoipauto = "0.2.0"
[patch.crates-io]
# anchor 0.30.1 but point to the version before solana 2.1
anchor-lang = { git = "https://github.com/coral-xyz/anchor.git", rev = "4cdb0ebe8f613f7dbbd5c4b00571139b2517898f" }
anchor-spl = { git = "https://github.com/coral-xyz/anchor.git", rev = "4cdb0ebe8f613f7dbbd5c4b00571139b2517898f" }