fix(pumpswap): harden quotes and low-latency examples

This commit is contained in:
0xfnzero
2026-07-17 03:22:52 +08:00
parent fb1ff176d0
commit dc3d2b8deb
34 changed files with 1133 additions and 972 deletions
+3 -6
View File
@@ -75,6 +75,9 @@ futures = "0.3.31"
futures-util = "0.3.31"
base64 = "0.22.1"
bs58 = "0.5.1"
# `five8` 1.0 permits five8_core 0.1.x, whose DecodeError implements
# std::error::Error only with this feature. Solana keypair decoding requires it.
five8_core = { version = "0.1.2", features = ["std"] }
rand = "0.9.0"
bincode = "1.3.3"
anyhow = "1.0.90"
@@ -123,12 +126,6 @@ memmap2 = "0.9"
num_cpus = "1.16"
libc = "0.2"
# solana-keypair 3.1.2 assumes five8's DecodeError implements std::error::Error.
# Mixed Solana dependency graphs can resolve five8 1.0 against five8_core 0.1,
# so use the patched upstream source that wraps decode failures safely.
[patch.crates-io]
solana-keypair = { path = "patches/solana-keypair" }
# 🚀 编译器优化配置 - 平衡性能与编译速度
[profile.release]
opt-level = 3 # 最高优化级别(不影响编译速度)