ccxt_common/pro/mod.rs
1// PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
2// https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
3//
4// The hand-written WebSocket infra (cache / order_book / ws_client) lives here
5// because the base crate (`exchange.rs`, `value.rs`) depends on it. The
6// transpiled per-venue WS exchanges were split into the sibling `ccxt-pro`
7// crate to keep each `rustc` invocation under the CI runner's memory ceiling.
8
9pub mod cache;
10pub mod order_book;
11pub mod ws_client;
12
13pub use cache::{
14 ArrayCache, ArrayCacheByTimestamp, ArrayCacheBySymbolById, ArrayCacheBySymbolBySide,
15 ArrayCacheByOutcomeById,
16 KIND_ARRAY_CACHE, KIND_ARRAY_CACHE_BY_TIMESTAMP,
17 KIND_ARRAY_CACHE_BY_SYMBOL_ID, KIND_ARRAY_CACHE_BY_SYMBOL_SIDE,
18};
19pub use order_book::{
20 OrderBook, IndexedOrderBook, CountedOrderBook,
21 Bids, Asks,
22 BOOK_PLAIN, BOOK_INDEXED, BOOK_COUNTED,
23 SIDE_PLAIN, SIDE_INDEXED, SIDE_COUNTED,
24};