Registry / networking / renet
library2.0.0rscratesunverified

Server/Client network library for multiplayer games with authentication and connection management.

# Cargo.toml [dependencies] renet = "2.0.0"
INSTALL
IMPORT
SIG · RENET
R
renet
networkingrustv2.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RenetServer
use renet::RenetServer;

Create a new Renet server.

use renet::RenetServer; fn main() { let server = RenetServer::new(); println!("Renet server created"); }
Debug
Known issues
gotchaRequires async runtime (tokio) for network operations.
fix
Add tokio as a dependency and run with #[tokio::main].
affects: *
Upgrade
Version history
2.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
renet — cargo add renet · libregistry