etcdrs 0.1.2

An async etcd v3 client built on tonic and tokio, with composable operation builders and type-safe responses
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![doc = include_str!("README.md")]

mod auth;
mod cluster;
mod kv;
mod lease;
mod watch;

pub use auth::AuthDriver;
pub use cluster::ClusterDriver;
pub use kv::{KvDriver, ListView};
pub use lease::LeaseDriver;
pub use watch::WatchDriver;

/// Driver for all public etcd operation families.
pub trait Driver: KvDriver + LeaseDriver + WatchDriver + AuthDriver + ClusterDriver {}

impl<T> Driver for T where T: KvDriver + LeaseDriver + WatchDriver + AuthDriver + ClusterDriver {}