| Crates.io | wrym |
| lib.rs | wrym |
| version | 0.1.0 |
| created_at | 2025-06-02 00:44:31.305035+00 |
| updated_at | 2025-06-02 00:44:31.305035+00 |
| description | Cross-platform, lightweight networking |
| homepage | |
| repository | https://github.com/wick3dr0se/wrym |
| max_upload_size | |
| id | 1697589 |
| size | 55,231 |
Wrym is a cross-platform, lightweight and flexible networking library, designed to simplify the development of networked applications. It provides a unified interface for various transport layers and networking protocols, making it easy to build scalable and adaptable systems
Transport trait, enabling seamless integration with different protocolsGet wrym
cargo add wrym
Example: Basic server
use wrym::{server::{Server, ServerConfig}, transport::Transport};
fn main() {
let transport = Transport::new("127.0.0.1:8080").unwrap();
let mut server = Server::new(transport, ServerConfig::default());
loop {
server.poll();
while let Some(event) = server.recv_event() {
// handle events
}
}
}
See more examples in examples/
If you have a feature request, bug report, or want to contribute code, please open an issue or submit a pull request
Contributions are much appreciated!