Find a file
2025-10-21 16:29:14 -06:00
.github Auto merge of #147518 - dianqk:update-llvm, r=cuviper,Kobzol 2025-10-13 05:11:33 +00:00
compiler Auto merge of #147723 - ChayimFriedman2:ns-types, r=BoxyUwU 2025-10-21 14:43:26 +00:00
library os_str: Create UTF-8 platform encoding 2025-10-21 16:29:14 -06:00
LICENSES
src Rollup merge of #147934 - Zalathar:directive, r=jieyouxu 2025-10-21 17:26:41 +02:00
tests Rollup merge of #147929 - Zalathar:target, r=jieyouxu 2025-10-21 17:26:40 +02:00
.clang-format
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore Merge commit '20ce69b9a6' into clippy-subtree-update 2025-09-18 17:21:44 +02:00
.gitmodules
.ignore
.mailmap Switch std::vec::PeekMut::pop from self to this parameter. 2025-09-14 08:16:05 -07:00
bootstrap.example.toml Allow manually opting in and out of Linux linker overrides 2025-10-06 10:30:46 +02:00
Cargo.lock Auto merge of #147660 - notriddle:stringdex-002, r=GuillaumeGomez 2025-10-17 15:42:33 +00:00
Cargo.toml Merge commit '2dc84cb744' into clippy-subtree-update 2025-10-06 18:10:37 +02:00
CODE_OF_CONDUCT.md
configure
CONTRIBUTING.md chore: remove dead links 2025-09-22 10:15:50 +01:00
COPYRIGHT
INSTALL.md
LICENSE-APACHE
license-metadata.json
LICENSE-MIT
package-lock.json Update browser-ui-test version to 0.22.2 2025-09-09 17:19:36 +02:00
package.json Update browser-ui-test version to 0.22.2 2025-09-09 17:19:36 +02:00
README.md
RELEASES.md Include patch in release notes 2025-09-18 09:41:23 -04:00
REUSE.toml
rust-bors.toml Add t- prefix to S-waiting-on-{team} labels 2025-10-07 18:15:02 +02:00
rustfmt.toml
triagebot.toml triagebot: remind to update rustc-dev-guide docs when modifying compiletest directives 2025-10-19 19:03:21 +08:00
typos.toml typo: allow EnzymeTypeTreeShiftIndiciesEq 2025-09-19 04:02:20 +00:00
x fix ./x readdir logic when CDPATH is set 2025-09-19 16:48:05 +02:00
x.ps1
x.py

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

Why Rust?

  • Performance: Fast and memory-efficient, suitable for critical services, embedded devices, and easily integrated with other languages.

  • Reliability: Our rich type system and ownership model ensure memory and thread safety, reducing bugs at compile-time.

  • Productivity: Comprehensive documentation, a compiler committed to providing great diagnostics, and advanced tooling including package manager and build tool (Cargo), auto-formatter (rustfmt), linter (Clippy) and editor support (rust-analyzer).

Quick Start

Read "Installation" from The Book.

Installing from Source

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

Getting Help

See https://www.rust-lang.org/community for a list of chat platforms and forums.

Contributing

See CONTRIBUTING.md.

License

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.

See LICENSE-APACHE, LICENSE-MIT, and COPYRIGHT for details.

Trademark

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 Rust language trademark policy.

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