Hello and welcome to another issue of This Week in Rust! Rust is a systems language pursuing the trifecta: safety, concurrency, and speed. This is a weekly summary of its progress and community. Want something mentioned? Tweet us at @ThisWeekInRust or send us a pull request. Want to get involved? We love contributions.
This Week in Rust is openly developed on GitHub. If you find any errors in this week's issue, please submit a PR.
Updates from Rust Community
News & Blog Posts
- The community team is trying to improve outreach to meetup organisers. Please fill out their call for contact info if you are running or used to run a meetup.
- Closing out an incredible week in Rust.
- Maximally minimal specialization: always applicable impls.
- Announcing the 2018 domain Working Groups.
- Async/await IV: An even better proposal.
- Async/await V: Getting back to the futures.
- How Rust is Tilde’s competitive advantage.
- Guitar effects in Rust.
- Rust embedded: Memory safe DMA transfers.
- ripgrep 0.8.0 released: Configuration files, compressed file search, and true colors.
- Tokio reform and the road to 0.2.
- Introducing a wee allocator for WebAssembly.
- RLSL (Rust -> SPIR-V compiler) progress report.
- This week in Rust docs 92.
- [podcast] Rusty Spike Podcast - episode 18. Reddit, a whitepaper, an academic paper, FOSDEM (and the lines), and AV1.
- [podcast] New Rustacean: Crates you should know: Serde.
- RustFest 2018. 26 May - 27 May 2018 in Paris.
Crate of the Week
This week sadly had to go without a crate for lack of votes.
Submit your suggestions and votes for next week!
Call for Participation
Always wanted to contribute to open-source projects but didn't know where to start? Every week we highlight some tasks from the Rust community for you to pick and get started!
Some of these tasks may also have mentors available, visit the task page for more information.
- Get started with these beginner-friendly issues.
- github-rs: Pure Rust bindings to the Github API needs help with some beginner-friendly issues.
- gutenberg: Make content::Section hold references. Gutenberg is an opinionated static site generator with everything built-in.
If you are a Rust project owner and are looking for contributors, please submit tasks here.
Updates from Rust Core
117 pull requests were merged in the last week
- epochs: rustc and cargo (RFC #2052)
- rustc: upgrade to LLVM 6
- customizable extended tools
- fix ICE for mismatched args on target without span
- proc_macro: don't panic parsing
..=
- implement
?
macro repetition - warn about more ignored bounds in type aliases
- do not ignore lifetime bounds in Copy impls
- add filtering options to
rustc_on_unimplemented
- rustc: Add
#[rustc_args_required_const]
- rustc_mir: insert a dummy access to places being matched on, when building MIR
- emit data::Impl in save-analysis
- ui tests: diff from old (expected) to new (actual) instead of backwards
- NLL: improve
DefiningTy::Const
- NLL: add false edges out of infinite loops
- stabilize
use_nested_groups
- implement
TrustedLen
forTake<Repeat>
andTake<RangeFrom>
- override
try_(r)fold
for RangeInclusive - add some APIs to ptr::NonNull
- add
-Zteach
documentation - update book
- fix rustdoc ICE on macros defined within functions
- make resolution backtracking smarter
- do not rename packages on
cargo new
New Contributors
- bobtwinkles
- Martin Algesten
- Peter Hrvola
- Yury Delendik
Approved RFCs
Changes to Rust follow the Rust RFC (request for comments) process. These are the RFCs that were approved for implementation this week:
- RFC 1909: Unsized rvalues.
- RFC 2145: Type privacy and private-in-public lints.
- RFC 2116: Fallible collection allocation 1.0.
Final Comment Period
Every week the team announces the 'final comment period' for RFCs and key PRs which are reaching a decision. Express your opinions now. This week's FCPs are:
- [disposition: merge] Issues are not feature requests.
- [disposition: merge] Allow trivial constraints to appear in where clauses.
- [disposition: merge] impl-only-use. The
use …::{… as …}
syntax can now accept_
as alias to a trait to only import the implementations of such a trait. - [disposition: merge] or-patterns in if / while let expressions.
- [disposition: merge] Formally define repr(u32, i8, etc...) and repr(C) on enums with payloads.
- [disposition: merge] Finalize syntax of
impl Trait
anddyn Trait
with multiple bounds. - [disposition: merge]
?
repetition in macro rules. - [disposition: postpone] Allow fields in traits that map to lvalues in impl'ing type.
- [disposition: postpone] Fix the handling of uninhabited types in pattern matching.
- [disposition: postpone] Unions 1.2.
- [disposition: postpone] Allow destructuring of structs that implement Drop.
- [disposition: postpone] Adding unsafe modules and unsafe blocks outside functions.
- [disposition: close] Guard Clause Flow Typing.
- [disposition: close] Legal double reference.
- [disposition: close] Add match/in statements.
New RFCs
- Stable SIMD in Rust.
- Officially adopt Ferris as the mascot for the current epoch.
- Prior art. A section to the RFC template where RFC authors may discuss the experience of other programming languages.
- Amend RFC 0141 Lifetime elision: Mention deduplicated lifetimes.
Upcoming Events
The community team is trying to improve outreach to meetup organisers. Please fill out their call for contact info if you are running or used to run a meetup.
- Feb 15. Cambridge, UK - Rust Meetup.
- Feb 17. Chennai, India - Monthly Meetup - February.
- Feb 18. Rust Dev in Mountain View - Open Table / Icebreaker: what projects are you working on.
- Feb 21. Vilnius, Lithuania - Rust Meetup #2.
- Feb 21. Rust Community Team Meeting at #rust-community on irc.mozilla.org.
- Feb 21. Rust Documentation Team Meeting at #rust-docs on irc.mozilla.org.
- Feb 22. Rust release triage.
- Feb 22. Rust London User Group - LDN Talks: February 2018.
- Feb 22. Minneapolis, US - February 2018 Meetup.
- Feb 25. Rust Dev in Mountain View - Open Table / Icebreaker: what projects are you working on.
- Feb 27. Rust Community Content Subteam Meeting at #rust-content on irc.mozilla.org
- Feb 28. Rust Community Team Meeting at #rust-community on irc.mozilla.org.
- Feb 28. Rust Documentation Team Meeting at #rust-docs on irc.mozilla.org.
- Feb 28. Rust Events Team Meeting.
If you are running a Rust event please add it to the calendar to get it mentioned here. Email the Rust Community Team for access.
Rust Jobs
No jobs listed for this week.
Tweet us at @ThisWeekInRust to get your job offers listed here!
Quote of the Week
No quote was selected for QotW.