pbox-proto 0.1.12

Protocol definitions for the pbox guest agent
Documentation
1
2
3
4
5
6
7
8
9
10
11
fn main() -> Result<(), Box<dyn std::error::Error>> {
    println!("cargo:rerun-if-changed=proto/pbox/agent/v1/agent.proto");
    let mut config = tonic_prost_build::Config::new();
    config.protoc_executable(protoc_bin_vendored::protoc_bin_path()?);
    tonic_prost_build::configure().compile_with_config(
        config,
        &["proto/pbox/agent/v1/agent.proto"],
        &["proto"],
    )?;
    Ok(())
}