buildkit-proto 0.2.0

Protobuf interfaces to BuildKit
Documentation
1
2
3
4
5
6
7
8
9
10
11
const DEFS: &[&str] = &["proto/github.com/moby/buildkit/frontend/gateway/pb/gateway.proto"];
const PATHS: &[&str] = &["proto"];

fn main() -> Result<(), Box<dyn std::error::Error>> {
    tonic_build::configure()
        .build_client(true)
        .build_server(false)
        .compile(DEFS, PATHS)?;

    Ok(())
}