garage_net/
lib.rs

1//! Netapp is a Rust library that takes care of a few common tasks in distributed software:
2//!
3//! - establishing secure connections
4//! - managing connection lifetime, reconnecting on failure
5//! - checking peer's state
6//! - peer discovery
7//! - query/response message passing model for communications
8//! - multiplexing transfers over a connection
9//! - overlay networks: full mesh, and soon other methods
10//!
11//! Of particular interest, read the documentation for the `netapp::NetApp` type,
12//! the `message::Message` trait, and `proto::RequestPriority` to learn more
13//! about message priorization.
14//! Also check out the examples to learn how to use this crate.
15
16pub mod bytes_buf;
17pub mod error;
18pub mod stream;
19pub mod util;
20
21pub mod endpoint;
22pub mod message;
23
24mod client;
25mod recv;
26mod send;
27mod server;
28
29pub mod netapp;
30pub mod peering;
31
32pub use crate::netapp::*;
33
34#[cfg(test)]
35mod test;