diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2022-04-27 20:43:12 +0200 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2022-04-27 20:43:12 +0200 |
commit | e7da88c6a5135e78acea3a29040cfbf1e7e0b71f (patch) | |
tree | 4665e63cf40b8d7a96158a1273d0ca1b9fa261a4 /planetwars-server/src/modules | |
parent | 450d22758ec169ece8f71bc6bd6c79603c136874 (diff) | |
download | planetwars.dev-e7da88c6a5135e78acea3a29040cfbf1e7e0b71f.tar.xz planetwars.dev-e7da88c6a5135e78acea3a29040cfbf1e7e0b71f.zip |
restructure server entrypoint for ranker
Diffstat (limited to 'planetwars-server/src/modules')
-rw-r--r-- | planetwars-server/src/modules/mod.rs | 1 | ||||
-rw-r--r-- | planetwars-server/src/modules/ranking.rs | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/planetwars-server/src/modules/mod.rs b/planetwars-server/src/modules/mod.rs index 57c1ef5..2efce4e 100644 --- a/planetwars-server/src/modules/mod.rs +++ b/planetwars-server/src/modules/mod.rs @@ -1,3 +1,4 @@ // This module implements general domain logic, not directly // tied to the database or API layers. pub mod bots; +pub mod ranking; diff --git a/planetwars-server/src/modules/ranking.rs b/planetwars-server/src/modules/ranking.rs new file mode 100644 index 0000000..739e6a6 --- /dev/null +++ b/planetwars-server/src/modules/ranking.rs @@ -0,0 +1,5 @@ +use crate::DbPool; + +pub async fn run_ranker(_db_pool: DbPool) { + // do nothing, for now +} |