mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-27 15:25:02 +00:00
update bytes(protobuf types) mapping, from Vec<u8> to bytes:Byte
issues:958
This commit is contained in:
1 parent
c6c5d2cb98
commit
efa6b5972d
13 files changed
+34
-25
No files matched your search
@@ -5,6 +5,11 @@ fn main() {
|
||||
.out_dir("src/protos")
|
||||
.inputs(&["protos/rendezvous.proto", "protos/message.proto"])
|
||||
.include("protos")
|
||||
.customize(
|
||||
protobuf_codegen::Customize::default()
|
||||
.tokio_bytes(true)
|
||||
// .tokio_bytes_for_string(true)
|
||||
)
|
||||
.run()
|
||||
.expect("Codegen failed.");
|
||||
}
|
||||
Reference in new issue
Block a user