etcd for Rust
An etcd(API v3) client for Rust, and it provides async/await APIs backed by tokio and tonic.
Documentation on the library can be found at docs.rs/etcd-rs.
Features
- Asynchronous
- Etcd APIv3
Examples
Usage
Add following dependencies in your project cargo.toml:
[]
= "0.4"
Setup Client
let endpoints = vec!;
let client = connect.await;
if authenticate enabled
let endpoints = vec!;
let client = connect.await;
with tls
let endpoints = vec!;
let tls = new;
let client = connect.await;
License
This project is licensed under the MIT license.