Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
Data Types Every value in Rust is of a certain data type, which tells Rust what kind of data is being specified so that it knows how to work with that data. We’ll look at two data type subsets: scalar and compound. Keep in mind that Rust is...
The Rust Programming Language Book 2024-02-01 ~12 min read
doc.rust-lang.org
Variables and Mutability As mentioned in the “Storing Values with Variables” section, by default, variables are immutable. This is one of many nudges Rust gives you to write your code in a way that takes advantage of the safety and easy con...
The Rust Programming Language Book 2024-02-01 ~6 min read
doc.rust-lang.org
Common Programming Concepts This chapter covers concepts that appear in almost every programming language and how they work in Rust. Many programming languages have much in common at their core. None of the concepts presented in this chapte...
The Rust Programming Language Book 2024-02-01 ~1 min read
doc.rust-lang.org
Programming a Guessing Game Let’s jump into Rust by working through a hands-on project together! This chapter introduces you to a few common Rust concepts by showing you how to use them in a real program. You’ll learn about let, match, meth...
The Rust Programming Language Book 2024-02-01 ~27 min read
doc.rust-lang.org
Hello, Cargo! Cargo is Rust’s build system and package manager. Most Rustaceans use this tool to manage their Rust projects because Cargo handles a lot of tasks for you, such as building your code, downloading the libraries your code depend...
The Rust Programming Language Book 2024-02-01 ~8 min read
doc.rust-lang.org
Hello, World! Now that you’ve installed Rust, it’s time to write your first Rust program. It’s traditional when learning a new language to write a little program that prints the text Hello, world! to the screen, so we’ll do the same here! N...
The Rust Programming Language Book 2024-02-01 ~5 min read
doc.rust-lang.org
Installation The first step is to install Rust. We’ll download Rust through rustup, a command line tool for managing Rust versions and associated tools. You’ll need an internet connection for the download. Note: If you prefer not to use rus...
The Rust Programming Language Book 2024-02-01 ~4 min read
doc.rust-lang.org
Getting Started Let’s start your Rust journey! There’s a lot to learn, but every journey starts somewhere. In this chapter, we’ll discuss: • Installing Rust on Linux, macOS, and Windows • Writing a program that prints Hello, world! • Using...
The Rust Programming Language Book 2024-02-01 ~1 min read
doc.rust-lang.org
Introduction Note: This edition of the book is the same as The Rust Programming Language available in print and ebook format from No Starch Press. Welcome to The Rust Programming Language, an introductory book about Rust. The Rust programmi...
The Rust Programming Language Book 2024-02-01 ~7 min read
doc.rust-lang.org
Foreword The Rust programming language has come a long way in a few short years, from its creation and incubation by a small and nascent community of enthusiasts, to becoming one of the most loved and in-demand programming languages in the...
The Rust Programming Language Book 2024-02-01 ~2 min read
doc.rust-lang.org
The Rust Programming Language by Steve Klabnik, Carol Nichols, and Chris Krycho, with contributions from the Rust Community This version of the text assumes you’re using Rust 1.90.0 (released 2025-09-18) or later with edition = "2024" in th...
The Rust Programming Language Book 2024-02-01 ~1 min read
doc.rust-lang.org
Rustfmt: Version sorting Summary rustfmt utilizes a new sorting algorithm. Details The Rust Style Guide includes rules for sorting that rustfmt applies in various contexts, such as on imports. Previous versions of the Style Guide and Rustfm...
The Rust Edition Guide Book 2024-01-01 ~1 min read
doc.rust-lang.org
Rustfmt: Raw identifier sorting Summary rustfmt now properly sorts raw identifiers. Details The Rust Style Guide includes rules for sorting that rustfmt applies in various contexts, such as on imports. Prior to the 2024 Edition, when sortin...
The Rust Edition Guide Book 2024-01-01 ~1 min read
doc.rust-lang.org
Rustfmt: Formatting fixes Summary • Fixes to various formatting scenarios. Details The 2024 style edition introduces several fixes to various formatting scenarios. Don't align unrelated trailing comments after items or at the end of blocks...
The Rust Edition Guide Book 2024-01-01 ~7 min read
doc.rust-lang.org
Rustfmt: Style edition Summary User can now control which style edition to use with rustfmt. Details The default formatting produced by Rustfmt is governed by the rules in the Rust Style Guide. Additionally, Rustfmt has a formatting stabili...
The Rust Edition Guide Book 2024-01-01 ~2 min read
doc.rust-lang.org
Rustfmt The following chapters detail changes to Rustfmt in the 2024 Edition.
The Rust Edition Guide Book 2024-01-01 ~1 min read
doc.rust-lang.org
Rustdoc nested include! change Summary When a doctest is included with include_str!, if that doctest itself also uses include!, include_str!, or include_bytes!, the path is resolved relative to the Markdown file, rather than to the Rust sou...
The Rust Edition Guide Book 2024-01-01 ~1 min read
doc.rust-lang.org
Rustdoc combined tests Summary • Doctests are now combined into a single binary which should result in a significant performance improvement. Details Prior to the 2024 Edition, rustdoc's "test" mode would compile each code block in your doc...
The Rust Edition Guide Book 2024-01-01 ~3 min read
doc.rust-lang.org
Rustdoc The following chapters detail changes to Rustdoc in the 2024 Edition.
The Rust Edition Guide Book 2024-01-01 ~1 min read
doc.rust-lang.org
Cargo: Reject unused inherited default-features Summary • default-features = false is no longer allowed in an inherited workspace dependency if the workspace dependency specifies default-features = true (or does not specify default-features...
The Rust Edition Guide Book 2024-01-01 ~1 min read
"imo: the opinionated version of mio"

Search tips

Type anything to search across articles, videos (including conference talks), podcasts, research, crates, and Rust API documentation. These operators give you finer control — click an example to try it.

Find pages containing all your words. Pages where the words appear together rank higher.
Quote part of your query to keep those words together as an exact phrase within a larger search.
Wrap the whole query in quotes for a verbatim search that matches text exactly, punctuation and all — perfect for Rust syntax. Needs at least 3 characters.
Put ! first to open the top result immediately. Quote the whole query for a literal leading bang, as in '!Send'. Bangs elsewhere, such as println!, stay literal. Browser and launcher shortcuts can invoke this directly. See search integrations.
Limit results to a single site. Works on its own () too. One site: per search.

Use the tabs and filters above the results to narrow by content type, publication year, and sort order.