- update: packet server character handler
- add: character grpc client interface to packet service
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user