(tools, server) feat: Replace TCP server with gRPC server

This commit is contained in:
2025-07-13 15:44:55 +08:00
parent 820a3cfe32
commit 3df2a3ee2c
10 changed files with 941 additions and 158 deletions

10
Server/build.rs Normal file
View 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(())
}