Files
cloudlysis/gateway/build.rs
Vlad Durnea 1298d9a3df
Some checks failed
ci / rust (push) Failing after 2m34s
ci / ui (push) Failing after 30s
Monorepo consolidation: workspace, shared types, transport plans, docker/swam assets
2026-03-30 11:40:42 +03:00

13 lines
365 B
Rust

fn main() -> Result<(), Box<dyn std::error::Error>> {
let proto_path = "../aggregate/proto/aggregate.proto";
let proto_dir = "../aggregate/proto";
tonic_build::configure()
.build_server(true)
.build_client(true)
.compile_protos(&[proto_path], &[proto_dir])?;
println!("cargo:rerun-if-changed={}", proto_path);
Ok(())
}