Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
github.com
## Summary [summary]: #summary By default, cargo will treat any optional dependency as a [feature](https://doc.rust-lang.org/cargo/reference/features.html). As of cargo 1.60, these can be disabled by declaring a feature that activates the o...
RFC 3491 RFC 2023-09-18 ~3 min read
github.com
Summary This RFC describes a new key under features in Cargo.toml for documentation. This will allow Cargo to display this information to the user and provide a way for rustdoc to eventually render this data (how this is rendered is outside...
RFC 3485 RFC 2023-09-09 ~5 min read
github.com
## Summary [summary]: #summary This RFC helps to codify the T-lang policy regarding `cargo check` vs `cargo build`. This is a policy RFC rather than a change to the language itself, and is thus "instantly stable" once accepted. There's no a...
RFC 3477 RFC 2023-08-22 ~3 min read
github.com
## Summary In Rust 2024 and later editions, return position `impl Trait` (RPIT) opaque types will automatically capture all in-scope type *and* lifetime parameters. In preparation for this, new RPIT-like `impl Trait` features introduced int...
RFC 3498 RFC 2023-07-26 ~31 min read
github.com
## Summary [summary]: #summary The Rust community has outgrown the current crates.io policies. This RFC proposes a new "Terms of Use" policy based on prior work by PyPI, npm and GitHub. ## Motivation [motivation]: #motivation > Why are we d...
RFC 3463 RFC 2023-07-24 ~10 min read
github.com
## Summary This RFC proposes extending Rust's tooling support for safety hygiene to named fields that carry library safety invariants. Consequently, Rust programmers will be able to use the `unsafe` keyword to denote when a named field carr...
RFC 3458 RFC 2023-07-13 ~30 min read
github.com
## Summary [summary]: #summary Create a new subteam focused on testing in the development workflow and to be responsible for ensuring Rust has a high quality automated testing experience that includes the capabilities developers expect when...
RFC 3455 RFC 2023-07-03 ~4 min read
github.com
## Summary [summary]: #summary This RFC proposes adding new IEEE-compliant floating point types `f16` and `f128` into the core language and standard library. We will provide a soft float implementation for all targets, and use hardware supp...
RFC 3453 RFC 2023-07-02 ~7 min read
github.com
## Summary [summary]: #summary It is unsafe to declare an `extern` block. Starting in Rust 2024, all `extern` blocks must be marked as `unsafe`. In all editions, items within `unsafe extern` blocks may be marked as safe to use. ## Motivatio...
RFC 3484 RFC 2023-05-23 ~16 min read
github.com
## Summary [summary]: #summary Allow types that implement the new `trait Receiver<Target=Self>` to be the receiver of a method. ## Motivation [motivation]: #motivation Today, methods can only be received by value, by reference, or by one of...
RFC 3519 RFC 2023-05-04 ~29 min read
github.com
## Summary [summary]: #summary * Permit `impl Trait` in fn return position within traits and trait impls. * Allow `async fn` in traits and trait impls to be used interchangeably with its equivalent `impl Trait` desugaring. * Allow trait imp...
RFC 3425 RFC 2023-04-27 ~25 min read
github.com
## Summary [summary]: #summary This *experimental RFC* adds unstable support for single-file packages in cargo so we can explore the design and resolve questions with an implementation to collect feedback on. Single-file packages are `.rs`...
RFC 3424 RFC 2023-04-26 ~16 min read
github.com
## RFC: result_ffi_guarantees - Feature Name: `result_ffi_guarantees` - Start Date: 2023-02-15 - RFC PR: [rust-lang/rfcs#3391](https://github.com/rust-lang/rfcs/pull/3391) - Rust Issue: [rust-lang/rust#110503](https://github.com/rust-lang/r...
RFC 3391 RFC 2023-04-18 ~3 min read
github.com
## Summary [summary]: #summary This RFC adds a "detailed" feature definition: ```toml [features] # same as `foo = []` foo = { enables = [] } ``` This is to unblock the following RFCs: - [Cargo feature descriptions](https://github.com/rust-l...
RFC 3416 RFC 2023-04-14 ~4 min read
github.com
## Summary [summary]: #summary This RFC adds support for single-file bin packages in cargo. Single-file bin packages are rust source files with an embedded manifest and a `main`. These files will be accepted by cargo commands as `--manifest...
RFC 3502 RFC 2023-03-31 ~39 min read
github.com
## Summary [summary]: #summary Let's make it more elegant to conditionally compile trait bounds by allowing cfg-attributes directly in where clauses. ## Motivation [motivation]: #motivation Currently, there is limited support for conditiona...
RFC 3399 RFC 2023-03-11 ~5 min read
github.com
## Summary [summary]: #summary Add a `[lints]` table to `Cargo.toml` to configure reporting levels for rustc and other tool lints. ## Motivation [motivation]: #motivation Currently, you can configure lints through - `#[<level>(<lint>)]` or...
RFC 3389 RFC 2023-02-14 ~17 min read
github.com
## Summary [summary]: #summary This RFC proposed to add a stable `#[diagnostic]` attribute namespace, which contains attributes to influence error messages emitted by the compiler. In addition it proposed to add a `#[diagnostic::on_unimplem...
RFC 3368 RFC 2023-01-06 ~10 min read
github.com
## Summary [summary]: #summary Enable upcasts from `dyn Trait1` to `dyn Trait2` if `Trait1` is a subtrait of `Trait2`. This RFC does not enable `dyn (Trait1 + Trait2)` for arbitrary traits. If `Trait1` has multiple supertraits, you can upca...
RFC 3324 RFC 2022-12-10 ~14 min read
github.com
## Summary [summary]: #summary This RFC aims at providing rustdoc users the possibility to add visual markers to the rendered documentation to know under which conditions an item is available (currently possible through the following unstab...
RFC 3631 RFC 2022-12-07 ~9 min read
"There is absolutely no way I can imagine that `Option` is causing that error. That'd be like turning on the "Hide Taskbar" setting causing your GPU to..."

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.