2023-04-26
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.
regex 1.8.0 release notesThis week's crate is system-deps, a crate that will compile your pkg-config-based dependencies for you.
Thanks to Aleksey Kladov 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.
upsert endpoint to cards_info tableApiKeyInterface for MockDbConfigInterface for MockDbsecure-channel-listener commands 1identity commandsIf you are a Rust project owner and are looking for contributors, please submit tasks here.
411 pull requests were merged in the last week
add suggestion to use closure argument instead of a capture on borrowck error
delay a good path bug on drop for TypeErrCtxt (instead of a regular delayed bug)
ensure mir_drops_elaborated_and_const_checked when requiring codegen
make impl Debug for Span not panic on not having session globals
panic instead of truncating if the incremental on-disk cache is too big
set commit information environment variables when building tools
suggest using integration tests for test crate using own proc-macro
track if EvalCtxt has been tainted, make sure it can't be used to make query responses after
don't allocate on SimplifyCfg/Locals/Const on every MIR pass
allow to feed a value in another query's cache and remove WithOptConstParam
run various queries from other queries instead of explicitly in phases
add offset_of! macro (RFC #3308)
specialize some io::Read and io::Write methods for VecDeque<u8> and &[u8]
hashbrown: relax the trait bounds of HashSet::raw_table{,_mut}
cargo: add the Win32_System_Console feature since it is used
cargo: fix: allow win/mac credential managers to build on all platforms
clippy: arithmetic_side_effects detect integer methods that can introduce side effects
clippy: bugfix: ignore impl Trait(s) @ let_underscore_untyped
clippy: fix #[allow(clippy::enum_variant_names)] directly on variants
clippy: ignore manual_slice_size_calculation in code from macro expansions
clippy: new lint: detect if expressions with simple boolean assignments to the same target
clippy: suppress the triggering of some lints in derived structures
rust-analyzer: add #[doc(alias(..))]-based field and function completions
rust-analyzer: editor.parameterHints.enabled not always being respected
rust-analyzer: deduplicate passed workspaces by top level cargo workspace they belong to
rust-analyzer: fix need-mut large span in closures and a false positive
rust-analyzer: fix panic in const eval and parameter destructing
rust-analyzer: report remaining macro errors in assoc item collection
rust-analyzer: specify --pre-release when publishing vsce nightly
Rusty Events between 2023-04-26 - 2023-05-24 🦀
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
That said, I really like the language. It’s as if someone set out to design a programming language, and just picked all the right answers. Great ecosystem, flawless cross platform, built-in build tools, no “magic”, static binaries, performance-focused, built-in concurrency checks. Maybe these “correct” choices are just laser-targeted at my soul, but in my experience, once you leap over the initial hurdles, it all just works™️, without much fanfare.
Thanks to Ivan Tham 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