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
//! # Kraken Client
//!
//! An async Rust client library for the Kraken exchange REST and WebSocket v2 APIs.
//!
//! ## Features
//!
//! - Full REST API support for Kraken Spot trading
//! - WebSocket v2 API with automatic reconnection
//! - Built-in rate limiting
//! - Strong typing for all request/response types
//! - Financial precision with `rust_decimal`
//!
//! ## Quick Start
//!
//! ```rust,no_run
//! use kraken_api_client::spot::rest::SpotRestClient;
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
//! let client = SpotRestClient::new();
//! let time = client.get_server_time().await?;
//! println!("Server time: {:?}", time);
//! Ok(())
//! }
//! ```
// Placeholder for future Kraken Futures API support
// Re-export commonly used types at crate root
pub use KrakenError;
pub use ;
/// Result type alias using KrakenError
pub type Result<T> = Result;