Empowering everyone to build reliable and efficient software.
Go to file
2025-05-07 15:40:02 +02:00
.github Handle PR not found in post-merge workflow 2025-05-06 18:35:05 +02:00
compiler Auto merge of #140735 - GuillaumeGomez:rollup-dlhbxsg, r=GuillaumeGomez 2025-05-07 09:31:15 +00:00
library update hermit-abi to 0.5.1 2025-05-07 15:40:02 +02:00
LICENSES
src Auto merge of #140735 - GuillaumeGomez:rollup-dlhbxsg, r=GuillaumeGomez 2025-05-07 09:31:15 +00:00
tests Rollup merge of #140713 - compiler-errors:check_ref_cast, r=lcnr 2025-05-07 00:29:25 +00:00
.clang-format
.editorconfig
.git-blame-ignore-revs git: ignore 60600a6fa403216bfd66e04f948b1822f6450af7 for blame purposes 2025-04-17 11:50:24 +08:00
.gitattributes
.gitignore
.gitmodules
.ignore
.mailmap
bootstrap.example.toml add rust.debug-assertions-tools option 2025-04-29 11:05:06 +02:00
Cargo.lock Rollup merge of #140709 - notriddle:rm-unportable-markdown, r=GuillaumeGomez 2025-05-07 00:29:25 +00:00
Cargo.toml Merge commit '0621446356e20fd2ead13a6763bb936c95eb0cfa' into clippy-subtree-update 2025-04-22 18:24:43 +02:00
CODE_OF_CONDUCT.md
configure
CONTRIBUTING.md
COPYRIGHT
INSTALL.md mention about x.py setup in INSTALL.md 2025-04-24 09:15:53 +03:00
LICENSE-APACHE
license-metadata.json
LICENSE-MIT
README.md
RELEASES.md
REUSE.toml
rust-bors.toml
rustfmt.toml Initial support for dynamically linked crates 2025-05-04 22:03:15 +03:00
triagebot.toml Rollup merge of #140195 - jieyouxu:minicore-triagebot, r=jieyouxu 2025-04-24 11:40:44 +02:00
x
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.