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
//! Exc-core: Abstractions for exchanges (the low-level apis).

#![deny(missing_docs)]

/// The definition of an exchange.
pub mod exchange;

/// Transport utils.
pub mod transport;

/// The core types for exchange APIs.
pub use exc_types as types;

#[cfg(feature = "retry")]
/// Retry utils.
pub use exc_service::retry;

/// Utils for creating [`ExcService`](exc_service::ExcService).
pub mod util;

/// Exc Symbol.
pub use exc_symbol as symbol;

pub use self::service::{
    traits::{AsService, IntoService},
    Adaptor, Exc, ExcLayer, ExcService, ExcServiceExt, IntoExc, Request,
};
pub use exc_service::{self as service, error::InstrumentError, ExchangeError, SendExcService};

pub use positions::prelude::{Asset, Instrument, ParseAssetError, ParseSymbolError, Str, Symbol};