Rust 1.70.0 has been released with new features, improvements and bug fixes
Rust, the popular programming language, has released version 1.70.0. This release enables everyone to build reliable and efficient software. Rust has been gaining popularity among developers in recent years due to its performance, safety, and memory management.
One of the new features in this release is the default enabling of Cargo's "sparse" protocol for reading the index from crates.io. This feature was previously stabilized with Rust 1.68.0, but still required configuration to use that with crates.io. With this new release, developers can use this feature without any additional configuration.
In addition to this, two new types have been stabilized for one-time initialization of shared data. OnceCell and its thread-safe counterpart OnceLock are now available for developers to use. These types allow for the initialization of data that can be shared across multiple threads without the need for complex synchronization.
Apart from these new features, Rust 1.70.0 also comes with other improvements and bug fixes. The Rust team has been working hard to make the language more user-friendly and efficient for developers.
Comments
This is great! Can't wait to use the new features!