-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathCargo.toml
More file actions
88 lines (81 loc) · 2.21 KB
/
Cargo.toml
File metadata and controls
88 lines (81 loc) · 2.21 KB
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
79
80
81
82
83
84
85
86
87
88
[package]
name = "solana-mcp-server"
version = "1.1.1"
edition = "2021"
[features]
default = []
x402 = []
[dependencies]
log = "0.4"
env_logger = "0.11"
chrono = "0.4"
url = { version = "2.5.0", features = ["serde"] }
anyhow = "1.0"
thiserror = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1.36", features = ["full"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["json", "env-filter"] }
uuid = { version = "1.0", features = ["v4"] }
once_cell = "1.19"
dashmap = "6.1"
solana-client = "~2.3"
solana-sdk = "~2.3"
solana-account-decoder = "~2.3"
solana-transaction-status = "~2.3"
spl-token = "8.0"
spl-associated-token-account = "6.0"
# Local sBPF testing
litesvm = "0.9"
goblin = "0.8"
# litesvm dependencies for type compatibility
solana-pubkey = "4.0"
solana-account = "3.2"
solana-transaction = "3.0"
solana-instruction = "3.1"
solana-message = "3.0"
solana-keypair = "3.1"
solana-signer = "3.0"
solana-system-interface = "2.0"
base64 = "0.22"
bs58 = "0.5"
bincode = "1.3"
reqwest = { version = "0.11", features = ["json"] }
prometheus = "0.14"
axum = { version = "0.8", features = ["ws"] }
tower = "0.5"
tower-http = { version = "0.6", features = ["timeout"] }
clap = { version = "4.0", features = ["derive"] }
solana-pubsub-client = "~2.3"
tokio-tungstenite = "0.27"
futures-util = "0.3"
# Security fix: Replace atty with is-terminal to fix unmaintained dependency
is-terminal = "0.4"
# Explicit OpenSSL dependencies for better Windows compatibility
openssl = "0.10"
openssl-sys = "0.9"
# Force secure versions of cryptographic dependencies
curve25519-dalek = "4.1.3"
ed25519-dalek = "2.1.1"
# Random number generation for x402 retry jitter
rand = "0.8"
[dev-dependencies]
tokio-test = "0.4"
serde_json = "1.0"
reqwest = { version = "0.11", features = ["json"] }
criterion = { version = "0.5", features = ["html_reports", "async_tokio"] }
futures-util = "0.3"
[[bench]]
name = "http_api_bench"
harness = false
[[bench]]
name = "rpc_methods_bench"
harness = false
[[bench]]
name = "websocket_bench"
harness = false
# Security patches to force secure versions of vulnerable dependencies
[patch.crates-io.atty]
git = "https://github.com/softprops/atty"
branch = "master"