okx-client 0.1.2

Async Rust client for the OKX exchange API v5
Documentation
#[cfg(all(feature = "native-tls", feature = "rustls-tls"))]
compile_error!("features `native-tls` and `rustls-tls` cannot be enabled together");

#[cfg(not(any(feature = "native-tls", feature = "rustls-tls")))]
compile_error!("enable either the `native-tls` or `rustls-tls` feature");

pub mod auth;
pub mod config;
pub mod constants;
pub mod error;
pub mod rest;
pub mod types;
pub mod ws;

// Re-export primary types for convenience.
pub use config::{ClientConfig, ClientConfigBuilder, Credentials, Region, TradingMode};
pub use error::{OkxError, OkxResult};
pub use rest::RestClient;
pub use ws::api_client::WsApiClient;
pub use ws::WebsocketClient;