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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//! # Open Hand History (OHH) Format Support
//!
//! This module provides support for the Open Hand History format v1.4.7,
//! a standardized JSON format for poker hand histories.
//!
//! ## Features
//!
//! - **Data Model**: Complete Rust structs matching the OHH specification
//! - **Serialization**: Convert to/from JSON using serde
//! - **Arena Integration**: Convert arena simulations to OHH format (requires `arena` feature)
//! - **File Writing**: Append hand histories to files in JSON Lines format
//!
//! ## Specification
//!
//! See <https://hh-specs.handhistory.org/> for the full OHH specification.
//!
//! ## Usage with Arena
//!
//! ```no_run
//! # #[cfg(all(feature = "open-hand-history", feature = "arena"))] {
//! use rs_poker::arena::{HoldemSimulationBuilder, GameState};
//! use rs_poker::arena::historian::OpenHandHistoryHistorian;
//! use std::path::PathBuf;
//!
//! let historian = OpenHandHistoryHistorian::new(PathBuf::from("hands.jsonl"));
//! // Add historian to your simulation...
//! # }
//! ```
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;