Empowering everyone to build reliable and efficient software.
Go to file
Nicholas Nethercote 981dc02eaf Revert "Avoid nested replacement ranges" from #129346.
It caused a test regression in the `cfg_eval.rs` crate. (The bugfix
in #129346 was in a different commit; this commit was just a code
simplification.)
2024-11-04 15:57:35 +11:00
.github
compiler Revert "Avoid nested replacement ranges" from #129346. 2024-11-04 15:57:35 +11:00
library Auto merge of #132581 - workingjubilee:rollup-4wj318p, r=workingjubilee 2024-11-04 00:54:17 +00:00
LICENSES
src Rollup merge of #132560 - Urgau:tidy-license-deps, r=onur-ozkan 2024-11-03 15:24:59 -08:00
tests Rollup merge of #132516 - taiki-e:asm-ui, r=workingjubilee 2024-11-03 15:24:57 -08:00
.clang-format
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore
.gitmodules
.ignore
.mailmap Add a bunch of mailmap entries 2024-11-01 20:10:36 +01:00
Cargo.lock compiler: Remove unused rustc_target from Cargo.tomls 2024-11-03 13:38:47 -08:00
Cargo.toml Update Cranelift to 0.113 2024-10-24 09:28:46 +00:00
CODE_OF_CONDUCT.md
config.example.toml refactor(config): remove FIXME statement in comment of omit-git-hash 2024-11-01 20:19:01 +03:00
configure
CONTRIBUTING.md
COPYRIGHT
INSTALL.md
LICENSE-APACHE
LICENSE-MIT
README.md
RELEASES.md
REUSE.toml
rust-bors.toml
rustfmt.toml
triagebot.toml the unvacationer 2024-10-30 13:29:05 +00: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 integrate 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 media guide.

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