mirror of
https://github.com/aljazceru/transcription-api.git
synced 2025-12-18 07:44:21 +01:00
initial commit
This commit is contained in:
10
examples/rust-client/build.rs
Normal file
10
examples/rust-client/build.rs
Normal file
@@ -0,0 +1,10 @@
|
||||
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
// Compile protobuf files
|
||||
tonic_build::configure()
|
||||
.build_server(false) // We only need the client
|
||||
.compile(
|
||||
&["../../proto/transcription.proto"],
|
||||
&["../../proto"],
|
||||
)?;
|
||||
Ok(())
|
||||
}
|
||||
Reference in New Issue
Block a user