oximedia-distributed 0.2.1

Distributed encoding coordinator for OxiMedia
Documentation
1
2
3
4
5
6
7
8
9
fn main() -> Result<(), Box<dyn std::error::Error>> {
    // Pure-Rust protobuf codegen: `protox` parses the .proto files directly
    // instead of shelling out to an external `protoc` binary, so no
    // system-level protoc installation is required to build this crate.
    println!("cargo:rerun-if-changed=proto/coordinator.proto");
    let file_descriptor_set = protox::compile(["proto/coordinator.proto"], ["proto"])?;
    tonic_prost_build::configure().compile_fds(file_descriptor_set)?;
    Ok(())
}