(tools, server) feat: Replace TCP server with gRPC server
This commit is contained in:
10
Server/build.rs
Normal file
10
Server/build.rs
Normal file
@ -0,0 +1,10 @@
|
||||
use std::env;
|
||||
use std::io;
|
||||
|
||||
fn main() -> io::Result<()> {
|
||||
unsafe {
|
||||
env::set_var("PROTOC", "../Tools/ProtoBuf/bin/protoc.exe");
|
||||
}
|
||||
tonic_build::compile_protos("../Tools/ProtoBuf/proto/message.proto")?;
|
||||
Ok(())
|
||||
}
|
Reference in New Issue
Block a user