How To Fix And Prevent Buffered Streams Deadlock
Rust has eliminated various stupid bugs and traps that are common in other languages, making it easier to develop and maintain our projects. Unfortunately, when it comes to common problems in asynchronous programming, Rust is not inherently as strong. In fact, asynchronous programming in Rust is much more difficult than in Javascript
.
Last month, the author’s service was down for several days due to a serious deadlock bug, which was not the first deadlock they encountered, but at least the fourth. Just last week, the company the author works for experienced another service interruption due to a deadlock. Fortunately, 4 out of the 5 deadlocks had the same root cause: futures::stream::Buffered
is inherently prone to deadlocks. In this article, the author will explain this issue and explore ways to prevent it from happening again.
Creating a GraphQL Rust Project Using Actix and Mongo
This is a step-by-step guide on how to create a GraphQL-supported web service using Rust + Actix + MongoDB, with detailed steps and code.

Original link: https://dev.to/hackmamba/create-a-graphql-powered-project-management-endpoint-in-rust-and-mongodb-actix-web-version-3j1
STM32 Emulator
The goal of this project is to simulate a 3D printer, but any type of STM32 controller firmware can work.
LanguageTool-Rust
LanguageTool is an open-source grammar and style checker. It can correct over 20 languages and is free to use; for more information, please visit languagetool.org. It has a public API, and you can also host your own server locally.
LanguageTool-Rust
can help you easily communicate with these servers through Rust code!
From the Daily Report Team BobQin, FBI Xiaobai
Community learning and exchange platform subscription:
-
Rustcc Forum: supports RSS
-
WeChat Official Account: Rust Language Chinese Community