Welcome to the Chocolatey Community Package Repository! The packages found in this section of the site are provided, maintained, and moderated by the community.
Moderation
Every version of each package undergoes a rigorous moderation process before it goes live that typically includes:
- Security, consistency, and quality checking
- Installation testing
- Virus checking through VirusTotal
- Human moderators who give final review and sign off
More detail at Security and Moderation.
Organizational Use
If you are an organization using Chocolatey, we want your experience to be fully reliable. Due to the nature of this publicly offered repository, reliability cannot be guaranteed. Packages offered here are subject to distribution rights, which means they may need to reach out further to the internet to the official locations to download files at runtime.
Fortunately, distribution rights do not apply for internal use. With any edition of Chocolatey (including the free open source edition), you can host your own packages and cache or internalize existing community packages.
Disclaimer
Your use of the packages on this site means you understand they are not supported or guaranteed in any way. Learn more...

Downloads:
55,117
Downloads of v 1.49.0:
723
Last Update:
31 Dec 2020
Package Maintainer(s):
Software Author(s):
- Mozilla
Tags:
rust cli portable programming language sdk- Software Specific:
- Software Site
- Software Source
- Software License
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download

Rust (GNU ABI)
- Software Specific:
- Software Site
- Software Source
- Software License
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
55,117
Downloads of v 1.49.0:
723
Maintainer(s):
Software Author(s):
- Mozilla
Edit Package
To edit the metadata for a package, please upload an updated version of the package.
Chocolatey's Community Package Repository currently does not allow updating package metadata on the website. This helps ensure that the package itself (and the source used to build the package) remains the one true source of package metadata.
This does require that you increment the package version.
All Checks are Passing
2 Passing Test
To install Rust (GNU ABI), run the following command from the command line or from PowerShell:
To upgrade Rust (GNU ABI), run the following command from the command line or from PowerShell:
To uninstall Rust (GNU ABI), run the following command from the command line or from PowerShell:
NOTE: This applies to both open source and commercial editions of Chocolatey.
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment-
Open Source or Commercial:
- Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
- You can also just download the package and push it to a repository Download
-
Open Source
- Download the Package Download
- Follow manual internalization instructions
-
Package Internalizer (C4B)
- Run
choco download rust --internalize --source=https://chocolatey.org/api/v2
(additional options) - Run
choco push --source="'http://internal/odata/repo'"
for package and dependencies - Automate package internalization
- Run
3. Enter your internal repository url
(this should look similar to https://chocolatey.org/api/v2)
4. Choose your deployment method:
choco upgrade rust -y --source="'STEP 3 URL'" [other options]
See options you can pass to upgrade.
See best practices for scripting.
Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.
If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:
choco upgrade rust -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Ensure rust installed
win_chocolatey:
name: rust
state: present
version: 1.49.0
source: STEP 3 URL
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
Coming early 2020! Central Managment Reporting available now! More information...
chocolatey_package 'rust' do
action :install
version '1.49.0'
source 'STEP 3 URL'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
Chocolatey::Ensure-Package
(
Name: rust,
Version: 1.49.0,
Source: STEP 3 URL
);
Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.
cChocoPackageInstaller rust
{
Name = 'rust'
Ensure = 'Present'
Version = '1.49.0'
Source = 'STEP 3 URL'
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'rust':
provider => 'chocolatey',
ensure => '1.49.0',
source => 'STEP 3 URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
salt '*' chocolatey.install rust version="1.49.0" source="STEP 3 URL"
See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.
5. If applicable - Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...
This package was approved as a trusted package on 31 Dec 2020.
Rust is a curly-brace, block-structured expression language. It visually resembles the C language family, but differs significantly in syntactic and semantic details. Its design is oriented toward concerns of “programming in the large”, that is, of creating and maintaining boundaries – both abstract and operational – that preserve large-system integrity, availability and concurrency.
# Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one.
$ErrorActionPreference = 'Stop';
$version = $env:chocolateyPackageVersion
$packageName = $env:chocolateyPackageName
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$rustcUrl = "https://static.rust-lang.org/dist/2020-12-31/rustc-1.49.0-i686-pc-windows-gnu.tar.gz"
$rustcUrl64 = "https://static.rust-lang.org/dist/2020-12-31/rustc-1.49.0-x86_64-pc-windows-gnu.tar.gz"
$cargoUrl = "https://static.rust-lang.org/dist/2020-12-31/cargo-1.49.0-i686-pc-windows-gnu.tar.gz"
$cargoUrl64 = "https://static.rust-lang.org/dist/2020-12-31/cargo-1.49.0-x86_64-pc-windows-gnu.tar.gz"
$stdUrl = "https://static.rust-lang.org/dist/2020-12-31/rust-std-1.49.0-i686-pc-windows-gnu.tar.gz"
$stdUrl64 = "https://static.rust-lang.org/dist/2020-12-31/rust-std-1.49.0-x86_64-pc-windows-gnu.tar.gz"
$packageArgs = @{
packageName = $packageName
unzipLocation = $toolsDir
url = $rustcUrl
checksum = "0b50230488f6d28c8c432595bdf005e82236fcd4babacc4fa22e3f6ae37fd388"
checksumType = "sha256"
url64bit = $rustcUrl64
checksum64 = "01a2db39cf260da86c2cf9c1689488d3dd77a8def46374ffc2a8b02991e302ed"
checksumType64 = "sha256"
}
$packageSrcArgs = @{
packageName = $packageName
unzipLocation = $toolsDir
url = "https://static.rust-lang.org/dist/2020-12-31/rust-src-1.49.0.tar.gz"
checksum = "474a0fd0c1da720eb9fa701c73ced702a7599eb265333a18c1b25feeb9566f8e"
checksumType = "sha256"
}
$packageCargoArgs = @{
packageName = $packageName
unzipLocation = $toolsDir
url = $cargoUrl
checksum = "ab04ad493e1d2ea3341877201ab2dd513015ba601c1882a2743cd699d6a240f9"
checksumType = "sha256"
url64bit = $cargoUrl64
checksum64 = "b361f0410813d2c4acd2389a644b1c5678a5934b15d61c255dfc11992980269b"
checksumType64 = "sha256"
}
$packageStdArgs = @{
packageName = $packageName
unzipLocation = $toolsDir
url = $stdUrl
checksum = "d0be1e45f81dfe9ce9e49cc22f1f345ee758a34129f0a0bc939becf0e4f5e8a7"
checksumType = "sha256"
url64bit = $stdUrl64
checksum64 = "61275ed8bb8350e58e619a99104b8ba9a4bdd715b2ce03e20cb33f5b19e84a9c"
checksumType64 = "sha256"
}
$packageMingwArgs = @{
packageName = $packageName
unzipLocation = $toolsDir
url = "https://static.rust-lang.org/dist/2020-12-31/rust-mingw-1.49.0-i686-pc-windows-gnu.tar.gz"
checksum = "bbc505d5de5385aafad800fe21151321b8a6a4ffeff2c5058877a827cb5c26f3"
checksumType = "sha256"
url64bit = "https://static.rust-lang.org/dist/2020-12-31/rust-mingw-1.49.0-x86_64-pc-windows-gnu.tar.gz"
checksum64 = "71a73d7deba29053e8ddad8c492b19e2eabe0d63d1f78bfeab86ab367f631a46"
checksumType64 = "sha256"
}
# Updates require us to get rid of the existing installation
# https://chocolatey.org/packages/rust#comment-4632965834
if (Test-Path $toolsDir\bin) { rm -Recurse -Force $toolsDir\bin }
if (Test-Path $toolsDir\etc) { rm -Recurse -Force $toolsDir\etc }
if (Test-Path $toolsDir\lib) { rm -Recurse -Force $toolsDir\lib }
if (Test-Path $toolsDir\share) { rm -Recurse -Force $toolsDir\share }
# Note to the reader: Install-ChocolateyZipFile only extracts one layer,
# so it turns the tar.gz files that Rust distributes into bar tar files.
# Useless.
Install-ChocolateyZipPackage @packageArgs
Get-ChocolateyUnzip -FileFullPath $toolsDir/rustc-$version-i686-pc-windows-gnu.tar -FileFullPath64 $toolsDir/rustc-$version-x86_64-pc-windows-gnu.tar -Destination $toolsDir
Install-ChocolateyZipPackage @packageSrcArgs
Get-ChocolateyUnzip -FileFullPath $toolsDir/rust-src-$version.tar -Destination $toolsDir
Install-ChocolateyZipPackage @packageCargoArgs
Get-ChocolateyUnzip -FileFullPath $toolsDir/cargo-$version-i686-pc-windows-gnu.tar -FileFullPath64 $toolsDir/cargo-$version-x86_64-pc-windows-gnu.tar -Destination $toolsDir
Install-ChocolateyZipPackage @packageStdArgs
Get-ChocolateyUnzip -FileFullPath $toolsDir/rust-std-$version-i686-pc-windows-gnu.tar -FileFullPath64 $toolsDir/rust-std-$version-x86_64-pc-windows-gnu.tar -Destination $toolsDir
# This is basically what install.sh does, though with less customizability,
# because we delegate to Chocolatey for things like uninstalling and deciding where $toolsDir is.
function Install-RustPackage([string]$Directory) {
cd $Directory
cat components | foreach {
$c = $_
cat $Directory/$c/manifest.in | foreach {
if ($_.StartsWith("file:")) {
$f = $_.SubString(5)
$d = (split-path -parent $f)
if (!(test-path $toolsDir/$d)) { mkdir $toolsDir/$d }
mv $Directory/$c/$f $toolsDir/$f
}
# The assumption is that a manifest with a `dir:` directive is the sole provider of that directory,
# unlike other rust components, where we're expected to merge the directories together.
# Only component I've found with a `dir:` directive, currently, is rust-docs.
if ($_.StartsWith("dir:")) {
$f = $_.SubString(4)
$d = (split-path -parent $f)
if (!(test-path $toolsDir/$d)) { mkdir $toolsDir/$d }
mv $Directory/$c/$f $toolsDir/$f
}
}
}
cd $toolsDir
}
rm -recurse -force $toolsDir/rustc-$version-*.tar
rm -recurse -force $toolsDir/rust-src-$version.tar
rm -recurse -force $toolsDir/rust-std-$version-*.tar
rm -recurse -force $toolsDir/cargo-$version-*.tar
dir $toolsDir/rustc-$version-* | foreach { Install-RustPackage (join-path $_ '') }
dir $toolsDir/cargo-$version-* | foreach { Install-RustPackage (join-path $_ '') }
dir $toolsDir/rust-std-$version-* | foreach { Install-RustPackage (join-path $_ '') }
Install-RustPackage $toolsDir/rust-src-$version
rm -recurse -force $toolsDir/rustc-$version-*
rm -recurse -force $toolsDir/cargo-$version-*
rm -recurse -force $toolsDir/rust-std-$version-*
rm -recurse -force $toolsDir/rust-src-$version
if ("https://static.rust-lang.org/dist/2020-12-31/rust-mingw-1.49.0-i686-pc-windows-gnu.tar.gz" -ne "") {
Install-ChocolateyZipPackage @packageMingwArgs
Get-ChocolateyUnzip -FileFullPath $toolsDir/rust-mingw-$version-i686-pc-windows-gnu.tar -FileFullPath64 $toolsDir/rust-mingw-$version-x86_64-pc-windows-gnu.tar -Destination $toolsDir
rm -recurse -force $toolsDir/rust-mingw-$version-*.tar
dir $toolsDir/rust-mingw-$version-* | foreach { Install-RustPackage (join-path $_ '') }
rm -recurse -force $toolsDir/rust-mingw-$version-*
}
# Mark gcc.exe, and its relatives, as not-for-shimming.
# https://chocolatey.org/packages/rust#comment-4690124900
$files = Get-ChildItem $toolsDir\lib\rustlib\ -include '*.exe' -recurse -name
foreach ($file in $files) {
New-Item "$toolsDir\lib\rustlib\$file.ignore" -type file -force | Out-Null
}
Log in or click on link to see number of positives.
- rust.1.49.0.nupkg (92a12415e8a9) - ## / 64
- cargo-1.49.0-x86_64-pc-windows-gnu.tar.gz (b361f0410813) - ## / 60
- rust-src-1.49.0.tar.gz (474a0fd0c1da) - ## / 58
- rust-std-1.49.0-x86_64-pc-windows-gnu.tar.gz (61275ed8bb83) - ## / 60
- rustc-1.49.0-x86_64-pc-windows-gnu.tar.gz (01a2db39cf26) - ## / 56
- cargo-1.49.0-i686-pc-windows-gnu.tar.gz (ab04ad493e1d) - ## / 60
- rust-std-1.49.0-i686-pc-windows-gnu.tar.gz (d0be1e45f81d) - ## / 59
- rustc-1.49.0-i686-pc-windows-gnu.tar.gz (0b50230488f6) - ## / 56
In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).
Chocolatey Pro provides runtime protection from possible malware.
Version | Downloads | Last Updated | Status |
---|---|---|---|
Rust (GNU ABI) 1.49.0 | 723 | Thursday, December 31, 2020 | Approved |
Rust (GNU ABI) 1.48.0.20201127 | 1155 | Friday, November 27, 2020 | Approved |
Rust (GNU ABI) 1.48.0.20201124 | 453 | Wednesday, November 25, 2020 | Approved |
Rust (GNU ABI) 1.48.0 | 261 | Saturday, November 21, 2020 | Approved |
Rust (GNU ABI) 1.46.0 | 2687 | Thursday, August 27, 2020 | Approved |
Rust (GNU ABI) 1.45.2 | 1101 | Tuesday, August 4, 2020 | Approved |
Rust (GNU ABI) 1.45.0 | 1074 | Thursday, July 16, 2020 | Approved |
Rust (GNU ABI) 1.44.1 | 1537 | Thursday, June 18, 2020 | Approved |
Rust (GNU ABI) 1.44.0 | 2127 | Thursday, June 4, 2020 | Approved |
Rust (GNU ABI) 1.43.1 | 1686 | Friday, May 8, 2020 | Approved |
Rust (GNU ABI) 1.43.0 | 690 | Thursday, April 23, 2020 | Approved |
Rust (GNU ABI) 1.42.0 | 1406 | Thursday, March 12, 2020 | Approved |
Rust (GNU ABI) 1.41.1 | 786 | Thursday, February 27, 2020 | Approved |
Rust (GNU ABI) 1.41.0 | 1449 | Thursday, January 30, 2020 | Approved |
Rust (GNU ABI) 1.40.0 | 1166 | Thursday, December 19, 2019 | Approved |
Rust (GNU ABI) 1.39.0.20191117 | 738 | Monday, November 18, 2019 | Approved |
Rust (GNU ABI) 1.39.0 | 505 | Thursday, November 7, 2019 | Approved |
Rust (GNU ABI) 1.38.0 | 1276 | Thursday, September 26, 2019 | Approved |
Rust (GNU ABI) 1.37.0 | 1395 | Friday, August 16, 2019 | Approved |
Rust (GNU ABI) 1.36.0 | 1629 | Friday, July 5, 2019 | Approved |
Rust (GNU ABI) 1.35.0.20190524 | 1772 | Friday, May 24, 2019 | Approved |
Rust (GNU ABI) 1.35.0.20190523 | 86 | Monday, June 3, 2019 | Approved |
Rust (GNU ABI) 1.35.0 | 4522 | Friday, May 24, 2019 | Approved |
Rust (GNU ABI) 1.34.1 | 606 | Thursday, April 25, 2019 | Approved |
Rust (GNU ABI) 1.33.0 | 955 | Monday, March 4, 2019 | Approved |
Rust (GNU ABI) 1.32.0 | 880 | Saturday, January 19, 2019 | Approved |
Rust (GNU ABI) 1.31.1 | 727 | Thursday, December 20, 2018 | Approved |
Rust (GNU ABI) 1.31.0 | 429 | Friday, December 7, 2018 | Approved |
Rust (GNU ABI) 1.30.0 | 775 | Thursday, October 25, 2018 | Approved |
Rust (GNU ABI) 1.29.2 | 468 | Friday, October 12, 2018 | Approved |
Rust (GNU ABI) 1.29.1 | 575 | Tuesday, September 25, 2018 | Approved |
Rust (GNU ABI) 1.28.0 | 953 | Saturday, August 4, 2018 | Approved |
Rust (GNU ABI) 1.27.2 | 473 | Friday, July 20, 2018 | Approved |
Rust (GNU ABI) 1.27.0 | 513 | Friday, June 29, 2018 | Approved |
Rust (GNU ABI) 1.26.1 | 696 | Wednesday, May 30, 2018 | Approved |
Rust (GNU ABI) 1.26.0 | 506 | Thursday, May 10, 2018 | Approved |
Rust (GNU ABI) 1.25.0 | 696 | Thursday, March 29, 2018 | Approved |
Rust (GNU ABI) 1.24.1 | 600 | Friday, March 2, 2018 | Approved |
Rust (GNU ABI) 1.24.0 | 484 | Thursday, February 15, 2018 | Approved |
Rust (GNU ABI) 1.23.0 | 608 | Tuesday, January 9, 2018 | Approved |
Rust (GNU ABI) 1.22.1 | 703 | Saturday, November 25, 2017 | Approved |
Rust (GNU ABI) 1.21.0 | 641 | Tuesday, October 17, 2017 | Approved |
Rust (GNU ABI) 1.20.0 | 671 | Thursday, August 31, 2017 | Approved |
Rust (GNU ABI) 1.19.0 | 630 | Saturday, July 22, 2017 | Approved |
Rust (GNU ABI) 1.18.0 | 644 | Thursday, June 8, 2017 | Approved |
Rust (GNU ABI) 1.17.0 | 588 | Thursday, April 27, 2017 | Approved |
Rust (GNU ABI) 1.16.0 | 640 | Friday, March 17, 2017 | Approved |
Rust 1.13.0 | 1078 | Friday, November 11, 2016 | Approved |
Rust 1.11.0.1 | 720 | Wednesday, August 31, 2016 | Approved |
Rust 1.11.0 | 530 | Sunday, August 21, 2016 | Approved |
Rust 1.10.0 | 451 | Monday, August 15, 2016 | Approved |
Rust 1.9.0 | 460 | Thursday, May 26, 2016 | Approved |
Rust 1.8.0 | 444 | Monday, April 18, 2016 | Approved |
Rust 1.7.0 | 524 | Tuesday, March 8, 2016 | Approved |
Rust 1.6.0 | 428 | Sunday, January 31, 2016 | Approved |
Rust 1.5.0 | 459 | Friday, December 11, 2015 | Approved |
Rust 1.4.0 | 313 | Tuesday, November 24, 2015 | Approved |
Rust 1.2.0 | 321 | Monday, August 10, 2015 | Approved |
Rust 1.1.0 | 311 | Monday, July 6, 2015 | Approved |
Rust 1.0.0 | 320 | Sunday, May 17, 2015 | Approved |
Rust 1.0.0-alpha2 | 435 | Wednesday, March 11, 2015 | Exempted |
Rust 0.12.0 | 686 | Sunday, November 16, 2014 | Approved |
Rust 0.11.0 | 541 | Tuesday, July 15, 2014 | Approved |
Rust 0.10 | 337 | Tuesday, July 1, 2014 | Approved |
Rust 0.9 | 469 | Tuesday, January 14, 2014 | Approved |
Rust 0.8 | 376 | Thursday, October 3, 2013 | Approved |
This package has no dependencies.
Ground Rules:
- This discussion is only about Rust (GNU ABI) and the Rust (GNU ABI) package. If you have feedback for Chocolatey, please contact the Google Group.
- This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
- The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
- Tell us what you love about the package or Rust (GNU ABI), or tell us what needs improvement.
- Share your experiences with the package, or extra configuration or gotchas that you've found.
- If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.