Feat: listen for unix signal

This commit is contained in:
dlhxzb
2022-08-04 18:02:10 +09:00
parent 848b5aedb7
commit ca2bc99a38
8 changed files with 99 additions and 46 deletions

View File

@@ -5,10 +5,7 @@ fn main() {
.out_dir("src/protos")
.inputs(&["protos/rendezvous.proto", "protos/message.proto"])
.include("protos")
.customize(
protobuf_codegen::Customize::default()
.tokio_bytes(true)
)
.customize(protobuf_codegen::Customize::default().tokio_bytes(true))
.run()
.expect("Codegen failed.");
}

View File

@@ -565,4 +565,3 @@ pub fn transform_windows_path(entries: &mut Vec<FileEntry>) {
entry.name = entry.name.replace("\\", "/");
}
}