Software 43918 Published by

Rustup 1.28.2 has been released and represents the most recent iteration of the Rust programming language, incorporating various updates.

The cURL download backend and native-tls TLS backend have been officially deprecated, and users will receive warnings upon their usage. Rustup seeks to establish a standardized HTTP + TLS stack incorporating additional components in Rust, thereby enhancing security and performance and facilitating maintenance. Users have the capability to pin the version of Rustup during installation through rustup-init.sh and can utilize rustup self-update to upgrade or downgrade to a specific version. Rustup has addressed an issue in Nushell integration that could lead to the generation of invalid commands within shell configuration.





Announcing rustup 1.28.2

The rustup team is happy to announce the release of rustup version 1.28.2.  Rustup is the recommended tool to install  Rust, a programming language that empowers everyone to build reliable and efficient software.

What's new in rustup 1.28.2

The headlines of this release are:

  • The cURL download backend and the native-tls TLS backend are now officially deprecated and a warning will start to show up when they are used.  pr#4277

    • While rustup predates reqwest and rustls, the rustup team has long wanted to standardize on an HTTP + TLS stack with more components in Rust, which should increase security, potentially improve performance, and simplify maintenance of the project. With the default download backend already switched to reqwest since  2019, the team thinks it is time to focus maintenance on the default stack powered by these two libraries.

    • For people who have set RUSTUP_USE_CURL=1 or RUSTUP_USE_RUSTLS=0 in their environment to work around issues with rustup, please try to unset these after upgrading to 1.28.2 and file  an issue if you still encounter problems.

  • The version of rustup can be pinned when installing via rustup-init.sh, and rustup self update can be used to upgrade/downgrade rustup 1.28.2+ to a given version. To do so, set the RUSTUP_VERSION environment variable to the desired version (for example 1.28.2).  pr#4259

  • rustup set auto-install disable can now be used to disable automatic installation of the toolchain. This is similar to the RUSTUP_AUTO_INSTALL environment variable introduced in 1.28.1 but with a lower priority.  pr#4254

  • Fixed a bug in Nushell integration that might generate invalid commands in the shell configuration. Reinstalling rustup might be required for the fix to work.  pr#4265

Announcing rustup 1.28.2 | Rust Blog