bybit-async 0.1.0

Rust Library for the Bybit API (Async)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use anyhow::Error;
use bybit_async::{rest, Bybit};
use fehler::throws;

#[throws(Error)]
#[tokio::test]
async fn ping() {
    env_logger::init();

    // let bybit = Bybit::new();
    // let resp = bybit.request(rest::PingRequest {}).await?;
    // println!("{resp:?}");
}