|
| 1 | +Title: This Week in Rust 161 |
| 2 | +Number: 161 |
| 3 | +Date: 2016-12-20 |
| 4 | +Category: This Week in Rust |
| 5 | + |
| 6 | +Hello and welcome to another issue of *This Week in Rust*! |
| 7 | +[Rust](http://rust-lang.org) is a systems language pursuing the trifecta: safety, concurrency, and speed. |
| 8 | +This is a weekly summary of its progress and community. |
| 9 | +Want something mentioned? Tweet us at [@ThisWeekInRust](https://twitter.com/ThisWeekInRust) or [send us a pull request](https://github.com/cmr/this-week-in-rust). |
| 10 | +Want to get involved? [We love contributions](https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md). |
| 11 | + |
| 12 | +*This Week in Rust* is openly developed [on GitHub](https://github.com/cmr/this-week-in-rust). |
| 13 | +If you find any errors in this week's issue, [please submit a PR](https://github.com/cmr/this-week-in-rust/pulls). |
| 14 | + |
| 15 | + |
| 16 | +# Updates from Rust Community |
| 17 | + |
| 18 | +## News & Blog Posts |
| 19 | + |
| 20 | +## 24 Days of Rust |
| 21 | + |
| 22 | +## Other Weeklies from Rust Community |
| 23 | + |
| 24 | +# Crate of the Week |
| 25 | + |
| 26 | +This week, sadly no crate was nominated. [Submit your suggestions and votes for next week][submit_crate]! |
| 27 | + |
| 28 | +[submit_crate]: https://users.rust-lang.org/t/crate-of-the-week/2704 |
| 29 | + |
| 30 | +# Call for Participation |
| 31 | + |
| 32 | +Always wanted to contribute to open-source projects but didn't know where to start? |
| 33 | +Every week we highlight some tasks from the Rust community for you to pick and get started! |
| 34 | + |
| 35 | +Some of these tasks may also have mentors available, visit the task page for more information. |
| 36 | + |
| 37 | +* [easy] [gimli: Provide `NativeEndian` default for generic `Endianity` type parameters](https://github.com/gimli-rs/gimli/issues/163). gimli is a lazy, zero-copy parser for the DWARF debugging format. |
| 38 | +* [easy] [tera: Fix include whitespace](https://github.com/Keats/tera/issues/72). Tera is a template engine for Rust based on Jinja2/Django. |
| 39 | +* [easy] [tera: Adding tests (not unit test, the tester feature)](https://github.com/Keats/tera/issues/62). |
| 40 | +* [hard] [tera: Add not to mean `!`](https://github.com/Keats/tera/issues/39). |
| 41 | +* [less easy] [unicode-reverse: Fuzz testing](https://github.com/mbrubeck/unicode-reverse/issues/2). unicode-reverse is a Unicode-aware in-place string reverse function in Rust. |
| 42 | +* [less easy] [rayon: Parity with the `Iterator` trait](https://github.com/nikomatsakis/rayon/milestone/2). Rayon: A data parallelism library for Rust. |
| 43 | +* [easy] [servo: Canvas rendering context can be destroyed after the canvas thread exits](https://github.com/servo/servo/issues/14002). |
| 44 | +* [easy] [servo: Remove ResponseAction](https://github.com/servo/servo/issues/13717). |
| 45 | + |
| 46 | +If you are a Rust project owner and are looking for contributors, please submit tasks [here][guidelines]. |
| 47 | + |
| 48 | +[guidelines]: https://users.rust-lang.org/t/twir-call-for-participation/4821 |
| 49 | + |
| 50 | +# Updates from Rust Core |
| 51 | + |
| 52 | +74 pull requests were [merged in the last week][merged]. This contains a good number of plugin-breaking changes. |
| 53 | + |
| 54 | +[merged]: https://github.com/issues?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2016-12-05..2016-12-12 |
| 55 | + |
| 56 | +* [Use link(kind) annotation to fix native Windows imports](https://github.com/rust-lang/rust/pull/37973) ([RFC #1717](https://github.com/rust-lang/rfcs/blob/master/text/1717-dllimport.md)) |
| 57 | +* [Function arity errors now show the original definition](https://github.com/rust-lang/rust/pull/38121) |
| 58 | +* [`HashMap`/-`Set` now allocate smarter on `from_iter(_)`](https://github.com/rust-lang/rust/pull/38017) |
| 59 | +* [Faster `sort()`](https://github.com/rust-lang/rust/pull/38192) – Epic speedups |
| 60 | +* [More forwarded `ExactSizeIterator` / `is_empty()`](https://github.com/rust-lang/rust/pull/38149) |
| 61 | +* [Stricter lifetimes for `LateLintPass`](https://github.com/rust-lang/rust/pull/38191) (Plugin-unbreaking 🙂) |
| 62 | +* [`Iterator::nth(_)` no longer needs `self` to be `Sized`](https://github.com/rust-lang/rust/pull/38134) |
| 63 | +* [Incremental compilation will now recompile items on visibility change](https://github.com/rust-lang/rust/pull/38272) |
| 64 | +* [`-Z always_encode_mir`](https://github.com/rust-lang/rust/pull/38217) |
| 65 | +* [dylib symbol handling improvements](https://github.com/rust-lang/rust/pull/38117) |
| 66 | +* [`tidy` now checks the licenses of vendored dependencies](https://github.com/rust-lang/rust/pull/38291) |
| 67 | +* [Rustbuild is now the default build system](https://github.com/rust-lang/rust/pull/37817) (1 year in the making) |
| 68 | +* [Allow `--test` on procedural-macro crates](https://github.com/rust-lang/rust/pull/38107) |
| 69 | +* [Cargo will pick up `build.rs` scripts by default](https://github.com/rust-lang/cargo/pull/3361) unless `package.build = false` explicitly, for now warns |
| 70 | +* [`cargo test --all` for Workspaces](https://github.com/rust-lang/cargo/pull/3221) |
| 71 | + |
| 72 | +## New Contributors |
| 73 | + |
| 74 | +* Stjepan Glavina |
| 75 | + |
| 76 | +## Approved RFCs |
| 77 | + |
| 78 | +Changes to Rust follow the Rust [RFC (request for comments) |
| 79 | +process](https://github.com/rust-lang/rfcs#rust-rfcs). These |
| 80 | +are the RFCs that were approved for implementation this week: |
| 81 | + |
| 82 | +*No RFCs were approved this week.* |
| 83 | + |
| 84 | +## Final Comment Period |
| 85 | + |
| 86 | +Every week [the team](https://www.rust-lang.org/team.html) announces the |
| 87 | +'final comment period' for RFCs and key PRs which are reaching a |
| 88 | +decision. Express your opinions now. [This week's FCPs][fcp] are: |
| 89 | + |
| 90 | +[fcp]: https://github.com/rust-lang/rfcs/labels/final-comment-period |
| 91 | + |
| 92 | +* [Allow `Self` to appear in the where clause of trait impls](https://github.com/rust-lang/rfcs/pull/1647). |
| 93 | +* [Safe intrinsics](https://github.com/rust-lang/rfcs/pull/1248). Allow intrinsics to be marked as _safe_, overriding the implicit `unsafe` from being in an extern block. |
| 94 | +* [Procedural macros](https://github.com/rust-lang/rfcs/pull/1566). |
| 95 | + |
| 96 | +## New RFCs |
| 97 | + |
| 98 | +* [Warn by default when encountering a statement which only consists of an equality comparison](https://github.com/rust-lang/rfcs/pull/1812). |
| 99 | + |
| 100 | +## Style RFCs |
| 101 | + |
| 102 | +[Style RFCs](https://github.com/rust-lang-nursery/fmt-rfcs) are part of the process for deciding on style guidelines for the Rust community and defaults for [Rustfmt](https://github.com/rust-lang-nursery/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! |
| 103 | + |
| 104 | +PRs: |
| 105 | + |
| 106 | +* [Conventions for Cargo.toml files](https://github.com/rust-lang-nursery/fmt-rfcs/pull/41). |
| 107 | +* [Customising Rustfmt (FCP)](https://github.com/rust-lang-nursery/fmt-rfcs/pull/33). |
| 108 | + |
| 109 | +Ready for PR: |
| 110 | + |
| 111 | +* [boolean and arithmetic expressions](https://github.com/rust-lang-nursery/fmt-rfcs/issues/18). |
| 112 | +* [struct and union declarations](https://github.com/rust-lang-nursery/fmt-rfcs/issues/30). |
| 113 | +* [type aliases](https://github.com/rust-lang-nursery/fmt-rfcs/issues/32). |
| 114 | +* [match](https://github.com/rust-lang-nursery/fmt-rfcs/issues/34). |
| 115 | + |
| 116 | +Other notable issues: |
| 117 | + |
| 118 | +* [function declarations](https://github.com/rust-lang-nursery/fmt-rfcs/issues/39). |
| 119 | + |
| 120 | +# Upcoming Events |
| 121 | + |
| 122 | +* [12/14. South Florida Rust: Intro to Rust](https://www.meetup.com/South-Florida-Rust-Meetup/events/235596291/). |
| 123 | +* [12/14. Rust Community Team Meeting at #rust-community on irc.mozilla.org](https://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-community). |
| 124 | +* [12/14. Rust Documentation Team Meeting at #rust-docs on irc.mozilla.org](https://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-docs). |
| 125 | +* [12/15. Rust release triage](https://internals.rust-lang.org/t/release-cycle-triage-proposal/3544). |
| 126 | +* [12/15. Rust Bay Area: Syn/Macros 1.1, Helix, and Binding C in OpenSSL](https://www.meetup.com/Rust-Bay-Area/events/235285192/). |
| 127 | +* [12/17. South Florida Rust: Intro to Rust](https://www.meetup.com/South-Florida-Rust-Meetup/events/235596339/). |
| 128 | +* [12/21. Rust Community Team Meeting at #rust-community on irc.mozilla.org](https://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-community). |
| 129 | +* [12/21. Rust Documentation Team Meeting at #rust-docs on irc.mozilla.org](https://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-docs). |
| 130 | + |
| 131 | +If you are running a Rust event please add it to the [calendar] to get |
| 132 | +it mentioned here. Email the [Rust Community Team][community] for access. |
| 133 | + |
| 134 | +[calendar]: https://www.google.com/calendar/embed?src=apd9vmbc22egenmtu5l6c5jbfc%40group.calendar.google.com |
| 135 | +[community]: mailto:[email protected] |
| 136 | + |
| 137 | +# fn work(on: RustProject) -> Money |
| 138 | + |
| 139 | +* [Mozilla Research Internship (US/INTL) - University 2017](https://careers.mozilla.org/position/gh/503816). |
| 140 | + |
| 141 | +*Tweet us at [@ThisWeekInRust](https://twitter.com/ThisWeekInRust) to get your job offers listed here!* |
| 142 | + |
| 143 | +# Quote of the Week |
| 144 | + |
| 145 | +<img src="https://68.media.tumblr.com/325981894f7583b456062acd77a20125/tumblr_ohqiasRsdz1rop8n1o2_540.png"> |
| 146 | + |
| 147 | +— [Programming People by David Marino](http://leftoversalad.com/c/015_programmingpeople/). |
| 148 | + |
| 149 | +Thanks to [skade](https://users.rust-lang.org/users/skade) for the suggestion. |
| 150 | + |
| 151 | +[Submit your quotes for next week][submit]! |
| 152 | + |
| 153 | +[submit]: http://users.rust-lang.org/t/twir-quote-of-the-week/328 |
| 154 | + |
| 155 | +*This Week in Rust is edited by: [nasa42](https://github.com/nasa42), [llogiq](https://github.com/llogiq), and [brson](https://github.com/brson).* |
0 commit comments