Files
c309063254 feat(tonic-web): implement grpc <-> grpc-web protocol translation (#455)
tonic-web enables tonic servers to handle requests from grpc-web 
clients directly, without the need of an external proxy. 

Co-authored-by: John Hernandez <[email protected]>
Co-authored-by: zancas <[email protected]>
2021-05-13 12:20:33 -05:00

12 lines
239 B
Rust

fn main() {
let protos = &["proto/test.proto"];
tonic_build::configure()
.compile(protos, &["proto"])
.unwrap();
protos
.iter()
.for_each(|file| println!("cargo:rerun-if-changed={}", file));
}