In Rust, we can use std::process::Command to run a .bat or .cmd file in Windows.
Path Parameter and JSON Payload in Actix-Web
This post demonstrates how to capture path parameters and JSON payload in Actix-web .
Secure Actix-Web Application With TLS
This post demonstrates how to secure a Actix-web web application in Rust.
Rust – Fibonacci using Recursion and Iteration
This post is about simple Fibonacci implementations in Rust using recursion and iteration. It also shows which one is faster than the other using differences of start and end times.
Create Threads That Work With Data in Rust
Rust supports the creation of threads to run code simultaneously using the spawn function and a closure argument.
Static and Instance Methods in Struct in Rust
A struct can have its own static and instance methods (or functions) but are not created within the struct itself. These methods exist in a separate block using impl and they can be either static or instance methods.
Insertion Sort Recursion and Iteration in Rust
This post is about a sorting algorithm called Insertion Sort with recursive and iterative implementations in Rust.
Write XML Tags using Closure in Rust – No Element End Tags
Did you miss writing out an XML element end tag in your Rust codes? There is a convenient way to avoid this in Rust using Closure.
Quicksort Algorithm Example in Rust
This post is about an example of the Quicksort algorithm in Rust. It sorts an array of i32 with 13 elements.
Merge Sort Algorithm in Rust Codes
Merge Sort is an algorithm invented by John von Neumann in 1945 and it is one of the most efficient sorting algorithms. It uses the principle of divide-and-conquer.