garage/src/rpc/lib.rs

19 lines
316 B
Rust
Raw Normal View History

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]
extern crate tracing;
2020-04-24 10:10:01 +00:00
#[cfg(feature = "consul-discovery")]
2021-03-21 23:00:09 +00:00
mod consul;
#[cfg(feature = "kubernetes-discovery")]
mod kubernetes;
2021-02-21 12:11:10 +00:00
pub mod layout;
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::*;