10 lines
193 B
Rust
10 lines
193 B
Rust
use protobuf_codegen::Codegen;
|
|
|
|
fn main() {
|
|
Codegen::new()
|
|
.input("proto/config.proto")
|
|
.includes(&["proto"])
|
|
.cargo_out_dir("protos")
|
|
.run_from_script();
|
|
}
|