blob: 97bf355d511d8f64cec08cda00c08c87849713a5 (
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/bot_api.proto"], &["../proto"])?;
Ok(())
}
|