github rust-lang/rust 1.62.0
Rust 1.62.0

latest releases: 1.77.2, 1.77.1, 1.77.0...
22 months ago

Language

Compiler

* Refer to Rust's platform support page for more information on Rust's tiered platform support.

Libraries

Stabilized APIs

Clippy

Cargo

  • Added the cargo add command for adding dependencies to Cargo.toml from the command-line. docs
  • Package ID specs now support name@version syntax in addition to the previous name:version to align with the behavior in cargo add and other tools. cargo install and cargo yank also now support this syntax so the version does not need to passed as a separate flag.
  • The git and registry directories in Cargo's home directory (usually ~/.cargo) are now marked as cache directories so that they are not included in backups or content indexing (on Windows).
  • Added automatic @ argfile support, which will use "response files" if the command-line to rustc exceeds the operating system's limit.

Compatibility Notes

Internal Changes

These changes provide no direct user facing benefits, but represent significant improvements to the internals and overall performance of rustc and related tools.

Don't miss a new rust release

NewReleases is sending notifications on new releases.