blob: b58ef083b4867a66951ae475d8c2e63400aaeb89 (
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(false)
.build_client(true)
.compile(&["../proto/client_api.proto"], &["../proto"])?;
Ok(())
}
|