12 breaking releases
Uses new Rust 2024
| new 0.14.0 | Feb 13, 2026 |
|---|---|
| 0.13.0 | Oct 25, 2025 |
| 0.11.0 | Dec 21, 2024 |
| 0.10.0 | Jul 15, 2024 |
| 0.1.1 | Sep 13, 2021 |
#1717 in Network programming
25 downloads per month
91KB
1.5K
SLoC
Signaling Server
A lightweight signaling server with some opinions, to work with all examples.
Next rooms
This signaling server supports a rudimentary form of matchmaking. By appending ?next=3 to the room id, the next three players to join will be connected, and then the next three players will be connected separately to the first three.
You can also use the room id for scoping what kind of players you want to match. i.e.: wss://match.example.com/awesome_game_v1.1.0_pvp?next=2
Run
cargo run
Dependencies
~17–23MB
~332K SLoC