| Crates.io | reach |
| lib.rs | reach |
| version | 0.0.1 |
| created_at | 2025-09-27 17:17:52.502211+00 |
| updated_at | 2025-09-28 10:14:23.289578+00 |
| description | Core P2P chat and connections functionality for Rustalk |
| homepage | https://github.com/muhammad-fiaz/Rustalk |
| repository | https://github.com/muhammad-fiaz/Rustalk |
| max_upload_size | |
| id | 1857487 |
| size | 100,421 |
Core P2P Networking Library for Rustalk
Reach is the foundational library that powers Rustalk's peer-to-peer communication capabilities. It provides secure, encrypted networking, identity management, and session handling.
Reach is designed to be used as a library by other Rustalk components:
use reach::{ReachEngine, UserCredentials};
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let credentials = UserCredentials {
email: "user@example.com".to_string(),
password: "secure_password".to_string(),
};
let engine = ReachEngine::new(credentials).await?;
engine.start_server(5000).await?;
Ok(())
}
ReachEngine: Main P2P engine orchestrating all componentsIdentity: User identity and credential managementNetworkManager: P2P networking and connection handlingCryptoEngine: Encryption/decryption and key managementSessionManager: Chat session and peer managementConfig: Configuration management and persistenceReach is typically used as a dependency in other Rust projects:
[dependencies]
reach = "0.0.1"
Apache-2.0 License. See LICENSE for details.
See CONTRIBUTING.md for contribution guidelines.
Part of the Rustalk project.