summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 77533d7..e400619 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -8,3 +8,18 @@ pub mod client_database;
8 8
9#[path = "bin/server/database.rs"] 9#[path = "bin/server/database.rs"]
10pub mod server_database; 10pub 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"]
16pub mod server_game_traits;
17
18pub mod games {
19 pub mod traits {
20 pub use crate::server_game_traits::*;
21 }
22}
23
24#[path = "bin/server/games/slots.rs"]
25pub mod server_slots;