Can we use a layered architecture pattern in a Rust codebase? Like using controller, service, and persistent layers? Yes, we can, but we may need
In any programming language, strings are essential. We’ll be hard-pressed to find any real-life application that doesn’t rely on strings. One of the everyday operations
Errors are a part of Software, and Rust has features to terminate an application using the panic macro and handle failures gracefully with the Result
Non-exhaustive structs will future-proof our codes. We use Struct expressions to instantiate structs and they’re JSON-like expression in appearance with all fields present. When we update a struct with a new field, all expressions must be updated to include that field.
This post shows how to use Rust Rocket SQLX for MySQL for basic CRUD (Create, Retrieve, Update, and Delete) operations. Prerequisites For Building the Rust
This post is about connecting to MySQL from Rust.
Processing a considerable number of large XML files may require a lot of memory and processing power. With Rust, we can create applications that process
This post shows how to use the Composite design pattern in Rust. Also, it offers a sample implementation with two levels of composition. For instance,
This post shows how to use the Iterator design pattern in Rust without using the Iterator trait or any crate. Suppose we have a struct
This post shows a simple implementation of the Chain of Responsibility pattern in Rust. For example, we have a set of struct instances that check