16 lines
428 B
Rust
16 lines
428 B
Rust
use tonic_build::configure;
|
|
|
|
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
configure()
|
|
// .type_attribute(
|
|
// "history.RepeatedSnapshotMeta",
|
|
// "#[derive(serde::Serialize, serde::Deserialize)]",
|
|
// )
|
|
// .type_attribute(
|
|
// "history.SnapshotMeta",
|
|
// "#[derive(serde::Serialize, serde::Deserialize)]",
|
|
// )
|
|
.compile_protos(&["proto/history.proto"], &["proto"])?;
|
|
Ok(())
|
|
}
|