[package] name = "pumpfun-sniper-bot" version = "0.1.0" edition = "2021" authors = ["Gavin"] description = "Pump.fun Bonding Curve Sniper Bot - 新币狙击交易机器人" license = "MIT" [[bin]] name = "sniper" path = "src/main.rs" [dependencies] # === Solana 核心 === solana-sdk = "3.0" solana-client = "3.1" solana-transaction-status = "3.1" # === Pump.fun SDK (后期安装) === # sol-trade-sdk = "2.0" # solana-streamer-sdk = { version = "2.0", features = ["sdk-parse-zero-copy"] } # === 异步运行时 === tokio = { version = "1.50", features = ["full"] } # === 序列化 === serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" toml = "0.8" borsh = "1.6" bincode = "2.0" # === HTTP 客户端 (Jito API) === reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false } # === 并发 === crossbeam-queue = "0.3" dashmap = "6.1" parking_lot = "0.12" # === 监控 === prometheus = "0.13" # === 日志 === tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] } # === 工具 === anyhow = "1.0" thiserror = "2.0" chrono = { version = "0.4", features = ["serde"] } rand = "0.8" base64 = "0.22" hex = "0.4" sha2 = "0.10" bs58 = "0.5" [dev-dependencies] criterion = "0.5" [[bench]] name = "bonding_curve_bench" harness = false [profile.release] opt-level = 3 lto = true codegen-units = 1 panic = "abort" strip = true [profile.dev] opt-level = 1