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
- Sealed Rust - A plan to bring Rust to safety critical software domains.
- Embedded WG: Embedded Rust in 2019.
- Nannou update - Vulkan, LASERs and more.
- Bzip2 to see revival under new maintainership, experimental porting to Rust.
- Auth web microservice with Rust using actix-web 1.0 - complete tutorial.
- How to use gtk-rs on Windows using the MSVC toolchain.
- Hosting embedded Rust apps on Apache Mynewt with STM32 Blue Pill.
- Speeding up builds and managing versions.
Crate of the Week
This week's crate is uom, Units of measurement is a crate that does automatic type-safe zero-cost dimensional analysis. Thanks to ehsanmok 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.
- [good first issue] blasoxide: Add more tests for level2 and level3.
If you are a Rust project owner and are looking for contributors, please submit tasks here.
Updates from Rust Core
242 pull requests were merged in the last week
- Stabilize Cell::from_mut and as_slice_of_cells.
- Stabilize #![feature(repr_align_enum)] in Rust 1.37.0.
- Implementation of RFC 2289 (associated_type_bounds).
- Import the cargo-vendor subcommand into Cargo.
- Support ? Kleene macro operator in 2015.
- Add std::mem::take as suggested in #61129.
- Make tuple constructors real const fns.
- syntax: Remove
Deref
impl fromToken
. - Make
i*::signum
aconst fn
. - Remove useless allocations in macro_rules follow logic.
- Minimize use of
#![feature(custom_attribute)]
. - parser: Remove
Deref
impl fromParser
. - Change visit api.
- Don't allow using const fn arguments as "args_required_const".
- Support Rvalue::{Ref,Len} and Deref.
- Fix integer overflow in rotate_left.
- On TerminatorKind::DropAndReplace still handle unused_mut correctly.
- Use LLVM intrinsics for floating-point min/max.
- Add new diagnostic writer using annotate-snippet library.
- Add Bound::cloned().
- Refactor
TypeVariableOrigin
. - Replace linear token counting macros with optimized implementation.
- Suggest using
as_ref
on*const T
. - Re-implement async fn drop order lowering.
- syntax: Keep token span as a part of
Token
.
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
- [disposition: merge] Expose the type_name intrinsic.
Tracking Issues & PRs
- [disposition: merge] Support
cfg
andcfg_attr
on generic parameters. - [disposition: merge] Stabilize underscore_const_names in 1.37.0.
- [disposition: merge] Stabilize support for Profile-guided Optimization.
New RFCs
Upcoming Events
Asia Pacific
- Jun 15. Chennai, IN - Rust Chennai - Monthly meetup - June.
- Jun 25. Seoul, KR - Seoul Rust Meetup, Hapjeong - Deep dive into Rusts standard library.
Europe
- Jun 18. London, UK - Rust London User Group - LDN Talks June 2019.
- Jun 26. Berlin, DE - OpenTechSchool Berlin - Rust Hack and Learn.
- Jun 26. Milano, IT - Rust Language Milano - Fun with Rusty Robots.
- Jun 28-29. Firenze, IT - RustLab 2019.
North America
- Jun 13. San Diego, CA, US - San Diego Rust May Meetup.
- Jun 13. Arlington, VA, US - Rust DC — Mid-month Rustful.
- Jun 13. Columbus, OH, US - Columbus Rust Society - Monthly Meeting.
- Jun 13. Lehi, UT, US - Utah Rust - Meetup #13: Serde, Serde, and More Serde.
- Jun 18. Denver, CO, US - Rust Boulder/Denver - Rust Meetup for June.
- Jun 19. Mexico City, MX - Rust MX - Reunión junio: Hablemos de Fuchsia OS y WebAssembly.
- Jun 24. Durham, NC, US - Triangle Rustaceans - Project Night & Lightning Talks.
- Jun 25. Dallas, TX, US - Dallas Rust - Last Tuesday.
- Jun 26. Ann Arbor, US - Ann Arbor Rust Meetup - Monthly Gathering.
- Jun 26. Vancouver, BC, CA - Vancouver Rust 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
No quote was selected for QotW.
Please submit quotes and vote for next week!
This Week in Rust is edited by: nasa42, llogiq, and Flavsditz.