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 2016 Underhanded Rust Contest results.
- How
Future
works. - Attacking Rust for fun and profit.
- Calling Rust from C#.
- Testing a Rust command line tool.
- This year in the Amethyst game engine.
- This week in Rust docs 75.
- RustFest Spring 2018 will be in Paris.
Crate of the Week
Sadly, no one suggested a crate for the week.
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.
- Contribute to Rust's 2017 impl period.
- impl period opportunities: Diesel.
- Way Cooler is looking for help with milestone 0.7.
If you are a Rust project owner and are looking for contributors, please submit tasks here.
Updates from Rust Core
100 pull requests were merged in the last week
- fix native main() signature on 64bit
- add suggestions for misspelled method names
- code suggestions for unused-mut, while-true, deprecated-attribute, and unused-parens lints
- allow unused extern crate again (backs out until diagnostics are fixed)
- friendlier error message for closure argument type mismatch
- macros: fix bug in collecting trait and impl items with derives
- apply attr proc macros before cfg processing
- handle nested generics in
Generics::type_param
/region_param
- encode region::Scope using fewer bytes
- initial support for
..=
syntax - some fixes to mir-borrowck
- allow replacing HashMap entries
impl<T, U> TryFrom<T> for U where U: From<T>
- `impl
Try for Option (this was a long time coming) - do not require semantic types for all syntactic types when there are errors
- add more custom folding to
core::iter
adaptors - trustedRandomAccess specialisation for Iterator::cloned when Item: Copy
- fix capacity comparison in
VecDeque::reserve
New Contributors
- Badel2
- Ben Cressey
- Daniel Klauer
- Jeroen Bollen
- Matthias Devlamynck
- Sean Prashad
- Tomas Nilsson
- Vitaly Vi Shukela
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 2094: Non-lexical lifetimes.
- RFC 2137: Support defining C-compatible variadic functions in Rust.
- RFC 2141: Add support to Cargo for alternative registries.
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] Fallible collection allocation 1.0.
- [disposition: merge] Implicit caller location (third try to the unwrap/expect line info problem).
- [disposition: merge] Unsized rvalues.
- [disposition: merge] eRFC: Cargo build system integration.
- [disposition: merge] Type privacy and private-in-public lints.
New RFCs
- impl-only-use. The
use …::{… as …}
syntax can now accept_
as alias to a trait to only import the implementations of such a trait.
Upcoming Events
- Oct 5. Rust release triage.
- Oct 7. Rust Bangalore SQL Data Binding Workshop.
- Oct 9. Rust Seattle Monthly Meetup.
- Oct 11. Rust Community Team Meeting at #rust-community on irc.mozilla.org.
- Oct 11. Rust Documentation Team Meeting at #rust-docs on irc.mozilla.org.
- Oct 12. Rust Washington DC - Mid-month Rustful.
- Oct 12. Columbus Rust Society - Monthly Meeting.
- Oct 18. OpenTechSchool Berlin - Rust Hack and Learn.
- Oct 18. Rust Community Team Meeting at #rust-community on irc.mozilla.org.
- Oct 18. Rust Documentation Team Meeting at #rust-docs on irc.mozilla.org.
- Oct 19. Rust release triage.
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
Tweet us at @ThisWeekInRust to get your job offers listed here!
Quote of the Week
The compiler is grumpy for you so you don’t have to be
— Élisabeth Henry @RustFest Zürich
Thanks to llogiq for the suggestion.