aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/lib.rs
blob: a8cc0030d75a256f95412d7b270a2f2c1847c5d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//! Crate containing rpc related functions and types used in Garage

#[macro_use]
extern crate tracing;

#[cfg(feature = "consul-discovery")]
mod consul;
#[cfg(feature = "kubernetes-discovery")]
mod kubernetes;

pub mod layout;
pub mod replication_mode;
pub mod ring;
pub mod system;

mod metrics;
pub mod rpc_helper;

pub use rpc_helper::*;

pub mod system_metrics;