stylus
ureq
stylus | ureq | |
---|---|---|
3 | 7 | |
121 | 1,569 | |
- | - | |
2.6 | 8.5 | |
10 months ago | 4 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/
ureq
-
Thermostat Control for Ecobee
I also enjoyed using ureq as an http client.
-
An HTTP request parser with rust and pest.rs
After a quick check of the available rust http client libraries I opted for reqwest. It has a pretty simple API and it seems to be among the most used libraries for this matters. But I'm a bit concerned about all its dependencies so I might try ureq later.
- Why asynchronous Rust doesn't work
-
HTTP-client agnostic crate
Async is only useful when you have hundreds of connections open at the same time and idling most of the time; otherwise it's a liability. If your web API does not allow that (e.g. it has rate-limiting, which most APIs do), I suggest going with a client that performs blocking I/O and spawning threads if you need parallelism. https://github.com/algesten/ureq should fit the bill.
-
Client/Server Communication Help
I think you'll find a lot of people claiming its overkill, but it will have excellent documentation for both sides, offer reasonable speed, and let you hash out the actual logic of your system without worrying too much about if your low-level implementation is correct. Two good frameworks for the server would be Actix or Rocket. For the client, i'd reccomend either using reqwest or ureq. From there, you can just set up a few POST endpoints, and get to going.
-
http client facade library?
If you want an HTTP client with few dependencies and little unsafe code, take a look at https://github.com/algesten/ureq
-
Tokio, the async runtime for Rust, hits 1.0
Give ureq a try: https://github.com/algesten/ureq
What are some alternatives?
async-std-hyper - How to run Hyper on async-std
reqwest - An easy and powerful Rust HTTP Client
rio - pure rust io_uring library, built on libc, thread & async friendly, misuse resistant
hyper - An HTTP library for Rust
keepcalm - Simple shared types for multi-threaded Rust programs
curl-rust - Rust bindings to libcurl
smol - A small and fast async runtime for Rust
rust-http-clients-smoke-test
DashMachine - Another web application bookmark dashboard, with fun features.
teepee - Teepee, the Rust HTTP toolkit
async-std - Async version of the Rust standard library