- add: packet-service to handle game client packets - fix: health check for database-service - fix: health check for auth-service
10 lines
383 B
Rust
10 lines
383 B
Rust
fn main() {
|
|
// gRPC Client code
|
|
tonic_build::configure()
|
|
.build_server(false) // Generate gRPC client code
|
|
.compile_well_known_types(true)
|
|
.type_attribute(".", "#[derive(serde::Serialize, serde::Deserialize)]")
|
|
.compile_protos(&["../proto/auth.proto"], &["../proto"])
|
|
.unwrap_or_else(|e| panic!("Failed to compile protos {:?}", e));
|
|
}
|