What’s new in Rust 1.68
The unique approach of the Rust programming language results in better code with fewer compromises than C, C++, Go, and the other languages you probably use. It also gets updated regularly, often every month.
Where to download the latest Rust version
If you already have a previous version of Rust installed via rustup, you can access the latest version via the following command:
$ rustup update stableThe new features in Rust 1.68
Rust 1.68.0, announced March 9, stabilizes the “sparse” registry protocol for the Cargo package manager for reading the index of crates, along with infrastructure at http//index.crates.io/ for those published in the primary crates.io registry. The previous git protocol, still the default, clones a repository that indexes all crates available in the registry, but this has begun to hit scaling limitations, with delays while updating the repository. The new protocol is expected to improve performance when accessing crates.io. To use the sparse protocol with crates.io, set the environment variable
CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
, or edit your.cargo/config/toml
file to add:
Author: . [Source Link (*), InfoWorld]