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
// precolator-sdk: Async Rust client for the Precolator perpetual futures platform
//
//! # Precolator SDK
//!
//! A production-ready async Rust client for the [Precolator](https://precolator.com)
//! perpetual futures trading platform REST API.
//!
//! ## Features
//! - Full coverage of markets, portfolio, leaderboard, trades, tokens, and statistics endpoints
//! - Strongly-typed request/response models
//! - Async-first design using `tokio` + `reqwest`
//! - Configurable base URL for mainnet / devnet / self-hosted deployments
//!
//! ## Quick Start
//! ```rust,no_run
//! use precolator_sdk::PrecolatorClient;
//!
//! #[tokio::main]
//! async fn main() -> precolator_sdk::Result<()> {
//! let client = PrecolatorClient::new("https://precolator.xyz");
//!
//! let markets = client.get_markets().await?;
//! println!("Active markets: {}", markets.len());
//!
//! let stats = client.get_platform_stats().await?;
//! println!("Total volume: {}", stats.total_volume);
//!
//! Ok(())
//! }
//! ```
pub use PrecolatorClient;
pub use ;
pub use *;
/// SDK version
pub const SDK_VERSION: &str = env!;