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-09-18-this-week-in-rust.md
+113-3Lines changed: 113 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,9 @@ and just ask the editors to select the category.
59
59
60
60
## Crate of the Week
61
61
62
-
<!-- COTW goes here -->
62
+
This week's crate is [lepton-jpeg-rust](https://github.com/microsoft/lepton_jpeg_rust), Microsoft's port of Dropbox' lepton space-saving JPEG compressor library to Rust.
63
+
64
+
Thanks to [Kornel](https://users.rust-lang.org/t/crate-of-the-week/2704/1346) for the suggestion!
63
65
64
66
[Please submit your suggestions and votes for next week][submit_crate]!
65
67
@@ -114,7 +116,111 @@ If you are an event organizer hoping to expand the reach of your event, please s
114
116
115
117
## Updates from the Rust Project
116
118
117
-
<!-- Rust updates go here -->
119
+
351 pull requests were [merged in the last week][merged]
*[properly handle EOF in `BufReader::peek`](https://github.com/rust-lang/rust/pull/130042)
188
+
*[implement feature `string_from_utf8_lossy_owned` for lossy conversion from `Vec<u8>` to `String` methods](https://github.com/rust-lang/rust/pull/129439)
189
+
*[futures: `#[inline(always)]` on `clone_arc_raw`](https://github.com/rust-lang/futures-rs/pull/2865)
190
+
*[futures: add accessors for the inner of `stream::Iter`](https://github.com/rust-lang/futures-rs/pull/2875)
191
+
*[cargo: `fix(vendor)`: trust crate version only when coming from registries](https://github.com/rust-lang/cargo/pull/14530)
192
+
*[cargo: disable the `shell_completions` tests](https://github.com/rust-lang/cargo/pull/14546)
193
+
*[cargo: add custom completer for `cargo -Z <TAB>`](https://github.com/rust-lang/cargo/pull/14536)
194
+
*[cargo: add custom completer for completing bin names](https://github.com/rust-lang/cargo/pull/14533)
195
+
*[cargo: add custom completer for completing installed binaries](https://github.com/rust-lang/cargo/pull/14534)
196
+
*[cargo: add native comlpetion with CompleteEnv under the nightly](https://github.com/rust-lang/cargo/pull/14493)
197
+
*[rustdoc rfc#3662 changes under unstable flags](https://github.com/rust-lang/rust/pull/129337)
198
+
*[rustdoc: add two regression tests](https://github.com/rust-lang/rust/pull/130173)
199
+
*[rustdoc: rename `issue-\d+.rs` tests to have meaningful names (part 9)](https://github.com/rust-lang/rust/pull/130287)
200
+
*[rustdoc: unify the short-circuit on all lints](https://github.com/rust-lang/rust/pull/129975)
*[rustfmt: format trailing where clauses in type aliases](https://github.com/rust-lang/rustfmt/pull/5887)
203
+
*[rustfmt: non-panicking `fmt::Display` for `FileName`](https://github.com/rust-lang/rustfmt/pull/6328)
204
+
*[rustfmt: refactor - show file path in error message when parsing config from toml](https://github.com/rust-lang/rustfmt/pull/6323)
205
+
*[clippy: look at adjusted types instead of fn signature types in `ptr_arg`](https://github.com/rust-lang/rust-clippy/pull/13313)
206
+
*[clippy: not trigger `duplicated_attributes` on duplicate reasons](https://github.com/rust-lang/rust-clippy/pull/13386)
207
+
*[clippy: special-case suggestions for null pointers constness cast](https://github.com/rust-lang/rust-clippy/pull/13369)
208
+
*[clippy: consider msrv for const context for `const_float_bits_conv`](https://github.com/rust-lang/rust/pull/130305)
209
+
*[rust-analyzer: add command to report unresolved references](https://github.com/rust-lang/rust-analyzer/pull/17904)
210
+
*[rust-analyzer: assist: ensure `replace_qualified_name_with_use` applies to the first path segment](https://github.com/rust-lang/rust-analyzer/pull/18050)
211
+
*[rust-analyzer: automatically add semicolon when completing unit-returning functions](https://github.com/rust-lang/rust-analyzer/pull/18018)
212
+
*[rust-analyzer: generate names for tuple-struct in add-missing-match-arms](https://github.com/rust-lang/rust-analyzer/pull/18038)
213
+
*[rust-analyzer: render patterns in params for hovering](https://github.com/rust-lang/rust-analyzer/pull/18075)
214
+
*[rust-analyzer: correctly escape strings in our quote macro](https://github.com/rust-lang/rust-analyzer/pull/18092)
215
+
*[rust-analyzer: don't emit empty inlay hint parts](https://github.com/rust-lang/rust-analyzer/pull/18107)
216
+
*[rust-analyzer: don't report typed hole error in asm! out ops](https://github.com/rust-lang/rust-analyzer/pull/18106)
217
+
*[rust-analyzer: faulty notifications should not bring down the server](https://github.com/rust-lang/rust-analyzer/pull/18105)
218
+
*[rust-analyzer: fix `inline_const_as_literal` error when the number \>= 10](https://github.com/rust-lang/rust-analyzer/pull/18052)
219
+
*[rust-analyzer: fix inference of literals when the expectation is Castable](https://github.com/rust-lang/rust-analyzer/pull/18101)
220
+
*[rust-analyzer: fix printing of constants greater than `i128::MAX`](https://github.com/rust-lang/rust-analyzer/pull/18119)
221
+
*[rust-analyzer: immutable tree panic in `generate_delegate_trait`](https://github.com/rust-lang/rust-analyzer/pull/18073)
222
+
*[rust-analyzer: skip checks for cast to dyn traits](https://github.com/rust-lang/rust-analyzer/pull/18093)
223
+
*[rust-analyzer: use more correct handling of lint attributes](https://github.com/rust-lang/rust-analyzer/pull/18099)
118
224
119
225
### Rust Compiler Performance Triage
120
226
@@ -310,7 +416,11 @@ Please see the latest [Who's Hiring thread on r/rust](INSERT_LINK_HERE)
310
416
311
417
# Quote of the Week
312
418
313
-
<!-- QOTW goes here -->
419
+
> \[Rust\] is a conspiracy to popularize programing language concepts from the 80s
420
+
421
+
– [Esteban Küber on hachyderm](https://hachyderm.io/@ekuber/113130426545931814)
422
+
423
+
[llogiq](https://users.rust-lang.org/t/twir-quote-of-the-week/328/1610) is quite thankful to himself for the suggestion!
314
424
315
425
[Please submit quotes and vote for next week!](https://users.rust-lang.org/t/twir-quote-of-the-week/328)
0 commit comments