diff options
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; | ||
