lazy_static
patternExplore the lazy_static pattern in Rust, in which a value is only initialized when it is first accessed, and the pros and cons of using it.
Warp is a minimal and efficient web framework for building HTTP-based web services in Rust. Learn how to build a REST API in Rust with warp.
We investigate different methods for implementing pinning with async data in Rust and look at how to safely access pinned data.
In this article, we explored Pest — a Rust parser generator — and why we need to use parser generators to generate parsers.
Let’s look at ten of the best Rust IDEs and code editors, along with useful packages and plugins like IntelliJ Rust.
Let’s use the rust-sdl2 crate to create a simple snake game that demonstrates the features of the new SDL2.0 libraries.
Get a refresher on using Rust and Axum to build a web service, along with how to use this framework to handle error responses.
All in all, Rust has two kinds of errors, an error value returned from the Result type, and an error generated from triggering the panic! macro.
This tutorial shows how to build a to-do API using Rocket and Diesel. Learn how Rust handles connections to a SQLite database using Rocket.
Learn about environment capturing in Rust with closures and how you can use closures to optimize your code.
Learn how and when to use tuples, structs, and tuple structs in Rust to return multiple results from your functions.
Explore the main features of six Rust HTTP clients, including reqwest and libcurl, and how to make GET and POST requests with each.