etcd-client 0.14.0

An etcd v3 API client
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
fn main() {
    let proto_root = "proto";
    println!("cargo:rerun-if-changed={}", proto_root);

    tonic_build::configure()
        .build_server(false)
        .compile(
            &[
                "proto/auth.proto",
                "proto/kv.proto",
                "proto/rpc.proto",
                "proto/v3election.proto",
                "proto/v3lock.proto",
            ],
            &[proto_root],
        )
        .expect("Failed to compile proto files");
}