๐Ÿ“ฆ rust-lang / rust

Empowering everyone to build reliable and efficient software.

โ˜… 109.5k stars โ‘‚ 14.4k forks ๐Ÿ‘ 109.5k watching โš–๏ธ Apache License 2.0
compilerlanguagerust
๐Ÿ“ฅ Clone https://github.com/rust-lang/rust.git
HTTPS git clone https://github.com/rust-lang/rust.git
SSH git clone git@github.com:rust-lang/rust.git
CLI gh repo clone rust-lang/rust
bors bors Auto merge of #151230 - BoxyUwU:relnotes_1_93, r=Mark-Simulacrum 058a763 4 hours ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ .github
๐Ÿ“ compiler
๐Ÿ“ library
๐Ÿ“ LICENSES
๐Ÿ“ src
๐Ÿ“ tests
๐Ÿ“„ .clang-format
๐Ÿ“„ .editorconfig
๐Ÿ“„ .gitattributes
๐Ÿ“„ .gitignore
๐Ÿ“„ .gitmodules
๐Ÿ“„ .ignore
๐Ÿ“„ .mailmap
๐Ÿ“„ Cargo.lock
๐Ÿ“„ Cargo.toml
๐Ÿ“„ CODE_OF_CONDUCT.md
๐Ÿ“„ configure
๐Ÿ“„ CONTRIBUTING.md
๐Ÿ“„ COPYRIGHT
๐Ÿ“„ INSTALL.md
๐Ÿ“„ LICENSE-APACHE
๐Ÿ“„ LICENSE-MIT
๐Ÿ“„ package.json
๐Ÿ“„ README.md
๐Ÿ“„ RELEASES.md
๐Ÿ“„ REUSE.toml
๐Ÿ“„ rust-bors.toml
๐Ÿ“„ rustfmt.toml
๐Ÿ“„ triagebot.toml
๐Ÿ“„ typos.toml
๐Ÿ“„ x
๐Ÿ“„ x.ps1
๐Ÿ“„ x.py
๐Ÿ“„ yarn.lock
๐Ÿ“„ README.md
The Rust Programming Language: A language empowering everyone to build reliable and efficient software

Website | [Getting started] | [Learn] | [Documentation] | [Contributing]

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.