You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: draft/2024-11-06-this-week-in-rust.md
+101-3Lines changed: 101 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,9 @@ and just ask the editors to select the category.
47
47
48
48
## Crate of the Week
49
49
50
-
<!-- COTW goes here -->
50
+
This week's crate is [wtransport](https://crates.io/crates/wtransport), an implementation of the WebTransport specification, a successor to WebSockets with many additional features.
51
+
52
+
Thanks to [Josh Triplett](https://users.rust-lang.org/t/crate-of-the-week/2704/1369) for the suggestion!
51
53
52
54
[Please submit your suggestions and votes for next week][submit_crate]!
53
55
@@ -98,7 +100,99 @@ If you are an event organizer hoping to expand the reach of your event, please s
98
100
99
101
## Updates from the Rust Project
100
102
101
-
<!-- Rust updates go here -->
103
+
473 pull requests were [merged in the last week][merged]
*[implement `From<&mut {slice}>` for `Box/Rc/Arc<{slice}>`](https://github.com/rust-lang/rust/pull/129329)
150
+
*[rc/Arc: don't leak the allocation if drop panics](https://github.com/rust-lang/rust/pull/132231)
151
+
*[add LowerExp and UpperExp implementations to NonZero](https://github.com/rust-lang/rust/pull/131377)
152
+
*[use Hacker's Delight impl in `i64::midpoint` instead of wide `i128` impl](https://github.com/rust-lang/rust/pull/132238)
153
+
*[xous: sync: remove `rustc_const_stable` attribute on Condvar and Mutex `new()`](https://github.com/rust-lang/rust/pull/132321)
154
+
*[add `const_panic` macro to make it easier to fall back to non-formatting panic in const](https://github.com/rust-lang/rust/pull/132542)
155
+
*[cargo: downgrade version-exists error to warning on dry-run](https://github.com/rust-lang/cargo/pull/14742)
156
+
*[cargo: add more metadata to `rustc_fingerprint`](https://github.com/rust-lang/cargo/pull/14761)
157
+
*[cargo: add transactional semantics to `rustfix`](https://github.com/rust-lang/cargo/pull/14747)
158
+
*[cargo: add unstable `-Zroot-dir` flag to configure the path from which rustc should be invoked](https://github.com/rust-lang/cargo/pull/14752)
159
+
*[cargo: allow build scripts to report error messages through `cargo::error`](https://github.com/rust-lang/cargo/pull/14743)
160
+
*[cargo: change config paths to only check `CARGO_HOME` for cargo-script](https://github.com/rust-lang/cargo/pull/14749)
161
+
*[cargo: download targeted transitive deps of with artifact deps' target platform](https://github.com/rust-lang/cargo/pull/14723)
162
+
*[cargo fix: track version in fingerprint dep-info files](https://github.com/rust-lang/cargo/pull/14751)
163
+
*[cargo: remove requirement for --target when invoking Cargo with -Zbuild-std](https://github.com/rust-lang/cargo/pull/14317)
164
+
*[rustdoc: Fix `--show-coverage` when JSON output format is used](https://github.com/rust-lang/rust/pull/132596)
165
+
*[rustdoc: Unify variant `struct` fields margins with `struct` fields](https://github.com/rust-lang/rust/pull/132258)
166
+
*[rustdoc: make doctest span tweak a 2024 edition change](https://github.com/rust-lang/rust/pull/132210)
167
+
*[rustdoc: skip stability inheritance for some item kinds](https://github.com/rust-lang/rust/pull/132481)
168
+
*[mdbook: improve theme support when JS is disabled](https://github.com/rust-lang/mdBook/pull/2454)
169
+
*[mdbook: load the sidebar toc from a shared JS file or iframe](https://github.com/rust-lang/mdBook/pull/2414)
170
+
*[clippy: `infinite_loops`: fix incorrect suggestions on async functions/closures](https://github.com/rust-lang/rust-clippy/pull/13608)
171
+
*[clippy: `needless_continue`: check labels consistency before warning](https://github.com/rust-lang/rust-clippy/pull/13648)
172
+
*[clippy: `no_mangle` attribute requires unsafe in Rust 2024](https://github.com/rust-lang/rust-clippy/pull/13631)
173
+
*[clippy: add new `trivial_map_over_range` lint](https://github.com/rust-lang/rust-clippy/pull/13034)
174
+
*[clippy: cleanup code suggestion for `into_iter_without_iter`](https://github.com/rust-lang/rust-clippy/pull/13634)
175
+
*[clippy: do not use `gen` as a variable name](https://github.com/rust-lang/rust-clippy/pull/13628)
176
+
*[clippy: don't lint unnamed consts and nested items within functions in `missing_docs_in_private_items`](https://github.com/rust-lang/rust-clippy/pull/13573)
177
+
*[clippy: extend `large_include_file` lint to also work on attributes](https://github.com/rust-lang/rust-clippy/pull/13636)
178
+
*[clippy: fix `allow_attributes` when expanded from some macros](https://github.com/rust-lang/rust-clippy/pull/13599)
179
+
*[clippy: improve display of clippy lints page when JS is disabled](https://github.com/rust-lang/rust-clippy/pull/13585)
180
+
*[clippy: new lint `map_all_any_identity`](https://github.com/rust-lang/rust-clippy/pull/13499)
181
+
*[clippy: new lint `needless_as_bytes`](https://github.com/rust-lang/rust-clippy/pull/13437)
182
+
*[clippy: new lint `source_item_ordering`](https://github.com/rust-lang/rust-clippy/pull/13376)
183
+
*[clippy: return iterator must not capture lifetimes in Rust 2024](https://github.com/rust-lang/rust-clippy/pull/13629)
184
+
*[clippy: use match ergonomics compatible with editions 2021 and 2024](https://github.com/rust-lang/rust-clippy/pull/13630)
185
+
*[rust-analyzer: allow interpreting consts and statics with interpret function command](https://github.com/rust-lang/rust-analyzer/pull/18470)
186
+
*[rust-analyzer: avoid interior mutability in `TyLoweringContext`](https://github.com/rust-lang/rust-analyzer/pull/18447)
187
+
*[rust-analyzer: do not render meta info when hovering usages](https://github.com/rust-lang/rust-analyzer/pull/18436)
188
+
*[rust-analyzer: add assist to generate a type alias for a function](https://github.com/rust-lang/rust-analyzer/pull/18385)
189
+
*[rust-analyzer: render extern blocks in `file_structure`](https://github.com/rust-lang/rust-analyzer/pull/18473)
190
+
*[rust-analyzer: show `static` values on hover](https://github.com/rust-lang/rust-analyzer/pull/18469)
191
+
*[rust-analyzer: auto-complete import for aliased function and module](https://github.com/rust-lang/rust-analyzer/pull/18382)
192
+
*[rust-analyzer: fix the server not honoring diagnostic refresh support](https://github.com/rust-lang/rust-analyzer/pull/18432)
193
+
*[rust-analyzer: only parse `safe` as contextual kw in extern blocks](https://github.com/rust-lang/rust-analyzer/pull/18446)
194
+
*[rust-analyzer: parse patterns with leading pipe properly in all places](https://github.com/rust-lang/rust-analyzer/pull/18453)
195
+
*[rust-analyzer: support new `#[rustc_intrinsic]` attribute and fallback bodies](https://github.com/rust-lang/rust-analyzer/pull/18475)
102
196
103
197
### Rust Compiler Performance Triage
104
198
@@ -274,7 +368,11 @@ Please see the latest [Who's Hiring thread on r/rust](INSERT_LINK_HERE)
274
368
275
369
# Quote of the Week
276
370
277
-
<!-- QOTW goes here -->
371
+
> Any sufficiently complicated C project contains an adhoc, informally specified, bug ridden, slow implementation of half of cargo.
372
+
373
+
– [Folkert de Vries at RustNL 2024 (youtube recording)](https://www.youtube.com/watch?v=mvzHQdCLkOY&t=912s)
374
+
375
+
Thanks to [Collin Richards](https://users.rust-lang.org/t/twir-quote-of-the-week/328/1629) for the suggestion!
278
376
279
377
[Please submit quotes and vote for next week!](https://users.rust-lang.org/t/twir-quote-of-the-week/328)
0 commit comments