The Ownership concept in Rust is easy to grasp! Wait until you get to Rust lifetimes! When we talk about ownership in Rust, we generally mean – a variable owns a value. Seemingly nothing special, right? But the unique part
Rust HashMap Examples
This post shows Rust HashMap basic examples, particularly for beginners. A map is a type of data structure that allows us to store key-value pair data. We may have learned it from other programming languages like Java. In Rust, the
Rust Stable And Rocket 0.5 Latest Development Codes
As posted in Rust Framework Rocket Goes Stable, Rocket will be compatible with Rust Stable, starting with version 0.5. It is almost September, and we will have the new release any time soon. We can already use the latest Rocket
How To Update Rust On Windows
It is very easy to update Rust on Windows to the latest version. You could install either the stable or nightly release and update from it. For those new to Rust, I would recommend installing the stable release. Install Rust
Rust REST API, Actix-web, PostgreSQL – Part 1: Overview
This post shows a simple example of a REST API with Rust, Actix-web, and PostgreSQL and its requirements. Rust Actix-web PostgreSQL Requirements These are the items used for these posts and the subsequent ones. Windows 10 Please see How to install
Rust REST API, Actix-web, PostgreSQL – Part 2: The Project
Previously, we had a bit of an overview and prerequisites of the stuff needed to start creating a REST API example in Rust using Actix-web and PostgreSQL project. This post is the second part and gives an overview of the
Rust – Upload Files in Actix-Web Sample Application
This post is about uploading a file or multiple files to a running Actix-web application.
Rust – How to Return JSON Responses from Actix-web
Are you planning to develop an API-only backend using Rust and Actix-web? If so, you need to know how to return JSON responses from Actix-web. This post briefly shows how to create a Rust application using actix-web that returns JSON responses.
Rust REST API, Actix-web, PostgreSQL – Part 3: The Codes
We had an overview of the project structure. This post shows the codes of the files mentioned in the previous post.
Tomcat 9 and Up: JDBC Realm For Basic HTTP Authentication
It is incredible how we can modify Tomcat to help hasten the development. This post will demonstrate how to use Tomcat JDBC Realm, which uses an RDBMS for Basic HTTP Authentication. This could cut down development time and effort for