laminar
message-io
Our great sponsors
laminar | message-io | |
---|---|---|
5 | 15 | |
796 | 1,031 | |
1.1% | - | |
3.9 | 5.8 | |
6 months ago | 3 months ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
laminar
-
Choosing a networking library for my game
enet - Golden standard, tested and reliable - Not native rust - Does not seem to be popular in rust turbulence - Readme says it is not stable, but last meaningful commit was 1 year ago - Lacking documentation and examples - Not very popular laminar - Last meaningful release was 3 years ago (ignoring changes that fix typos etc.) - Despite this, everywhere (book, readme) there are mentions that it is under "active development" - Created for Amethyst, which is dead. I am kinda fearful that the same thing will happen to this lib. Tachyon - New and not tested in the battle - Many features that other libraries have planned, Tachyon actually has implemented - Lacking documentation (except for one big readme file), tests, examples Quinn - Big, under active development (daily commits), very popular because web development. - Modular, ability to just use core implemetation: quinn-proto - Do i really need TLS certificates and cryptography for my playing with friends game server? - Stream based, I would need to implement recv/send messages on top of it (not that hard tbh) - Only reliable stream and "unreliable" messages.
-
Looking for help deciding which library to use for networking
laminar: networking library used with the amethyst game engine.
-
Crate to build network packets over UDP
Maybe check out laminar and quinn, which implement custom protocols on top of UDP (quinn implements QUIC), to get an idea on how to do things.
-
UDP Rust Game Server?
For the game packets I would suggest https://github.com/amethyst/laminar.
-
message-io: an event-driven message library to build network applications easy and fast. Now with WebSocket support
I think that you are referring to something like laminar or turbulence do.
message-io
-
Looking for help deciding which library to use for networking
message-io: a networking library meant to be very simple, built on mio.
-
Crate to build network packets over UDP
Another one I know about, but have not looked into yet, is message-io.
- Is there a proper websockets server framework in Rust?
-
Netty-rs - small rust library to easily write server/client networking protocols at application level
I'm working in a transport network library that possible fits as a building block for yours and solves the problem of using different underlying transports: message-io
-
Announcing message-io 0.12 - an event-driven message library to build network applications easy and fast. Now with zero-copy write/read messages. Performance close to using native OS socket with all the facilities the library offers.
Here is benchmarks
-
Someone built a chat backend with Rust for a production website?
I think https://github.com/lemunozm/message-io can be a good candidate.
-
message-io: an event-driven message library to build network applications easy and fast. Now with WebSocket support
The idea behind message-io is not to populate a current transport with a lot of options/profiles/modifications... this obfuscates the default way of working with it. Instead, if you want to build some behaviour on top of it, it is as easy as making an adapter! Following this pattern, you can split the way of using the library from the behaviour of the transport, keeping the things simple.
-
termchat: Terminal chat application on LAN with file transfer and ASCII webcam video streaming support. Built on top of tui-rs and message-io crates
The initial purpose was to show the capabilities of https://github.com/lemunozm/message-io Nevertheless, Termchat is growing and needs to polish some of its features. At this point it is not for real-world use but I hope to reach this target.
What are some alternatives?
bevy_networking_turbulence - Networking plugin for Bevy engine running on naia-socket and turbulence libraries
MIO - Metal I/O library for Rust.
quinn - Async-friendly QUIC implementation in Rust
Netty - Netty project - an event-driven asynchronous network application framework
tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
tungstenite-rs - Lightweight stream-based WebSocket implementation for Rust.
netcode.io - Reference implementation of netcode.io
uflow - A Rust library providing ordered, mixed-reliability, and congestion-controlled data transfer over UDP
criterion.rs - Statistics-driven benchmarking library for Rust
turbulence - Networking library for games, multiplex reliable and unreliable streams over unreliable datagrams.
ws-rs - Lightweight, event-driven WebSockets for Rust.