Clone this repo:
  1. 6db96de Auto merge of #120264 - weihanglo:split-dward-kind-lto, r=michaelwoerister by bors · 5 hours ago master
  2. b0696a5 Auto merge of #121462 - compiler-errors:eq-and-sub, r=lcnr by bors · 9 hours ago
  3. 6cbf092 Auto merge of #121728 - tgross35:f16-f128-step1-ty-updates, r=compiler-errors by bors · 16 hours ago
  4. 5072b65 Rebase fallout from TypeRelating::binders, inline higher_ranked_sub by Michael Goulet · 18 hours ago
  5. b153656 Fallout from removing a_is_expected by Michael Goulet · 2 days ago

The Rust Programming Language

Rust Community

This is the main source code repository for Rust. It contains the compiler, standard library, and documentation.

Note: this README is for users rather than contributors. If you wish to contribute to the compiler, you should read instead.

Quick Start

Read “Installation” from The Book.

Installing from Source

If you really want to install from source (though this is not recommended), see

Getting Help

See for a list of chat platforms and forums.




Rust is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.



The Rust Foundation owns and protects the Rust and Cargo trademarks and logos (the “Rust Trademarks”).

If you want to use these names or brands, please read the media guide.

Third-party logos may be subject to third-party copyrights and trademarks. See Licenses for details.