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
//! Exc-binance: Binance exchange services.

#![deny(missing_docs)]

/// Error.
pub mod error;

/// Rest API support.
pub mod http;

/// Websocket API support.
pub mod websocket;

/// Types.
pub mod types;

/// Endpoint.
pub mod endpoint;

/// Service.
pub mod service;

pub use self::error::Error;
pub use self::http::request::{MarginOp, SpotOptions};
pub use self::service::Binance;
pub use self::types::{request::Request, response::Response};

#[macro_use]
extern crate anyhow;