2023-02-22
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 Darkbird, a high-concurrency real-time in-memory database.
Thanks to DanyalMh 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.
If you are a Rust project owner and are looking for contributors, please submit tasks here.
396 pull requests were merged in the last week
add kernel-address sanitizer support for freestanding targets
check that built-in callable types validate their output type is Sized (in new solver)
don't call with_reveal_all_normalized in const-eval when param_env has inference vars in it
don't recover lifetimes/labels containing emojis as character literals
don't suggest #[doc(hidden)] trait methods with matching return type
fix RPITITs in default trait methods (by assuming projection predicates in param-env)
unexpected trait bound not satisfied in HRTB and Associated Type
prevent some attributes from being merged with others on reexports
use target instead of machine for mir interpreter integer handling
use covariance on type relations of field projection types if possible
use semantic equality for const param type equality assertion
constify RangeBounds, RangeX::contains and RangeX::is_empty (where applicable)
use custom implementation of read_buf in Read for &'a FileDesc
bindgen: add support for enums with the wrapped static functions feature
clippy: significant_drop_tightening: evaluate the return expression of a block
clippy: significant_drop_tightening: ignore inexpensive statements
clippy: fix false positives for extra_unused_type_parameters
clippy: stop bytes_nth from suggesting code that does not compile
clippy: stop doc_markdown requiring backticks on links to external websites
clippy: box_default: don't omit the type of the removed trait object
clippy: manual_let_else: do not suggest semantically different replacements
clippy: manual_let_else: let/else is not divergent by default
clippy: uninlined_format_args: do not inline argument with generic parameters
clippy: change unusual_byte_groupings to only require byte groupings of equal size
clippy: do not base map_entry lint suggestion on expanded code
clippy: fix needless_return incorrect suggestion when returning if sequence
clippy: ignore synthetic type parameters for extra_unused_type_parameters
clippy: liberate late-bound regions rather than erasing them in needless_pass_by_value
rust-analyzer: don't assume VSCode internal commands in the server
rust-analyzer: adjust binding mode inlay hints to render better with @ patterns
rust-analyzer: bring back hovering call parens for return type info
rust-analyzer: don't expand macros in the same expansion tree after overflow
rust-analyzer: don't trigger postfix completion in if block which has an else block
rust-analyzer: trigger call info for more completions of signature having things
Rusty Events between 2023-02-22 - 2023-03-22 🦀
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 enjoyable to write Rust, which is maybe kind of weird to say, but it’s just the language is fantastic. It’s fun. You feel like a magician, and that never happens in other languages.
– Parker Timmerman cited in a TechnologyReview article
Thanks to robin 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