- update: major refactor of the database-service to make it easy to add newer api services

- add: character database api
This commit is contained in:
2024-12-17 01:58:18 -05:00
parent 267422adb4
commit 52455d6ffc
18 changed files with 378 additions and 180 deletions

View File

@@ -3,6 +3,6 @@ fn main() {
.build_server(true)
.compile_well_known_types(true)
.type_attribute(".", "#[derive(serde::Serialize, serde::Deserialize)]")
.compile_protos(&["../proto/database.proto"], &["../proto"])
.compile_protos(&["../proto/user_db_api.proto", "../proto/character_db_api.proto"], &["../proto"])
.unwrap_or_else(|e| panic!("Failed to compile protos {:?}", e));
}