configure grpc

This commit is contained in:
2026-01-17 18:08:16 -05:00
parent fc80e50c26
commit b762139243
27 changed files with 467 additions and 500 deletions

View File

@@ -4,15 +4,14 @@ use std::fs::File;
use std::io::Write;
fn main() -> Result<(), Box<dyn std::error::Error>> {
// tonic_build::configure()
// .build_server(false)
// .build_client(true)
// .compile_protos(
// &[
// "",
// ],
// &[""],
// )?;
tonic_prost_build::configure()
.build_server(false)
.build_client(true)
.build_transport(false)
.compile_protos(
&["../AZKiServer/Protos/azki.proto", "../AZKiServer/Protos/types.proto"],
&["../AZKiServer"],
)?;
forward_env();
Ok(())
}