Refactoring

This commit is contained in:
Changhua
2023-07-15 09:46:40 +08:00
parent 121de88a57
commit 736f6830b9
137 changed files with 2478 additions and 2549 deletions
+9
View File
@@ -0,0 +1,9 @@
fn main() -> Result<(), Box<dyn std::error::Error>> {
tonic_build::configure()
.build_client(true)
.build_server(false)
.out_dir("src/proto")
.compile(&["proto/wcf.proto"], &["."])
.expect("failed to compile protos");
Ok(())
}