Warning
This post was published 155 days ago. The information 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 X(formerly 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.
Want TWIR in your inbox? Subscribe here.
This week's crate is yazi, a blazing fast terminal file manager based on async I/O.
Despite a lamentable lack of suggestions, llogiq is content with his choice.
Please submit your suggestions and votes for next week!
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.
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.
If you are a Rust project owner and are looking for contributors, please submit tasks here or through a PR to TWiR or by reaching out on X (Formerly twitter) or Mastodon!
Are you a new or experienced speaker looking for a place to share something cool? This section highlights events that are being planned and are accepting submissions to join their event as a speaker.
If you are an event organizer hoping to expand the reach of your event, please submit a link to the website through a PR to TWiR or by reaching out on X (Formerly twitter) or Mastodon!
470 pull requests were merged in the last week
arm64ec-pc-windows-msvc
to tier 2!
fall back to !
E0229
: Suggest Moving Type Constraints to Type Parameter DeclarationUniqueRc
: support allocators and T: ?Sized
pin!()
libcxx-version
only when it doesn't existself
Result
return type for function when using QuestionMark ?
in the bodycollapse_debuginfo
for staticsObligationEmittingRelation
s emit Goal
rather than Obligation
storage-live.rs
robust against rustc internal changesFn
to FnMut
work with methods as wellMatchAgainstFreshVars
to old solverspecializes
query if (min)specialization is enabled in the crate of the specializing implDEPENDENCY_ON_UNIT_NEVER_TYPE_FALLBACK
token::Interpolated
with token stream pretty printingSingle
enumsVariance
glob imported variants everywhererem_euclid
rustc_span
: Optimize more hygiene operations using Span::map_ctxt
SliceIndex
methodsstd::unix::fs::link
using direct linkat call for Solaris[T; N]::try_map
signaturePathBuf
less Ok with adding UTF-16 then into_string
Option::is_none_or
f16
and f128
const eval for binary and unary operationationsf16
and f128
inline ASM support for x86
and x86-64
ptr::rotate
smaller when using optimize_for_size
size_hint
lower boundis_disjoint
std::fs::absolute
instead of reimplementing itmanual_pattern_char_comparison
field_scoped_visibility_modifiers
lintmanual_inspect
assigning_clones
when cloned data borrows from the place to clone intoindexing_slicing
lints on proc macrosupper_case_acronyms
to_string()
for single_char_add_str
qualify_min_const_fn
deal with drop terminatorsmanual_unwrap_or
for it let casesoctal_escapes
HirDisplay
stackoverflow for parameter Self defaults<eoi>
parallel_prime_caches
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.
Every week, the team announces the 'final comment period' for RFCs and key PRs which are reaching a decision. Express your opinions now.
Rusty Events between 2024-06-19 - 2024-07-17 🦀
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
If there’s a backdoor attack lurking in the crates ecosystem, then it’s lurking pretty deep at present. The popular crates that we all rely on day to day generally appear to be what they say they are.
Thanks to Brian Kung 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