rfcs
rfcs copied to clipboard
RFCs for changes to Rust
Here is a simple example of a problem I have come across: ``` use std::path; use std::fs; use std::io::Write; #[derive(Debug)] enum FileError { Creation(path::PathBuf), Writing(path::PathBuf) } fn main() -> Result...
Give maintainers a mechanism to declare that their library is unlikely to work (e.g. fail at runtime) if there are multiple versions of it in the dependency tree. When the...
It's been dead for a while, but I'd like to propose starting to think about TCE again. The discussion that I saw before was mostly centred around certain algorithms being...
RFC for bounded universal quantification for lifetimes [Rendered](https://github.com/tema3210/rfcs/blob/extended_hrtbs/text/3621-extended_hrtb.md) [Internals thread](https://internals.rust-lang.org/t/extending-for-a-construct/16581)
[RENDERED VIEW] **Summary:** This experimental RFC proposes a process by which a designated Rust team member or members could reassign ownership of a crate name on crates.io. The aim is...
I’ve recently been bouncing between Swift and Rust and have found the shorthand `.variant` syntax to be very useful. Having something similar in Rust would be very nice to have....
Currently, it's impossible to even _typecheck_ a crate without running arbitrary code. Unless I'm mistaken, most plugins/`build.rs` files just do codegen so they should work just fine inside a sandbox...
First of all, I am well aware of [this issue](https://github.com/rust-lang/rfcs/issues/1215), I looked through people's ideas but I did not like any of them. This is my approach to the problem....
In addition to binaries from workspace members, teach `cargo run` to execute binaries from dependent packages. [Rendered](https://github.com/tchernobog/rfcs/blob/master/text/0000-cargo-run-deps.md).
This RFC propose the Rust's SemVer 2 rules that define version requirement operator that can be used in Cargo to define the version of dependencies that Cargo can choose. The...