grapsus-agent-protocol 0.5.12

Agent protocol and IPC for Grapsus reverse proxy external processors
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Build script for grapsus-agent-protocol
//!
//! Compiles Protocol Buffer definitions for gRPC support.

fn main() -> Result<(), Box<dyn std::error::Error>> {
    // Compile v2 agent protocol
    tonic_prost_build::configure()
        .build_server(true)
        .build_client(true)
        .compile_protos(&["proto/agent_v2.proto"], &["proto/"])?;

    println!("cargo:rerun-if-changed=proto/agent_v2.proto");

    Ok(())
}