Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
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
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
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 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
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
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: 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: 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: 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
"I care about this community, including its human and social nature. I want others to appreciate those qualities, and I don't want to see them compromi..."

Search tips

Type anything to search across articles, videos (including conference talks), podcasts, research, and crates. Select the API category to search 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.