exc_core/
lib.rs

1//! Exc-core: Abstractions for exchanges (the low-level apis).
2
3#![deny(missing_docs)]
4
5/// The definition of an exchange.
6pub mod exchange;
7
8/// Transport utils.
9pub mod transport;
10
11/// The core types for exchange APIs.
12pub use exc_types as types;
13
14#[cfg(feature = "retry")]
15/// Retry utils.
16pub use exc_service::retry;
17
18/// Utils for creating [`ExcService`](exc_service::ExcService).
19pub mod util;
20
21/// Exc Symbol.
22pub use exc_symbol as symbol;
23
24pub use self::service::{
25    traits::{AsService, IntoService},
26    Adaptor, Exc, ExcLayer, ExcService, ExcServiceExt, IntoExc, Request,
27};
28pub use exc_service::{self as service, error::InstrumentError, ExchangeError, SendExcService};
29
30pub use positions::prelude::{Asset, Instrument, ParseAssetError, ParseSymbolError, Str, Symbol};