(tools, client, server) feat: Remove gRPC support, add TCP back and reorganized project

This commit is contained in:
2025-08-30 17:07:03 +08:00
parent 8fd5e24865
commit 362aa799b9
28 changed files with 378 additions and 490 deletions

View File

@ -5,6 +5,11 @@ fn main() -> io::Result<()> {
unsafe {
env::set_var("PROTOC", "../Tools/ProtoBuf/bin/protoc.exe");
}
tonic_prost_build::compile_protos("../Tools/ProtoBuf/proto/message.proto")?;
prost_build::compile_protos(
&["../Tools/ProtoBuf/proto/message.proto"],
&["../Tools/ProtoBuf/proto"],
)?;
Ok(())
}