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.
Updates from Rust Community
News & Blog Posts
- The Rust Herald has been in testing for a while and after fixing some bugs, is now ready for general use. The Herald is meant for small news snippets: your new crate, a meetup announcement, or some short thoughts on a subject. All posts will be shared through RSS and Twitter.
- Announcing the “impl period”, Sep 18 - Dec 17.
- Revisiting Rust’s modules. (Discuss here).
- Announcing the
- IntelliJ Rust plugin is now officially supported by JetBrains.
- All contain-rs crates are now in maintenance-mode.
- Implementing a bot for Slack in Rust, Rocket and Anterofit - Part 1.
- Grokking Diesel ORM.
- Parsing NES ROM Headers with nom.
- cortex-m-rtfm v2: simpler, less overhead and more device support.
- Writing GStreamer applications in Rust.
- Rust: Not so great for codec implementing.
- This week in Rust docs 66.
- This week in Redox 27.
Crate of the 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.
- Call for Proposals is open for Rust Belt Rust 2017 until 7 August.
- Get in the swing with the libz blitz contest: Win free tickets to RustFest Zürich.
- [less easy] bindgen: Emitting or deriving trait implementations.
- [less easy] bindgen: Emit a "manual" implementation of Debug when it cannot be derived.
- [less easy] bindgen: Derive Hash when we can.
- [less easy] bindgen: "manually" implement Hash when it cannot be derived.
- [less easy] bindgen: "manually" implement PartialEq when it cannot be derived.
- [less easy] bindgen: Derive
- [less easy] bindgen: "manually" implement Eq when we cannot derive it.
- [less easy] bindgen: Derive PartialOrd when possible.
- [less easy] bindgen: "manually" implement PartialOrd when we cannot derive it.
- [less easy] bindgen: Derive Ord when possible.
- [less easy] bindgen: "manually" implement Ord when we cannot derive it.
- [doc] same-file: Note why
same-fileis a cross platform Rust library for checking whether two file paths are the same file.
- [easy] same-file: Add
- [doc] same-file: Note that
inomethods are unix only.
- [doc] same-file: Note why
- [doc] same-file: Clarify Approach to comparing files in docs.
- walkdir: Implement
WalkDir. Walkdir is a Rust library for walking directories recursively.
- [doc] rust-ffi-guide: Make the book more consistent.
- [easy] ggez: Input doesn't work on mac using tmux and iterm2. ggez is a Rust library to create good games easily.
- [easy] ggez: SDL controller input doesn't work.
- [doc] ggez: Finish full building-and-install docs for each platform.
If you are a Rust project owner and are looking for contributors, please submit tasks here.
Updates from Rust Core
146 pull requests were merged in the last week
- 1.20 stabilizations
- Better diagnostics and recovery for
mut refin patterns
- Point at path segment on module not found
- proc macros keep more span information
- simplify syntax path parsing
- no more
--help(the option was removed from stable in 1.19.0)
-Z verboseregion printing
- save subobligations in projection cache
- Improve checking of conflicting packed and align representation hints on structs and unions
- ARM hard-float supports homogeneous aggregates
- rustdoc: link
- rustdoc: print associated types in traits "implementors" section
- rustdoc: add unions to whitelist of sidebar types
- cargo now applies
--allon virtual workspaces
- Daiki Mizukami
- Danek Duvall
- Isaac van Bakel
- Joshua Liebow-Feeser
- Richard Dodd
Changes to Rust follow the Rust RFC (request for comments) process. These are the RFCs that were approved for implementation this week:
- RFC 2027: Tweak object safety rules to allow static dispatch.
- RFC 2057: Add replace and swap functions to RefCell.
- "Guide-level" and "Reference-level" explanations to replace how we teach and detailed design sections.
Final Comment Period
- [disposition: merge] Generic associated types (associated type constructors).
- [disposition: merge] Unsafe pointer methods.
- [disposition: merge] Allow an optional vert at the beginning of a match branch.
- [disposition: postpone] Eager expansion of macros.
- [disposition: merge] Future-proofing enums/structs with
- [disposition: merge] Enable nested method calls.
- Automatically usable external crates.
- Implied bounds.
- Semantic inlining (another try to the unwrap/expect line info problem).
- Allow Irrefutable Patterns in if-let and while-let statements.
- Warning on tautology in if or while statements.
Style RFCs are part of the process for deciding on style guidelines for the Rust community and defaults for Rustfmt. The process is similar to the RFC process, but we try to reach rough consensus on issues (including a final comment period) before progressing to PRs. Just like the RFC process, all users are welcome to comment and submit RFCs. If you want to help decide what Rust code should look like, come get involved!
The RFC style is now the default style in Rustfmt - try it out and let us know what you think!
Currently being discussed:
- Aug 7. Rust Belt Rust 2017 CFP deadline.
- Aug 9. Rust Community Team Meeting at #rust-community on irc.mozilla.org.
- Aug 9. Rust Documentation Team Meeting at #rust-docs on irc.mozilla.org.
- Aug 9. OpenTechSchool Berlin - Rust Hack and Learn.
- Aug 10. Rust release triage.
- Aug 10. Columbus Rust Society - Monthly meetup.
- Aug 14. Seattle Rust Meetup.
- Aug 16. Rust Community Team Meeting at #rust-community on irc.mozilla.org.
- Aug 16. Rust Documentation Team Meeting at #rust-docs on irc.mozilla.org.
- Aug 18-19. RustConf 2017.
Tweet us at @ThisWeekInRust to get your job offers listed here!
Quote of the Week
No quote was selected for QotW.