1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//! # Bybit API
//!
//! A Rust SDK for the Bybit V5 API.
//!
//! ## Features
//!
//! - Async-first design with tokio
//! - Type-safe request/response models
//! - Zero-panic error handling
//! - Support for REST API and WebSocket
//!
//! ## Quick Start
//!
//! ```rust,no_run
//! use bybit_api::{BybitClient, Category};
//!
//! #[tokio::main]
//! async fn main() -> bybit_api::Result<()> {
//! // Create a client for testnet
//! let client = BybitClient::testnet("your_api_key", "your_api_secret")?;
//!
//! // Get tickers
//! let tickers = client.get_tickers(Category::Linear, Some("BTCUSDT")).await?;
//! println!("{:?}", tickers);
//!
//! Ok(())
//! }
//! ```
// Modules
// API modules
// Re-exports
pub use BybitClient;
pub use ;
pub use *;
pub use ;
pub use *;