mirror of
https://github.com/aljazceru/cdk.git
synced 2025-12-20 22:24:54 +01:00
12 lines
401 B
Rust
12 lines
401 B
Rust
fn main() {
|
|
println!("cargo:rerun-if-changed=src/proto/signatory.proto");
|
|
|
|
#[cfg(feature = "grpc")]
|
|
tonic_build::configure()
|
|
.protoc_arg("--experimental_allow_proto3_optional")
|
|
.type_attribute(".", "#[allow(missing_docs)]")
|
|
.field_attribute(".", "#[allow(missing_docs)]")
|
|
.compile_protos(&["src/proto/signatory.proto"], &["src/proto"])
|
|
.unwrap();
|
|
}
|