mcp_commune/
lib.rs

1//! # Commune
2//!
3//! `commune` is a Rust library for building distributed systems and peer-to-peer networks.
4//! It provides a set of modules to handle client-server communication, peer management,
5//! error handling, and more.
6//!
7//! ## Modules
8//!
9//! - `client`: Implements client-side functionality for connecting to servers and peers.
10//! - `error`: Defines custom error types used throughout the library.
11//! - `peer`: Manages peer connections and interactions in a distributed network.
12//! - `prelude`: Provides a convenient way to import commonly used items from the library.
13//! - `server`: Implements server-side functionality for handling client connections and requests.
14
15/// Client-side functionality module
16pub mod client;
17
18/// Error handling module
19pub mod error;
20
21/// Peer management module
22pub mod peer;
23
24/// Functionality related to tool calling
25pub mod tool;
26
27/// Prelude module for convenient imports
28pub mod prelude;
29
30/// Server-side functionality module
31pub mod server;