Warning
This post was published 119 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. If you find any errors in this week's issue, please submit a PR.
This week's crate is progenitor, an OpenAPI client generator with support for strongly typed mock tests.
Thanks to John Vandenberg for the 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.
ConnectorError
and ApiErrorResponse
using the ErrorSwitch
traitockam secure-channel-listener list --node n1
is inconsistent 2tcp-connection show
command should iter all the available nodes to find the requested IDockam node create
bevy_cosmic_edit
- Issue #128 - StaffEngineer/velo - GitHub 2If you are a Rust project owner and are looking for contributors, please submit tasks here.
325 pull requests were merged in the last week
extern crate shadow_name
rustc_privacy
: Cleanups and perf improvements to EmbargoVisitor
Sized
arbitrary_self_types
Rvalue::AddressOf
MatchBranchSimplification
get_body_with_borrowck_facts
Self
not respecting tuple Ctor privacyhash
-Zunstable-options
type_of
ErrorGuaranteed
more in MIR type opsBasicBlock
and Local
numbering#[global_allocator]
without the allocator shimBuildHasher::hash_one
String::leak
#[inline]
to array TryFrom implsslice::
{split_
, }{first
, last
}_chunk
{, _mut
}[features]
tableCargo.lock
conflicts in the Cargo FAQrustdoc-gui-test
default_constructed_unit_structs
: do not lint on type alias pathslarge_stack_arrays
: check array initializer expressionsneedless_else
lint to check for empty else
clausesunused_async
: do not consider await
in nested async
blocks as usedptr_cast_constness
needless_return
suggestionredundant_pattern_match
on matches! macroinvalid_regex
with invalid UTF8. Also, adding more test cases#[cfg]
'd out code in needless_else
manual_let_else
_
expressions (typed holes)need-mut
false positive in closure capture of match scrutinee#![cfg(FALSE)]
behaves on crate rootUnevaluatedConst
in unifyUnevaluatedConst
before trait solving::core
instead of $crate
in option_env!
${count()}
metavariable expressionA good week overall, with a broad set of improvements to many primary benchmarks. The main single source of primary regressions is from rollup PR #111869; we are in the process of narrowing that down to see if there is a root cause.
Triage done by @pnkfelix. Revision range: cda5becc..1221e43b
3 Regressions, 3 Improvements, 3 Mixed; 4 of them in rollups 26 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.
impl Trait
in traits[]
clippy::fn_null_check
lintclippy::cmp_nan
lint#[export]
(dynamically linked crates)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:
[lints]
table to Cargo.toml (Feature: manifest-lint
)
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-05-31 - 2023-06-28 🦀
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
Panics are overgrown ASSERTs, not an underbuilt exception system.
– Stephan Sokolow on hacker news
Thanks to Stephan Sokolow for the self-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