rust_upbit_api-1.0.5 has been yanked.
upbit-api on rust
this crate is dependant on sqlx, tokio, postgres this crate also requires openssl-sys package
Set access key and secret key
use *;
set_access_key;
set_secret_key;
Apis
use *;
let asdf = get_order_state.await.unwrap;
let asdf = order_by_price.await.unwrap;
let asdf = get_orderbook_info.await;
let asdf = request.await;
let asdf = request.await;
let asdf = request.await;
let asdf = request_candle.await.unwrap;
let asdf = request_candle.await;
let asdf = request_candle.await;
Problem
If you have trouble installing with this error: failed to run custom build command for openssl-sys vX.X.XX
,
try
macOS
$ brew install openssl@1.1
Arch Linux
$ sudo pacman -S pkg-config openssl
Debian and Ubuntu
$ sudo apt-get install pkg-config libssl-dev
Fedora
$ sudo dnf install pkg-config openssl-devel
referenced from https://github.com/sfackler/rust-openssl/issues/855#issuecomment-450057552