// Compile the vendored protos (../proto, synced from the waymaker server repo) // into client stubs. Client-only: no server traits are generated. fn main() { let protos = [ "../proto/waymaker_locks.proto", "../proto/waymaker_streams.proto", "../proto/kv.proto", "../proto/collections.proto", "../proto/sketches.proto", "../proto/cache.proto", ]; tonic_prost_build::configure() .build_server(false) .compile_protos(&protos, &["../proto"]) .expect("failed to compile waymaker protos"); for p in protos { println!("cargo:rerun-if-changed={p}"); } }