mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-14 00:42:54 +00:00
8 lines
257 B
Rust
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())
|
|
}
|