calloop
A callback-based Event Loop (by Smithay)
mqttrs
Async Mqtt encoder and decoder for rust. (by 00imvj00)
calloop | mqttrs | |
---|---|---|
4 | 4 | |
172 | 123 | |
1.2% | - | |
7.4 | 0.0 | |
4 days ago | almost 2 years ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
calloop
Posts with mentions or reviews of calloop.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-29.
-
Rust Event System
calloop smell good. look close calloop
-
[Discussion] What crates would you like to see?
What I really want though, is a simple MQTT abstraction around a socket that I can use in non-blocking mode and put into an event loop like calloop. There's mqttrs for the protocol-only part, but I'll still need to convince my employer that it's worth it to implement the IO for it from scratch.
-
Closure based event loop library kinda like libuv
You may be interested in calloop, which is what backs the Smithay compositor (and also the winit event loop, at least on the Wayland backend). It's basically this crate, but with a handful more batteries included.
mqttrs
Posts with mentions or reviews of mqttrs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-05.
-
What MQTT crates for use in WASM are out there?
I saw options like https://github.com/00imvj00/mqttrs and https://github.com/zonyitoo/mqtt-rs - they are compiling for wasm, but for my understanding they are just packet decoders/encoders - so all state machines etc I should write myself. Maybe there are creates that are network agnostic, meaning I will feed it bytes, it will feed me bytes back and all I need to do is to send them?
-
[Discussion] What crates would you like to see?
What I really want though, is a simple MQTT abstraction around a socket that I can use in non-blocking mode and put into an event loop like calloop. There's mqttrs for the protocol-only part, but I'll still need to convince my employer that it's worth it to implement the IO for it from scratch.
-
What's your go to MQTT library?
I've used and contributed to mqttrs, as I needed more low-level control than what rumqtt provides and was keen on using pure Rust. I had to pause my MQTT project two years ago, but AFAICT mqttrs is still a solid option.
-
Hey Rustaceans! Got an easy question? Ask here (37/2021)!
What are the best crates for mqtt these days? I found mqtt-rs which looks pretty promising - are there any other ones I should be aware of?
What are some alternatives?
When comparing calloop and mqttrs you can also consider the following projects:
faer-rs - Linear algebra foundation for the Rust programming language
lxp-bridge - A bridge to MQTT/InfluxDB/Postgres for communications with LuxPower inverters
dune - A hobby runtime for JavaScript and TypeScript 🚀
paho.mqtt.rust - paho.mqtt.rust
dune-event-loop - A multi-platform event loop library 🎡
ntex-mqtt - MQTT Client/Server framework for v5 and v3.1.1 protocols
finite-state-machine
crates.io - The Rust package registry
comprexor - A simple Rust lib to compress and extract files and directories.
nats.rs - Rust client for NATS, the cloud native messaging system.