- 币安API Rust异步SDK 使用 在Cargo.toml中添加依赖 [ dependencies ] tokio = { version = " 1 " , features = [ " full " ] } bian-rs = { git = " https://github.com/PrivateRookie/bian-rs.git " } 在国内使用需要设置代理,bian-rs通过HTTP_PROXY和HTTPS_PROXY环境变量自动设置代理。 use bian_rs :: UFuturesHttpClient; use std :: env; #[tokio::main] async fn main () { let api_key = "your api key" ; let secret_key = "your secret key" ; /