a0_limit_order_book/lib.rs
1// FILE: lib.rs
2// PURPOSE: Root module for LIMIT_ORDER_BOOK
3// GOAL: Re-export public APIs for external consumers (multi-broker aware)
4// RUNS TO: External crates via cargo crate usage
5
6// ═══════════════════════════════════════════════════════════════════════════════
7// SECTION MAP
8// ═══════════════════════════════════════════════════════════════════════════════
9// a0_limit_order_book → Complete module: order book management, market depth
10// processing, metrics tracking, NATS message handling,
11// health server, market window, and debug print loop
12// BrokerConfig → Per-broker config: broker_name, health_port
13// init_module_logger → Initialize logger with broker-specific prefix
14
15pub mod a0_limit_order_book;
16
17// Re-export public APIs
18pub use a0_limit_order_book::print_best_ask_loop;
19pub use a0_limit_order_book::process_buffered_messages;
20pub use a0_limit_order_book::run_health_server;
21pub use a0_limit_order_book::run_limit_order_book;
22pub use a0_limit_order_book::run_limit_order_book_full;
23pub use a0_limit_order_book::BrokerConfig;
24pub use a0_limit_order_book::init_module_logger;
25pub use a0_limit_order_book::MarketDepthData;
26pub use a0_limit_order_book::MarketWindowConfig;
27pub use a0_limit_order_book::OrderBook;
28pub use a0_limit_order_book::OrderBookStore;