stylus
smol
stylus | smol | |
---|---|---|
3 | 9 | |
121 | 3,426 | |
- | 2.1% | |
2.6 | 6.8 | |
10 months ago | 15 days ago | |
Rust | Rust | |
Apache License 2.0 | 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.
stylus
-
Show /r/Rust: keepcalm (and call Clone), a simpler way to manage synchronization
I’m making use of this in a few of my projects (https://github.com/progscrape/progscrape/ and https://github.com/mmastrac/stylus/ so far) and I’m quite happy with the quality-of-life improvements. Happy to share it with the community-at-large and solicit ideas/feedback. PRs welcome!
-
Dashy – A self-hosted homepage for your homelab
This is pretty cool.
If you don't need all the bells and whistles from this (including auth!), I built a homelab status page server that's designed for someone like me that just wants to whip up an SVG in draw.io or diagrams.net and make it semi-interactive:
https://github.com/mmastrac/stylus/
I use it to keep tabs on a small fleet of equipment and get at-a-glance status for everything.
-
Tokio, the async runtime for Rust, hits 1.0
I always get a weird vibe from async-std. I respect the people working on it, but it feels like it's trying to boil the ocean.
I'd be very interested in hearing other opinions, as my Rust project [1] is currently stuck on an older version of Tokio while I wait for deps to update.
[1] https://github.com/mmastrac/stylus/
smol
-
The State of Async Rust
My understanding is you always need a runtime, somethings needs to drive the async flow. But there are others on the market, just not without the.. market domination... of tokio.
https://github.com/smol-rs/smol looks promising simply for being minimal
https://github.com/bytedance/monoio looks potentially easier to work with than tokio
https://github.com/DataDog/glommio is built around linux io_uring and seems somewhat promising for performance reasons.
I haven't played with any of these yet, because Tokio is unfortunately the path of least resistance. And a bit viral in how it's infected tings.
- Smol: A small and fast async runtime for Rust
-
Tokio for FFI app?
There is also https://github.com/smol-rs/smol which has components which you can compose into your own executor if you still need async IO but your usage patterns don't fit into the general purpose ones that Tokio provides.
-
Tokio application structure, critical code flow.
If you need precise control over scheduling, consider building something on top of https://github.com/smol-rs/smol
- Async Rust: What is a runtime? Here is how tokio works under the hood
-
18 factors powering the Rust revolution, Part 2 of 3
Tokio is a "take what you need" framework, whilst Async-std started as an "everything the box" solution. Today both have a lot of crossover with micro async runtimes like smol becoming the foundation one of framework and optionally usable in the other. The ability to rip out a small dependent sub-crate (dependent package) like smol and use it independently with ease never get's boring, by the way. It's great way to include a test runtime in an async library without forcing the inclusion of a giant async framework.
-
[Question] Is Tokio a poor fit for non-network related concurrent applications?
Helix uses tokio. smol might be a good alternative however.
-
Async feedback from 2 years of usage
No, still active on GitHub. What gave you that idea? https://github.com/smol-rs/smol
-
Tokio, the async runtime for Rust, hits 1.0
Found the issue in Google cache. I'm not sure it's really fair of me to post this link here, but equally I think it's better to give the actual text rather than leave it vague.
https://webcache.googleusercontent.com/search?q=cache:PRjMyv...
What are some alternatives?
async-std-hyper - How to run Hyper on async-std
tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
rio - pure rust io_uring library, built on libc, thread & async friendly, misuse resistant
async-std - Async version of the Rust standard library
keepcalm - Simple shared types for multi-threaded Rust programs
bastion - Highly-available Distributed Fault-tolerant Runtime
ureq - A simple, safe HTTP client
reqwest - An easy and powerful Rust HTTP Client
DashMachine - Another web application bookmark dashboard, with fun features.