Skip to main content

rbp/
lib.rs

1//! Poker solver toolkit for game-theoretically optimal strategies.
2//!
3//! This facade crate re-exports all public rbp crates for convenient access.
4//!
5//! ## Crate Organization
6//!
7//! ### Core Types
8//! - [`core`] — Type aliases, constants, DTOs, and shared traits
9//! - [`transport`] — Optimal transport (Sinkhorn, EMD)
10//! - [`cards`] — Card primitives and hand evaluation
11//! - [`mccfr`] — Game-agnostic CFR framework
12//!
13//! ### Domain Logic
14//! - [`gameplay`] — Poker game engine
15//! - [`clustering`] — K-means abstraction
16//! - [`nlhe`] — No-Limit Hold'em solver
17//!
18//! ### Infrastructure
19//! - [`database`] — Database pipeline
20//! - [`auth`] — Authentication
21//!
22//! ### Application
23//! - [`gameroom`] — Async game coordinator with player implementations and records
24//! - [`server`] — Unified backend with analysis API and WebSocket hosting
25//! - [`autotrain`] — Training orchestration with distributed workers
26
27pub use rbp_core        as core;
28pub use rbp_transport   as transport;
29pub use rbp_cards       as cards;
30pub use rbp_mccfr       as mccfr;
31pub use rbp_gameplay    as gameplay;
32pub use rbp_clustering  as clustering;
33pub use rbp_nlhe        as nlhe;
34pub use rbp_database    as database;
35pub use rbp_auth        as auth;
36pub use rbp_gameroom    as gameroom;
37pub use rbp_server      as server;
38pub use rbp_autotrain   as autotrain;
39
40// Re-export commonly used types at the root
41pub use rbp_core::*;