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