mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-12-23 02:31:52 +01:00
ef4c5eb65e
Please note we have force-pushed a new initial commit in order to remove some publicly-available Twitter user information. Note that this process may be required in the future.
14 lines
486 B
Rust
14 lines
486 B
Rust
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
//::compile_protos("proto/tensorflow_serving/apis/prediction_service.proto")?;
|
|
tonic_build::configure().compile(
|
|
&[
|
|
"proto/tensorflow_serving/apis/prediction_service.proto",
|
|
"proto/tensorflow/core/protobuf/config.proto",
|
|
"proto/tensorflow_serving/apis/prediction_log.proto",
|
|
"proto/kfserving/grpc_predict_v2.proto",
|
|
],
|
|
&["proto"],
|
|
)?;
|
|
Ok(())
|
|
}
|