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
- Tools in the 2018 edition.
- Making Rust float parsing fast and correct.
- Bootstrapping Rust.
- Async in Rust, circa 2018.
- Rust Analyzer in 2018 and 2019.
- Rust and WebAssembly in 2019.
- Storing unboxed trait objects in Rust.
- Currying in Rust — Part 2 (A glimpse of generics).
- Building a JS Interpreter in Rust part 1.
- Edge programming with Rust and WebAssembly.
#Rust2019
Find all #Rust2019 posts at Read Rust.
Crate of the Week
This week's crate is yaserde, a specialized XML (de)serialization crate compatible with serde. Thanks to Marc Antoine Arnaud for the suggestion!
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.
- A call for Rust 2019 Roadmap blog posts.
- Rust Latam CFP is now open, deadline is December 31st.
- Tarpaulin: OSX support tracking issue. Tarpaulin is a code coverage tool for Rust projects.
- The imag project calls for contributors (2).
If you are a Rust project owner and are looking for contributors, please submit tasks here.
Updates from Rust Core
247 pull requests were merged in the last week
- x86: add the
adx
target feature to whitelist - bump minimum required LLVM version to 6.0
- unconditionally emit the target-cpu LLVM attribute
- account for
impl Trait
when suggesting lifetime - fixed issue with using
Self
ctor in typedefs - clearer error message for dead assign
- emit error with span for empty asserts
- fix span for invalid number of parameters in trait method
- contexually dependent error message for E0424 when value is assigned to "self"
- don't depend on
Allocation
sizes for pattern length - some cleanups around
AllocId
management - improve MIR match generation for ranges
- rustc: add an unstable
simd_select_bitmask
intrinsic - allow ptr::hash to accept fat pointers
- specialize: remove Boxes used by Children::insert
- infer: remove Box from a returned Iterator
TokenStream
improvements- remove
tokenstream::Delimited
- overhaul
FileSearch
andSearchPaths
SortedMap
upgrades- make
const unsafe fn
bodiesunsafe
- self-profiler: add column for percent of total time
#[must_use]
on traits in stdlib- fix
BTreeMap
UB - std: activate compiler_builtins
mem
feature for no_std targets - add
checked_add
method toInstant
time type VecDeque
: fix for stacked borrows- std: depend directly on crates.io crates
- libtest: use deterministic HashMap, avoid spawning thread if there is no concurrency
- greatly improve rustdoc rendering speed issues
- rustdoc: fix local reexports of proc macros
Approved RFCs
Changes to Rust follow the Rust RFC (request for comments) process. These are the RFCs that were approved for implementation this week:
No RFCs were approved this week.
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.
RFCs
No RFCs are currently in final comment period.
Tracking Issues & PRs
- [disposition: merge] Short-circuit Rc/Arc equality checking on equal pointers where T: Eq.
- [disposition: merge] Tracking issue for unsafe operations in const fn.
- [disposition: merge] Tracking issue for RFC 2539, "#[cfg_attr] expanding to multiple attributes".
- [disposition: merge]
#[repr(packed(N))]
(tracking issue for RFC 1399).
New RFCs
Upcoming Events
Online
Europe
- Dec 20. Cambridge, GB - The Last Cambridge Rust?
- Dec 20. Turin, IT - Gruppo di studio Rust.
- Dec 23. St. Petersburg, RU - St. Petersburg Rust Meetup.
- Jan 10. Brno, CZ, Rust meetup at Masaryk University
North America
- Dec 20. Chicago, US - Rust for the Holidays.
- Dec 23. Mountain View, US - Rust Dev in Mountain View!.
- Dec 25. Dallas, US - Dallas Rust - Last Tuesday.
- Dec 26. Ann Arbor, US - Ann Arbor Rust Meetup.
- Dec 26. Vancouver, CA - Vancouver Rust meetup.
- Dec 30. Mountain View, US - Rust Dev in Mountain View!.
- Jan 2. Indianapolis, US - Indy.rs.
- Jan 2. Atlanta, US - Rust Atlanta Meetup.
If you are running a Rust event please add it to the calendar to get it mentioned here. Please remember to add a link to the event too. Email the Rust Community Team for access.
Rust Jobs
Tweet us at @ThisWeekInRust to get your job offers listed here!
Quote of the Week
impl Drop for Mic {}
– Nick Fitzgerald rapping about Rust
Thanks to mark-i-m for the suggestion!
Please submit your quotes for next week!
This Week in Rust is edited by: nasa42, llogiq, and Flavsditz.