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
- ππ Announcing Rust 1.27.1. ππ
- Use of unsafe in actix-web codebase is down to <15 from 100+.
- Rust + actix-web in one of the biggest music festival Atlas Weekend.
- A web application completely written in Rust.
- Debian is starting to package Rust crates.
- Relative paths in Rust 2018.
- Exploring new communication channels. Some Rust teams are trying out the Discord chat platform for team discussions.
- Security Advisory for rustdoc.
- Programming for Redox OS.
- Programming Servo: an HTTP cache.
- [podcast] New Rustacean: Traits deep dive, part 3. Closure traits, impl trait, dyn trait, and object safety.
Crate of the Week
This week's crate is cargo-geiger, which detects usage of unsafe Rust in your project and its dependencies.
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.
- Rustberry: Test Rustberry 0.1 on Raspberry Pi.
- [medium/hard] rustc-guide: Codegen: LLVM IR, Monomorphization, Codegen Units, Partitioning, Symbol Linkage and Visibility.
- Get started with these beginner-friendly issues.
If you are a Rust project owner and are looking for contributors, please submit tasks here.
Updates from Rust Core
158 pull requests were merged in the last week
- Stable release 1.27.1.
- Add
#[repr(transparent)]
to some libcore types. - Stabilize rc_downcast.
- Add lint warning for inner function marked as
#[test]
. - rust: add initial changes to support powerpc64le musl.
- Initialize LLVM's AMDGPU target machine, if available.
- Implement always-fallible TryFrom for usize/isize conversions that are infallible on some platforms.
- Haiku: several smaller fixes to build and run rust on Haiku.
- Add
read_exact_at
andwrite_all_at
methods toFileExt
on unix. - Add the
alloc::prelude
module. - Ship clippy in manifests.
- Don't suggest
let
bindings if they don't help with borrows. - Get rid of
TyImplTraitExistential
. - rename rustc's lld to rust-lld.
- Add outlives annotations to
BTreeMap
. - Performance improvement of Vec's swap_remove.
- Add a punch card to weird expressions test.
- Add linux musl powerpc (32-bit) support.
- Implementation of tool lints.
- Enable Atomic*.{load,store} for ARMv6-M / MSP430.
- Make causal tracking lazy.
- Move self trait predicate to items.
- Mostly fix metadata_only backend and extract some code out of rustc_codegen_llvm.
- Deprecate
std::env::home_dir
and fix incorrect documentation.
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] Deprecation of
str::slice_unchecked(_mut)
. - [disposition: merge] Tracking issue for
ToOwned::clone_into
(toowned_clone_into
). - [disposition: merge] impl Clone for
Box<CStr>
,Box<OsStr>
,Box<Path>
.
New RFCs
Upcoming Events
Asia
Europe
- Jul 19. Cambridge, GB - Cambridge Rust Meetup.
- Jul 20. Barcelona, ES - BcnRust 1st meetup with Ashley Williams & Steve Klabnik.
- Jul 24. Rome, IT - Rust learning and hacking evening #10.
North America
- Jul 12. Utah Valley, Utah, US - Utah Rust - Monthly Meeting.
- Jul 18. Orange County, US - Crash Course for Traits and Associated Types.
- Jul 18. Standford, US - Rust Bay Area - [@ Stanford] Munching Macros and Facebook's Mononoke.
- Jul 24. Denver, US - Rust Boulder/Denver - Rust Denver July Meetup.
- Jul 25. Chicago, US - Rust Meetup July 2018.
- Aug 17. Portland, US - RustConf 2018.
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
actix-web has removed all unsound use of unsafe in its codebase. Itβs down to less than 15 occurrences of unsafe from 100+.
β u/_ar7 celebrating this commendable achievement.
Thanks to Jules Kerssemakers for the suggestion!