rfcs icon indicating copy to clipboard operation
rfcs copied to clipboard

RFCs for changes to Rust

Results 421 rfcs issues
Sort by recently updated
recently updated
newest added

It would be really nice to have a cargo command that analizes all dependencies and: 1. Verifies that the licenses are compatible. 2. Informs the user about any additional use/distribution...

T-dev-tools

There should be a way to mark enum variants as private. Possible syntax: ```rust enum MyThing { priv OneState(Foo), priv OtherState(Bar), } ``` ## Motivation Type authors should be able...

So there isn't inheritance in Rust but you can easily make wrapper structs and implement methods on that. Since this is quite common, there could be a way to avoid...

[Rendered](https://github.com/obsgolem/rfcs/blob/master/text/0000-import-trait-associated-functions.md) This feature fully supplants https://github.com/rust-lang/rust/pull/73001, allowing you to do things like: ```rust use Default::default; struct S { a: HashMap, } impl S { fn new() -> S { S...

T-lang
proposed-final-comment-period
disposition-merge
I-lang-nominated

Add new command-line flags to `rustdoc` to specify a file to be used as the logo and/or favicon. The file(s) will be copied to the generated documentation directory and relative...

T-rustdoc

(I was talking to @huonw about embedded Rust the other day, and he suggested I write this up as an RFC issue. I hope this is in the correct place!)...

T-libs-api
T-dev-tools

[Rendered](https://github.com/Amanieu/rfcs/blob/core-detect/text/0000-core_detect.md) This RFC moves the `is_*_feature_detected` macros into `core`, but keeps the logic for actually doing feature detection (which requires OS support) in `std`.

T-libs-api
finished-final-comment-period
disposition-merge
to-announce

[Rendered](https://github.com/casey/rfcs/blob/respect-lockfiles/text/0000-respect-lockfiles.md) Currently, `cargo install` does not respect lockfiles by default, which causes breakages when dependencies release breaking but semver-compatible versions. This RFC proposes to change `cargo install` to respect lockfiles...

T-cargo
proposed-final-comment-period
disposition-postpone

I don't have time for a full write-up of this right now, so I'm just opening an issue so I have somewhere to point people when they open rustdoc issues....

T-rustdoc

Currently impl for a struct and traits look like this: ```rust struct Services {}; impl Services { } impl Clone for Services { fn clone(&self) -> Services { Services {}...

T-lang
A-syntax
A-impls