Rust just got a massive update!
Welcome back! As most of you know, Rust is an awesome programming language that can build almost anything, and there has been another new update for Rust, this time, it’s Rust 1.56! If you want to jump straight to their release log, check out the link below:
So, let’s see what some of the main improvements are for this language!
Cargo Update
Cargo now supports a new function, rust-version, this will now specifiy the minimum supported version of Rust you need for a crate! This will make it easier to handle package / version control.
Disjoint Captures In Closures
Rust now automatically captures values or references in identifiers for the body, before, they were only capture as the whole, this will help to simplify how closures are setup, here is an example from their website: