Crates.io | binance-rs-async |
lib.rs | binance-rs-async |
version | 1.3.3 |
source | src |
created_at | 2021-06-25 12:41:12.838369 |
updated_at | 2024-01-19 12:14:27.240598 |
description | Async Rust Library for the Binance API |
homepage | |
repository | https://github.com/Igosuki/binance-rs-async |
max_upload_size | |
id | 414814 |
size | 1,870,435 |
Unofficial Rust Library for the Binance API
This is a fully async api using tokio.
The current beta aims at implementing every single endpoint on the binance docs. Currently, futures and savings have been implemented but not thoroughly tested.
Add this to your Cargo.toml
[dependencies]
binance-rs-async = "1.3.2"
It is a personal project, use at your own risk. I will not be responsible for your investment losses. Cryptocurrency investment is subject to high market risk. Nonetheless, this crate is aimed at high performance and production use, I have been using this to target Binance successfully for several years now.
By default, the crate uses native-tls
for tungstenite and reqwest because I believe it's simpler and faster to let the
user switch LibreSSL or OpenSSL versions rather than rebuild the program.
You can however disable default-features and use rust-tls
, which might be helpful in certain situations such as CI or
dev box.
rustup install stable
cargo install cargo-semver-checks
cargo semver-checks check-release --package binance-rs-async --verbose
Simply create a pull request. Properly documented code and tests (using binance testnet) are a must.
# Example that runs the make-release-pr workflow
act -P ubuntu-latest=cimg/rust:1.66.1-node workflow_dispatch -j make-release-pr --eventpath release.json --secret-file=secrets