mumble-stats-api/build.rs
alemi 2f4b52e09d feat: added protobuf tcp protocol for control
just imported mumble's .proto file and added prost to get the rust
structs

Co-authored-by: frelodev <frelodev@gmail.com>
2024-02-18 23:56:59 +01:00

9 lines
168 B
Rust

fn main() -> Result<(), Box<dyn std::error::Error>> {
tonic_build::configure()
.compile(
&["src/tcp/mumble.proto"],
&["src/tcp"],
)
.unwrap();
Ok(())
}