|6 days ago||4 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.
If I have learned something here is that programming sucks but it's also cool when it works
3 projects | reddit.com/r/ProgrammerHumor | 16 Oct 2021
Linkerd 2.11 now includes a Kubernetes controller written in Rust
5 projects | reddit.com/r/rust | 1 Oct 2021
With yesterday's 2.11.0 release, Linkerd features a new policy-controller component written in Rust! It uses kube-rs to communicate with the Kubernetes API and it exposes a gRPC API implemented with Tonic.
What are you using Rust for?
22 projects | reddit.com/r/rust | 1 Oct 2021
I use it every day for backend development (usually with tonic, which is a great workflow). I'll also use it in Cloudflare Workers now that native Rust support is in beta.
New Ada Folks (<2 years), what made you pick up (or leave) Ada?
10 projects | reddit.com/r/ada | 14 Sep 2021
Rust has two: https://github.com/stepancheg/grpc-rust and https://github.com/hyperium/tonic
New Tokio blog post: Announcing Axum - Web framework that focuses on ergonomics and modularity
9 projects | reddit.com/r/rust | 30 Jul 2021
We did also consider using Axum for tonic's router, but has put that idea on the back burner for now.
Application design: communication from Rust to another language
5 projects | reddit.com/r/rust | 20 Jul 2021
At the moment I would recommend gRPC for Swift and Rust, even though in general gRPC drives me insane, it is currently the most convenient choice. Use tonic for the Rust server-side, and grpc-swift for the client-side. I've had quite a lot of success with this in the past.
Darkroom: A VCR contract testing tool built in Rust
8 projects | reddit.com/r/rust | 8 Jun 2021
Adding native gRPC client reflection support, tonic currently only supports it for the server
What you don't like about Rust?
18 projects | reddit.com/r/rust | 17 May 2021
Only thing I don't like so far is having tons of boilerplate to have my struct fields correctly typed between my actix rest facade and the underlying tonic grpc microservices (having copycat structs with same fields but some casted to ::uuid::Uuid instead of ::std::string::String, or some to::chrono::DateTime instead of ::std::option::Option, and so on). That's not really Rust's fault at all, but I wish there was a better way (if ever there is that I'm unaware of, please point me out in the right direction).
Six Years of Rust
3 projects | reddit.com/r/programming | 15 May 2021
Interesting, aren't the community-driven crates for these areas satisfactory enough? There's PROST and tonic, and quite well-used. I don't know about Bazel though, but I found this. Feel free to correct me on this subject, I admit I don't know that much about it.
How to use gRPC with Rust Tonic and Postgres database with examples
3 projects | dev.to | 13 May 2021
In this post, we will learn how to use Rust Tonic gRPC crate. We will learn how to implement CRUD with Postgresql database.
What are some alternatives?
async-std - Async version of the Rust standard library
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
axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper
prost - PROST! a Protocol Buffers implementation for the Rust Language
hyper - An HTTP library for Rust
bevy - A refreshingly simple data-driven game engine built in Rust
warp - A super-easy, composable, web server framework for warp speeds.
rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266