|5 days ago||12 days ago|
|MIT License||MIT License|
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.
How to build a blockchain in Rust
4 projects | dev.to | 1 Dec 2021
We’re using libp2p as our peer-to-peer networking layer and Tokio as our underlying runtime.
Building My First Command Line Interface (CLI) with Rust
3 projects | dev.to | 25 Nov 2021
This is where the tokio library comes in to play. We add it to the Cargo.toml under [dependencies] .
"This paper examines this most frequently deployed of software architectures: the BIG BALL OF MUD. A BIG BALL OF MUD is a casually, even haphazardly, structured system. Its organization, if one can call it that, is dictated more by expediency than design. "
2 projects | reddit.com/r/programming | 19 Nov 2021
There's little like thing to catch (like the async mutex overhead https://github.com/tokio-rs/tokio/issues/2599 is this improved?) or like I was talking about in the other threads you get stuck into certain design decisions you end up making to make the borrow check happy, the api for the metrics crate. If globals were easier to use use, you wouldn't need an api that requires doing look ups in a hash map.
Async, refactoring and fewer bugs: Rust block expressions to the rescue
1 project | dev.to | 18 Nov 2021
Let's up the game and see a Tokio example.
How to use a non-blocking C library with async?
1 project | reddit.com/r/rust | 12 Nov 2021
All I know is that IOCP is quite different from the traditional Unix select/epoll/etc. model. Seems like there is an open issue for plugging arbitrary Windows handles to Tokio.
Announcing dlm: a minimal HTTP download manager
4 projects | reddit.com/r/rust | 5 Nov 2021
The downloads are performed using [reqwest](https://github.com/seanmonstar/reqwest) and [tokio](https://github.com/tokio-rs/tokio) in an asynchronous fashion.
That's my variable!
1 project | reddit.com/r/ProgrammerHumor | 30 Oct 2021
For example, Tokio (Rust) has a multi-threaded task scheduler: https://tokio.rs
Pointer Fu: An adventure in the Tokio code base
1 project | dev.to | 25 Oct 2021
In an effort to understand the internals of asynchronous runtimes, I've been spending time reading Tokio's source code. I've still got a long way to go but it has been a great journey so far.
Implementing the Health Check API Pattern with Rust
8 projects | dev.to | 24 Oct 2021
For sqlx, we want to make sure we include the "postgres" feature during compilation, so we have PostgreSQL drivers to connect to our PostgreSQL database with. Next, we'll want to make sure we have the runtime-actix-native-tls feature included so that sqlx can support the actix-web framework which uses the tokio runtime. Finally, let's include serde and serde_json for serializing our Health Check API response body for later in the post.
Hey Rustaceans! Got an easy question? Ask here (40/2021)!
14 projects | reddit.com/r/rust | 4 Oct 2021
You can use -Dwarnings to have any warning become a compiler error. See an example here.
Secure Websocket Client
2 projects | reddit.com/r/learnrust | 15 Nov 2021
Warp has some examples TLS and Websocket
Announcing axum 0.3
5 projects | reddit.com/r/rust | 2 Nov 2021
Looking through warp's implementation you also find stuff like https://github.com/seanmonstar/warp/blob/b6d1fc0719604ef1010aec00544408e6af1289a5/src/generic.rs which is cool as an academic exercise but I would like to keep axum's internals simpler if possible. One day I wanna sit down and actually learn how warp works internally. I come from a scala/haskell background so I like digging into stuff like this.
Porting http server to Nodejs
2 projects | reddit.com/r/rust | 30 Oct 2021
Let's assume i have developed a web server by using warp in rust than i ported it to nodejs via neon.
Kerla: Monolithic kernel in Rust, aiming for Linux ABI compatibility
15 projects | news.ycombinator.com | 25 Oct 2021
Any crates for serving Hyper over TLS?
3 projects | reddit.com/r/rust | 17 Oct 2021
Since warp is built on hyper. Take their tls implementation then? https://github.com/seanmonstar/warp/blob/master/src/tls.rs
Full-stack Rust: A complete tutorial with examples
6 projects | dev.to | 17 Sep 2021
We’re using the warp web framework to build the backend. Since we’re using a Postgres database to store our data, we’ll also add the mobc connection pool for Postgres.
Struggling to get warp::filter::body::form to work
1 project | reddit.com/r/rust | 15 Sep 2021
I ended up using the same code as warp has used in its official test, since all other did not really work out (see also warp/body.rs at master · seanmonstar/warp · GitHub , line 116 ff).
9 projects | reddit.com/r/rust | 21 Aug 2021
For me there was a solution based on this issue: https://github.com/seanmonstar/warp/issues/619
What is the way to use a router with Hyper/Tokio?
5 projects | reddit.com/r/rust | 19 Aug 2021
With tokio, you may want to use something like warp (which uses hyper underneath).
Warp - use individual recover steps for each filter
1 project | reddit.com/r/rust | 16 Aug 2021
From perusing a lot of the discussions in GitHub issues a while ago, it seems rejections are meant to indicate ‘try another filter’, not ‘there was an error’ (see also), i.e. your handler should return something like Result if the issue is an error during the execution of the logic. PR #458 is designed to simplify this, but I don’t know what the status is.
What are some alternatives?
async-std - Async version of the Rust standard library
axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper
rayon - Rayon: A data parallelism library for Rust
Rocket - A web framework for Rust.
actix-web - Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
sqlx - 🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, SQLite, and MSSQL.
smol - A small and fast async runtime for Rust
hyper - An HTTP library for Rust
async-std-hyper - How to run Hyper on async-std
bevy - A refreshingly simple data-driven game engine built in Rust
winit - Window handling library in pure Rust