2021-03-21 23:00:09 +00:00
|
|
|
//! Crate containing rpc related functions and types used in Garage
|
|
|
|
|
2020-04-24 10:10:01 +00:00
|
|
|
#[macro_use]
|
2022-02-17 22:28:23 +00:00
|
|
|
extern crate tracing;
|
2020-04-24 10:10:01 +00:00
|
|
|
|
2022-10-18 16:38:20 +00:00
|
|
|
#[cfg(feature = "consul-discovery")]
|
2021-03-21 23:00:09 +00:00
|
|
|
mod consul;
|
2022-03-16 11:09:50 +00:00
|
|
|
#[cfg(feature = "kubernetes-discovery")]
|
2022-03-06 13:50:00 +00:00
|
|
|
mod kubernetes;
|
2021-02-21 12:11:10 +00:00
|
|
|
|
2022-09-21 12:39:59 +00:00
|
|
|
pub mod graph_algo;
|
2021-11-09 11:24:04 +00:00
|
|
|
pub mod layout;
|
2022-12-05 14:28:57 +00:00
|
|
|
pub mod replication_mode;
|
2021-02-23 17:46:25 +00:00
|
|
|
pub mod ring;
|
2021-10-14 09:50:12 +00:00
|
|
|
pub mod system;
|
2021-02-21 12:11:10 +00:00
|
|
|
|
2022-02-16 13:23:04 +00:00
|
|
|
mod metrics;
|
2021-10-14 09:50:12 +00:00
|
|
|
pub mod rpc_helper;
|
|
|
|
|
|
|
|
pub use rpc_helper::*;
|