@@ -60,7 +60,9 @@ and just ask the editors to select the category.
60
60
61
61
## Crate of the Week
62
62
63
- <!-- COTW goes here -->
63
+ This week's crate is [ context-logger] ( https://github.com/alekseysidorov/context-logger ) , a lightweight, ergonomic library for adding structured context to your logs.
64
+
65
+ Thanks to [ Aleksey Sidorov] ( https://users.rust-lang.org/t/crate-of-the-week/2704/1440 ) for the self-suggestion!
64
66
65
67
[ Please submit your suggestions and votes for next week] [ submit_crate ] !
66
68
@@ -108,7 +110,71 @@ If you are an event organizer hoping to expand the reach of your event, please s
108
110
109
111
## Updates from the Rust Project
110
112
111
- <!-- Rust updates go here -->
113
+ 529 pull requests were [ merged in the last week] [ merged ]
114
+
115
+ [ merged ] : https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2025-05-27..2025-06-03
116
+
117
+ #### Compiler
118
+
119
+ * [ fix spans for unsafe binders] ( https://github.com/rust-lang/rust/pull/141781 )
120
+ * [ PGO new solver] ( https://github.com/rust-lang/rust/pull/141453 )
121
+ * [ add additional ` TypeFlags ` fast paths] ( https://github.com/rust-lang/rust/pull/141581 )
122
+ * [ add fast path for maybe-initializedness in liveness] ( https://github.com/rust-lang/rust/pull/141667 )
123
+
124
+ #### Library
125
+
126
+ * [ redesign stage 0 std] ( https://github.com/rust-lang/rust/pull/119899 )
127
+ * [ implement ` ((un)checked_)exact_div ` methods for integers] ( https://github.com/rust-lang/rust/pull/141237 )
128
+ * [ add Range parameter to ` BTreeMap::extract_if ` and ` BTreeSet::extract_if ` ] ( https://github.com/rust-lang/rust/pull/140825 )
129
+ * [ add ` CStr::display ` ] ( https://github.com/rust-lang/rust/pull/139994 )
130
+ * [ add ` Result::map_or_default ` and ` Option::map_or_default ` ] ( https://github.com/rust-lang/rust/pull/141659 )
131
+ * [ add ` From<TryLockError> ` for ` io::Error ` ] ( https://github.com/rust-lang/rust/pull/141312 )
132
+ * [ add ` const ` support for float rounding methods] ( https://github.com/rust-lang/rust/pull/141521 )
133
+ * [ add ` data_ptr ` method to Mutex and RwLock] ( https://github.com/rust-lang/rust/pull/140369 )
134
+
135
+ #### Cargo
136
+
137
+ * [ trim-paths: remap all paths to ` build.build-dir ` ] ( https://github.com/rust-lang/cargo/pull/15614 )
138
+ * [ fix cargo add overwriting symlinked Cargo.toml files] ( https://github.com/rust-lang/cargo/pull/15281 )
139
+
140
+ #### Rustdoc
141
+
142
+ * [ cleanups relating to allocations] ( https://github.com/rust-lang/rust/pull/141573 )
143
+ * [ display ` doc(cfg(false)) ` properly] ( https://github.com/rust-lang/rust/pull/141747 )
144
+ * [ linking to a local proc macro no longer warns] ( https://github.com/rust-lang/rust/pull/141411 )
145
+ * [ use descriptive tooltip if doctest is conditionally ignored] ( https://github.com/rust-lang/rust/pull/141517 )
146
+
147
+ #### Clippy
148
+
149
+ * [ ` explicit_deref_methods ` : do not lint on method chains] ( https://github.com/rust-lang/rust-clippy/pull/14921 )
150
+ * [ ` needless_return ` : look inside ` else if ` parts as well] ( https://github.com/rust-lang/rust-clippy/pull/14798 )
151
+ * [ ` while_let_loop ` : Include ` let ` assignment in suggestion] ( https://github.com/rust-lang/rust-clippy/pull/14756 )
152
+ * [ add lint ` infallible_try_from ` ] ( https://github.com/rust-lang/rust-clippy/pull/14813 )
153
+ * [ clean-up ` modulo_arithmetic ` ] ( https://github.com/rust-lang/rust-clippy/pull/14898 )
154
+ * [ extend ` manual_is_variant_and lint ` to check for boolean map comparisons] ( https://github.com/rust-lang/rust-clippy/pull/14646 )
155
+ * [ fix ` dbg_macro ` fail to handle async coroutine desugar] ( https://github.com/rust-lang/rust-clippy/pull/14937 )
156
+ * [ fix ` semicolon_outside_block ` suggests wrongly when inside macros] ( https://github.com/rust-lang/rust-clippy/pull/14954 )
157
+ * [ improve wording of ` manual_contains ` docs] ( https://github.com/rust-lang/rust-clippy/pull/14917 )
158
+ * [ new restriction lint: ` pointer_format ` ] ( https://github.com/rust-lang/rust-clippy/pull/14792 )
159
+ * [ optimize ` unit_return_expecting_ord ` ] ( https://github.com/rust-lang/rust-clippy/pull/14905 )
160
+ * [ use interned symbols instead of strings in more places] ( https://github.com/rust-lang/rust-clippy/pull/14855 )
161
+
162
+ #### Rust-Analyzer
163
+
164
+ * [ account for ` Generate ` actions when filtering the allowed ones] ( https://github.com/rust-lang/rust-analyzer/pull/19899 )
165
+ * [ add a quickfix for accessing a private field of a ` struct ` ] ( https://github.com/rust-lang/rust-analyzer/pull/19869 )
166
+ * [ add support for type-erased ` Semantics<'db, dyn HirDatabase> ` , by use of ` DB: ?Sized ` ] ( https://github.com/rust-lang/rust-analyzer/pull/19850 )
167
+ * [ enable assist edit for ` tuple<->named struct ` for the ` struct ` and visiblity keywords] ( https://github.com/rust-lang/rust-analyzer/pull/19901 )
168
+ * [ desugar assist for ` let pat = expr?; ` → ` let else ` ] ( https://github.com/rust-lang/rust-analyzer/pull/19881 )
169
+ * [ enhance renaming to include identifier variations that are generated by macros] ( https://github.com/rust-lang/rust-analyzer/pull/19893 )
170
+ * [ render padding information when hovering on structs] ( https://github.com/rust-lang/rust-analyzer/pull/19876 )
171
+ * [ cycle handlers for ` HirDatabase::infer, const_param_ty_with_diagnostics ` ] ( https://github.com/rust-lang/rust-analyzer/pull/19894 )
172
+ * [ fix IDE layer not resolving some macro calls] ( https://github.com/rust-lang/rust-analyzer/pull/19879 )
173
+ * [ fix import insertion not being fully cfg aware] ( https://github.com/rust-lang/rust-analyzer/pull/19890 )
174
+ * [ fix inference of ` AsyncFnX ` return type] ( https://github.com/rust-lang/rust-analyzer/pull/19872 )
175
+ * [ handle included files better in IDE layer] ( https://github.com/rust-lang/rust-analyzer/pull/19880 )
176
+ * [ recognize salsa cycles in ` thread_result_to_response ` ] ( https://github.com/rust-lang/rust-analyzer/pull/19888 )
177
+ * [ skip pattern analysis on type mismatches] ( https://github.com/rust-lang/rust-analyzer/pull/19875 )
112
178
113
179
### Rust Compiler Performance Triage
114
180
@@ -322,7 +388,11 @@ Please see the latest [Who's Hiring thread on r/rust](INSERT_LINK_HERE)
322
388
323
389
# Quote of the Week
324
390
325
- <!-- QOTW goes here -->
391
+ > Rust-based Python type checkers are like buses - you wait ages for one and then two come along at once.
392
+
393
+ – [ u/fiddle_n on r/rustjerk] ( https://www.reddit.com/r/rustjerk/comments/1kx8uk8/comment/muns9to )
394
+
395
+ Thanks to [ Brian Kung] ( https://users.rust-lang.org/t/twir-quote-of-the-week/328/1695 ) for the suggestion!
326
396
327
397
[ Please submit quotes and vote for next week!] ( https://users.rust-lang.org/t/twir-quote-of-the-week/328 )
328
398
0 commit comments