k8s-csi 0.4.0

Bindings for Kubernetes CSI
Documentation
1
2
3
4
5
6
7
8
9
10
11
fn main() {
    let mut config = prost_build::Config::new();
    config.btree_map(&["."]);
    let proto = std::path::Path::new("proto/csi/v1.3.0/api.proto");
    let proto_dir = proto
        .parent()
        .expect("proto file should reside in a directory");
    tonic_build::configure()
        .compile_with_config(config, &[proto], &[proto_dir])
        .unwrap();
}