Rust Documentation

Comprehensive guides, API references, and resources to help you build reliable, efficient systems with Rust..

Migration Guide

Getting Started

Installation

Install Rust using rustup, the official Rust toolchain installer, which also lets you switch between stable, beta, and nightly versions..

First Program

Create a new project with Cargo and write your first "Hello, World!" application to experience Rust's safety and performance..

">
fn main() {
    println!("Hello, world!");
}
>

Core Guides

The Rust Programming Language

Official book covering Rust's syntax, ownership model, and safe concurrency, available in interactive web and PDF formats..

Read Online

Rust API Reference

Official documentation for Rust's standard library, crates, and language features, including code examples and trait hierarchies..