fix(pumpswap): harden quotes and low-latency examples
This commit is contained in:
+3
-6
@@ -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 # 最高优化级别(不影响编译速度)
|
||||
|
||||
Reference in New Issue
Block a user