mirror of
https://github.com/aljazceru/transcription-api.git
synced 2025-12-17 07:14:24 +01:00
10 lines
292 B
Rust
10 lines
292 B
Rust
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(())
|
|
} |