Warning
This post was published 77 days ago. The infomation described in this article may have changed.
Hello and welcome to another issue of This Week in Rust! Rust is a programming language empowering everyone to build reliable and efficient software. This is a weekly summary of its progress and community. Want something mentioned? Tag us at @ThisWeekInRust on Twitter or @ThisWeekinRust on mastodon.social, or send us a pull request. Want to get involved? We love contributions.
This Week in Rust is openly developed on GitHub and archives can be viewed at this-week-in-rust.org. If you find any errors in this week's issue, please submit a PR.
async
/await
in RustThis week's crate is dysk, a nice df
like utility to display the fill level of your disks.
Thanks to Denys Séguret for the self-suggestion!
Please submit your suggestions and votes for next week!
Always wanted to contribute to open-source projects but did not 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.
sqlite
support as an alternative to lmdb
2If you are a Rust project owner and are looking for contributors, please submit tasks here.
378 pull requests were merged in the last week
rustc --explain
outputitem_name
for RPITITreport_forbidden_specialization
for RPITITsresolve_bound_vars
when associated return-type bounds are in bad positionsdyn* Trait: Trait
(built-in object) goals during selection in new trait solverdyn Trait
objectsextern pub fn
ConstEvaluatable
goals in new solverCallInst->setTailCallKind
#[start]
TokenStream
replacement in-place when possible in expand_macro
Read
, Write
and Seek
impls for Arc<File>
where appropriateio::copy
specializationsskip_macro_invocations
from config file[significant_drop_tightening]
consider manual aliases of the drop
functionarc_with_non_send_sync
: reword and move to suspicious
filter_next
: suggest making binding mutable if neededmanual_range_patterns
: lint negative valuesunnecessary_literal_unwrap
: don't lint if binding initializer comes from expansionneedless_pass_by_ref_mut
lintneedless_borrow
manual_partial_ord_and_ord_impl
read_line_without_trim
manual_is_infinite
and manual_is_finite
implements_trait
in incorrect_impls
enum
to glob_import_expand
size_of_val
and support min_align_of_val
unresolved-field
diagnostic for missing namesread_via_copy
intrinsicA very quiet week with nearly no changes in compiler performance.
Triage done by @rylev. Revision range: 52d8c49..1d4f5af
Summary:
(instructions:u) | mean | range | count |
---|---|---|---|
Regressions ❌ (primary) |
1.1% | [0.7%, 1.7%] | 8 |
Regressions ❌ (secondary) |
2.1% | [0.4%, 3.7%] | 2 |
Improvements ✅ (primary) |
-0.9% | [-1.2%, -0.5%] | 26 |
Improvements ✅ (secondary) |
-1.2% | [-1.8%, -0.2%] | 16 |
All ❌✅ (primary) | -0.4% | [-1.2%, 1.7%] | 34 |
4 Regressions, 2 Improvements, 2 Mixed; 1 of them in rollups 51 artifact comparisons made in total
Changes to Rust follow the Rust RFC (request for comments) process. These are the RFCs that were approved for implementation this week:
Every week, the team announces the 'final comment period' for RFCs and key PRs which are reaching a decision. Express your opinions now.
An important step for RFC implementation is for people to experiment with the implementation and give feedback, especially before stabilization. The following RFCs would benefit from user testing before moving forward:
If you are a feature implementer and would like your RFC to appear on the above list, add the new call-for-testing
label to your RFC along with a comment providing testing instructions and/or guidance on which aspect(s) of the feature
need testing.
Rusty Events between 2023-07-12 - 2023-08-09 🦀
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.
Please see the latest Who's Hiring thread on r/rust
It's all ducks and sunshine until something starts barking.
Thanks to Patrice Peterson for the suggestion!
Please submit quotes and vote for next week!
This Week in Rust is edited by: nellshamrell, llogiq, cdmistman, ericseppanen, extrawurst, andrewpollack, U007D, kolharsam, joelmarcey, mariannegoldin, bennyvasquez.
Email list hosting is sponsored by The Rust Foundation
🏷️ Rust_feed