blob: 87b96714696a229ddc32ba16b4f1e310e1ef3ec8 (
plain)
1
2
3
4
5
6
7
8
9
|
extern crate tonic_build;
fn main() -> Result<(), Box<dyn std::error::Error>> {
tonic_build::configure()
.build_server(true)
.build_client(false)
.compile(&["../proto/client_api.proto"], &["../proto"])?;
Ok(())
}
|