Files
neon/pageserver/page_api/build.rs
2025-04-29 17:23:51 +02:00

8 lines
257 B
Rust

fn main() -> Result<(), Box<dyn std::error::Error>> {
// Generate rust code from .proto protobuf.
tonic_build::configure()
.bytes(["."])
.compile_protos(&["proto/page_service.proto"], &["proto"])
.map_err(|err| err.into())
}