cri-api 1.0.0

Bindings Kubernetes CRI
Documentation
1
2
3
4
5
6
7
8
9
10
11
fn main() {
    tonic_build::configure()
        .type_attribute(".", "#[derive(serde::Serialize, serde::Deserialize)]")
        .compile(&["proto/v1.proto"], &["proto/"])
        .unwrap();

    tonic_build::configure()
        .type_attribute(".", "#[derive(serde::Serialize, serde::Deserialize)]")
        .compile(&["proto/v1alpha2.proto"], &["proto/"])
        .unwrap();
}