envoy-ext-proc-stubs 0.1.1

Pre-compiled gRPC client and server stubs for the Envoy ext_proc protocol
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
fn main() -> Result<(), Box<dyn std::error::Error>> {
    let mut proto_config = prost_build::Config::new();
    proto_config.bytes(["."]);
    tonic_build::configure()
        .build_client(true)
        .build_server(true)
        .compile_with_config(
            proto_config,
            &["data-plane-api/envoy/service/ext_proc/v3/external_processor.proto"],
            &["data-plane-api/", "udpa/", "protoc-gen-validate/", "xds/"],
        )?;
    Ok(())
}