10 lines
269 B
Rust
10 lines
269 B
Rust
|
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||
|
tonic_build::configure()
|
||
|
.type_attribute(
|
||
|
".",
|
||
|
"#[derive(serde::Deserialize, serde::Serialize)]",
|
||
|
)
|
||
|
.compile(&["proto/shoebill.proto"], &["proto"])?;
|
||
|
Ok(())
|
||
|
}
|