bian rs:Binance API客户端 源码
- 币安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" ; /
文件列表
bian-rs-main.zip
(预估有个14文件)
bian-rs-main
Cargo.toml
760B
bian-proc
Cargo.toml
333B
src
lib.rs
3KB
src
error.rs
2KB
enums.rs
3KB
response.rs
12KB
暂无评论