- update: packet server character handler

- add: character grpc client interface to packet service
This commit is contained in:
2024-12-27 19:00:06 -05:00
parent f99fda9e1a
commit 17f653c629
2 changed files with 16 additions and 12 deletions

View File

@@ -1,9 +1,9 @@
fn main() {
// gRPC Client code
tonic_build::configure()
.build_server(false) // Generate gRPC client code
.build_server(false) // Generate gRPC server code?
.compile_well_known_types(true)
.type_attribute(".", "#[derive(serde::Serialize, serde::Deserialize)]")
.compile_protos(&["../proto/auth.proto"], &["../proto"])
.compile_protos(&["../proto/auth.proto", "../proto/character.proto"], &["../proto"])
.unwrap_or_else(|e| panic!("Failed to compile protos {:?}", e));
}