agentd 0.1.0

Agent daemon for secure capability execution with pluggable isolation backends
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
fn main() {
    #[cfg(feature = "grpc")]
    {
        let proto_file = "proto/agentd.proto";

        // Recompile if proto file changes
        println!("cargo:rerun-if-changed={}", proto_file);

        tonic_build::configure()
            .build_server(true)
            .build_client(true)
            .compile_protos(&[proto_file], &["proto"])
            .expect("Failed to compile proto files");
    }
}