diff options
| author | salmonik <salmonik@tuta.io> | 2026-08-24 17:36:19 +0200 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-08-24 17:36:19 +0200 |
| commit | 828eb472701af16b7bd913111273b62d22ea3627 (patch) | |
| tree | 48ab3876cc1e2b7420609c7c1b016c939c9b84d1 /src/lib.rs | |
| parent | TOFU host trust: SPKI fingerprint pinning, tests, forget-host (diff) | |
| download | zagan-bet-828eb472701af16b7bd913111273b62d22ea3627.tar.gz zagan-bet-828eb472701af16b7bd913111273b62d22ea3627.zip | |
Fix critical game bugs: payout, sessions, balance type, render_lines; add AGENTS.md and regression tests
Diffstat (limited to '')
| -rw-r--r-- | src/lib.rs | 15 |
1 files changed, 15 insertions, 0 deletions
| @@ -8,3 +8,18 @@ pub mod client_database; | |||
| 8 | 8 | ||
| 9 | #[path = "bin/server/database.rs"] | 9 | #[path = "bin/server/database.rs"] |
| 10 | pub mod server_database; | 10 | pub mod server_database; |
| 11 | |||
| 12 | // Server game logic — re-exported under `crate::games::traits` so that | ||
| 13 | // `use crate::games::traits::*` inside slots.rs resolves correctly whether | ||
| 14 | // the file is compiled as part of the lib or the server binary. | ||
| 15 | #[path = "bin/server/games/traits.rs"] | ||
| 16 | pub mod server_game_traits; | ||
| 17 | |||
| 18 | pub mod games { | ||
| 19 | pub mod traits { | ||
| 20 | pub use crate::server_game_traits::*; | ||
| 21 | } | ||
| 22 | } | ||
| 23 | |||
| 24 | #[path = "bin/server/games/slots.rs"] | ||
| 25 | pub mod server_slots; | ||
