rust-playground/grpc/broadcaster/build.rs

8 lines
284 B
Rust

// SPDX-FileCopyrightText: 2023 Matteo Settenvini <matteo.settenvini@montecristosoftware.eu>
// SPDX-License-Identifier: AGPL-3.0-or-later
fn main() -> Result<(), Box<dyn std::error::Error>> {
tonic_build::configure().compile(&["proto/service.proto"], &["proto"])?;
Ok(())
}