This commit is contained in:
azw 2023-10-29 10:33:54 +00:00
parent ebd346ff4a
commit 4981ad6651
3 changed files with 3 additions and 5 deletions

View File

@ -6,7 +6,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
#protobuf = "2.9.0" protobuf = "2.9.0"
serde = "*" serde = "*"
serde_derive = "*" serde_derive = "*"
serde_json = "*" serde_json = "*"
@ -16,4 +16,4 @@ r9_macro_derive = { path = "../../third_party/r9/r9_macro_derive" }
f9 = { path = "../../third_party/r9/f9" } f9 = { path = "../../third_party/r9/f9" }
[build-dependencies] [build-dependencies]
#protobuf-codegen-pure = "2.9.0" protobuf-codegen-pure = "2.9.0"

View File

@ -1,10 +1,8 @@
fn main() { fn main() {
/*
protobuf_codegen_pure::Codegen::new() protobuf_codegen_pure::Codegen::new()
.out_dir("src") .out_dir("src")
.inputs(&["protos/mt.proto"]) .inputs(&["protos/mt.proto"])
.include("protos") .include("proto")
.run() .run()
.expect("Codegen failed."); .expect("Codegen failed.");
*/
} }