A simple, fast, compiled programming language for maintainable software, with zero library dependencies and automatic C-to-V translation.
rust-lang/rust
The main source repository for the Rust programming language, containing the compiler, standard library, and documentation.
- Stars
- 120,640
- Forks
- 18,686
- Open issues
- 12,601
- Last commit
- 5 hours ago
What is it?
This repository holds the source code for the Rust programming language. It includes the compiler, the standard library, and the project's documentation, so it is the place where the language itself is developed.
Rust aims to let developers write fast, memory-efficient software while catching memory and thread-safety bugs at compile time through its type system and ownership model. The project also ships a package manager and build tool (Cargo), an auto-formatter (rustfmt), a linter (Clippy), and editor support via rust-analyzer, though those live in separate repositories.
Most users install Rust through prebuilt toolchains rather than building from this source. Building from source is possible but the project does not recommend it for general use.
Key features
- 01Compiler for the Rust language
- 02Standard library shipped with the language
- 03Official language documentation
- 04Memory and thread safety enforced at compile time
- 05Supports integration with other languages
Use cases
- Contributing to the Rust compiler or standard library
- Studying how a production compiler is structured
- Building Rust from source for custom toolchains
Quick start
- 1
Read the Installation chapter in The Book to install the prebuilt toolchain
Things to know
- This is the compiler and standard library source repository, not a standalone app, and the README does not recommend building it from source.
- Building from source is a large undertaking covered only in INSTALL.md.
Topics
FAQ
- What is rust?
- The main source repository for the Rust programming language, containing the compiler, standard library, and documentation. This repository holds the source code for the Rust programming language. It includes the compiler, the standard library, and the project's documentation, so it is the place where the language itself is developed.
- Is rust free to use? What license does it have?
- rust is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
- Is rust still maintained?
- Actively maintained. The last commit to rust was on Oct 21, 2026.
- What can I use rust for?
- Contributing to the Rust compiler or standard library Studying how a production compiler is structured Building Rust from source for custom toolchains
- How do I install rust?
- Read the Installation chapter in The Book to install the prebuilt toolchain
- Where can I get rust?
- The source code and installation instructions are on GitHub: https://github.com/rust-lang/rust
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Sway is a Rust-inspired programming language for writing smart contracts on the Fuel blockchain.
The Go programming language, an open source language for building simple, reliable, and efficient software.
Solidity is a statically-typed, contract-oriented programming language for writing smart contracts on the Ethereum platform.
A typed superset of JavaScript that adds optional static types and compiles to readable, standards-based JavaScript.
The Kotlin programming language and its compiler, standard library, and build tooling, developed by JetBrains for multiplatform development.