0
0
Fork 0
mirror of https://github.com/rust-lang/rust.git synced 2026-06-13 06:16:08 +00:00
Empowering everyone to build reliable and efficient software. https://www.rust-lang.org
  • Rust 96%
  • Shell 0.9%
  • JavaScript 0.7%
  • C 0.4%
  • Python 0.4%
  • Other 1.5%
Find a file
bors a78575f6a8 Auto merge of #157781 - xmakro:perf/dep-graph-edge-reuse, r=<try>
perf: reuse green-marking's edge walk when promoting a node
2026-06-13 04:03:03 +00:00
.github ci: update download-artifact action to v8 2026-05-30 19:30:11 +01:00
compiler Auto merge of #157781 - xmakro:perf/dep-graph-edge-reuse, r=<try> 2026-06-13 04:03:03 +00:00
library Rollup merge of #157202 - quiode:add-rustc_no_writable-more-fns, r=RalfJung 2026-06-12 20:40:57 +02:00
LICENSES Synchronize Unicode license text from unicode.org 2024-11-20 00:54:12 -08:00
src Rollup merge of #157766 - RalfJung:too-big, r=oli-obk 2026-06-12 20:41:00 +02:00
tests Auto merge of #157617 - Shourya742:2026-06-08-donot-eagerly-normalize-alias-during-coherence, r=lcnr 2026-06-12 23:56:07 +00:00
.clang-format Add .clang-format 2024-06-26 05:56:00 +08:00
.editorconfig editorconfig: css uses tabs 2026-03-11 18:07:27 -05:00
.git-blame-ignore-revs git: ignore 60600a6fa4 for blame purposes 2025-04-17 11:50:24 +08:00
.gitattributes Mark .pp files as Rust 2025-03-29 12:39:06 +01:00
.gitignore ignore build-rust-analyzer even if it's a symlink 2025-11-12 16:41:41 +01:00
.gitmodules Update LLVM to 22.1.6 2026-05-20 13:07:43 +08:00
.ignore change config.toml to bootstrap.toml for bootstrap module 2025-03-17 12:56:41 +05:30
.mailmap Fix Pieter-Louis Schoeman mailmap entry 2026-05-23 21:24:21 +02:00
bootstrap.example.toml bootstrap.example.toml: Hint how to allow build.warnings 2026-03-26 19:49:38 +01:00
Cargo.lock Rollup merge of #157695 - Jamesbarford:feat/extend-type-foldable-generic, r=lcnr 2026-06-12 20:40:59 +02:00
Cargo.toml ui_test: bump to latest version 2026-06-02 14:45:39 -04:00
CODE_OF_CONDUCT.md Remove the code of conduct; instead link https://www.rust-lang.org/conduct.html 2019-10-05 22:55:19 +02:00
configure Ensure ./configure works when configure.py path contains spaces 2024-02-16 18:57:22 +00:00
CONTRIBUTING.md docs: update lint registration for statically-combined passes 2026-06-07 23:03:43 -07:00
COPYRIGHT dist: Re-work how we describe the licence of Rust in our distributions 2024-12-09 10:18:55 +00:00
INSTALL.md Fix typos and grammar in top-level and src/doc documentation 2026-02-10 10:22:19 -05:00
LICENSE-APACHE Remove appendix from LICENCE-APACHE 2019-12-30 14:25:53 +00:00
license-metadata.json Replace printables table with unicode_data.rs tables 2026-06-09 00:35:10 -04:00
LICENSE-MIT dist: Re-work how we describe the licence of Rust in our distributions 2024-12-09 10:18:55 +00:00
package.json Update browser-ui-test version to 0.24.0 2026-06-08 15:45:42 +02:00
README.md Add direct link to rustc-dev-guide in README 2026-02-14 23:27:12 -08:00
RELEASES.md Add BTree::append() change to 1.96.0 relnotes 2026-06-07 09:52:30 +07:00
REUSE.toml Omit standard copyright notice 2026-01-26 17:31:34 +00:00
rust-bors.toml Prevent approving PRs that wait for Crater or formal decisions 2026-06-12 11:20:06 +02:00
rustfmt.toml rustfmt.toml: drop ignore of deleted test 2026-03-12 21:37:19 -07:00
triagebot.toml Rollup merge of #157169 - xtqqczze:triagebot, r=Mark-Simulacrum 2026-06-07 17:47:51 -04:00
typos.toml misc: exclude file from typos check 2026-06-06 20:42:47 +02:00
x use extended regex syntax 2026-03-26 12:02:30 +00:00
x.ps1 use & instead of start-process in x.ps1 2023-12-09 09:46:16 -05:00
x.py Reformat Python code with ruff 2024-12-04 23:03:44 +01:00
yarn.lock Update browser-ui-test version to 0.24.0 2026-06-08 15:45:42 +02:00

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.

For a detailed explanation of the compiler's architecture and how to begin contributing, see the rustc-dev-guide.

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.