fix the error handling in Rust build file

This commit is contained in:
David 2023-04-07 00:18:39 +01:00
parent 138bb51997
commit 0013b1b012

View File

@ -1,4 +1,4 @@
fn main() -> Result<(), Box<dyn std::error::Error>> {
fn main() -> Result<(), anyhow::Error> {
//::compile_protos("proto/tensorflow_serving/apis/prediction_service.proto")?;
tonic_build::configure().compile(
&[