Rustacean Station

What's New in Rust 1.74 and 1.75

Mittwoch, 9. Oktober 2024 · 1 h 24

MP3

Shownotes

Jon and Ben discuss the highlights of the 1.74 and 1.75 releases of Rust.

This episode was recorded as part of a YouTube live stream on
2024-05-18, which you can still
watch (youtube.com/live/VpSXTJXX1YA?t=7037s).

Contributing to Rustacean Station

Rustacean Station is a community project; get in touch with us if you’d like to suggest an idea for an episode or offer your services as a host or audio editor!

• Twitter: @rustaceanfm (twitter.com/rustaceanfm)

• Discord: Rustacean Station (discord.gg/cHc3Gyc)

• Github: @rustacean-station (github.com/rustacean-station)

• Email: hello@rustacean-station.org

Timestamps & referenced resources

[@00:13] - Rust 1.74 (blog.rust-lang.org/2023/11/16/Rust-1.74.0.html)

• [@00:21] - Lint configuration through Cargo (blog.rust-lang.org/2023/11/16/Rust-1.74.0.html…)

• [@07:42] - Cargo registry authentication (blog.rust-lang.org/2023/11/16/Rust-1.74.0.html…)

• Cargo documentation (doc.rust-lang.org/beta/cargo/reference/registr…)

• [@11:02] - Projections into opaque return types (blog.rust-lang.org/2023/11/16/Rust-1.74.0.html…)

• [@14:23] - Stabilized APIs (blog.rust-lang.org/2023/11/16/Rust-1.74.0.html…)

• [@14:23] - io::Error::other (doc.rust-lang.org/stable/std/io/struct.Error.h…)

• [@15:38] - Saturating wrapper type (doc.rust-lang.org/stable/std/num/struct.Satura…)

• [@18:43] - const transmute_copy (doc.rust-lang.org/stable/std/mem/fn.transmute_…)

• [@18:03] - Compatibility notes (blog.rust-lang.org/2023/11/16/Rust-1.74.0.html…)

• [@20:51] - Changelog deep-dive

• [@20:51] - --keep-going (github.com/rust-lang/cargo/pull/12568)

• [@22:42] - Cargo -p partial versions (github.com/rust-lang/cargo/pull/12614)

• [@24:21] - Warning boxes in rustdoc (github.com/rust-lang/rust/pull/106561)

• [@26:02] - Generic parameters in rustdoc search (github.com/rust-lang/rust/pull/112725)

• [@29:08] - impl Step for Ipv4 (github.com/rust-lang/rust/pull/113748)

• [@31:33] - private_in_public lint (github.com/rust-lang/rust/pull/113126)

• RFC 2145 (rust-lang.github.io/rfcs/2145-type-privacy.html)

• [@36:02] - New Cargo lockfile recommendation (doc.rust-lang.org/nightly/cargo/guide/cargo-to…)

• Rationale (doc.rust-lang.org/nightly/cargo/faq.html#why-h…)

[@37:34] - Rust 1.74.1 (blog.rust-lang.org/2023/12/07/Rust-1.74.1.html)

No super interesting changes.

But, check in on PR filed during stream (github.com/rust-lang/rust/pull/125251).

[@41:56] - Rust 1.75 (blog.rust-lang.org/2023/12/28/Rust-1.75.0.html)

• [@41:56] - async fn and -> impl Trait in traits (blog.rust-lang.org/2023/12/28/Rust-1.75.0.html…)

• Blog announcing what’s actually stabilizing (blog.rust-lang.org/2023/12/21/async-fn-rpit-in…)

• Jon’s impl Trait talk (youtube.com/watch?v=CWiz_RtA1Hw)

• [@55:34] - Pointer byte offset APIs (blog.rust-lang.org/2023/12/28/Rust-1.75.0.html…)

• [@58:22] - Code layout optimizations for rustc (blog.rust-lang.org/2023/12/28/Rust-1.75.0.html…)

• BOLT (github.com/llvm/llvm-project/blob/main/bolt/RE…)

• [@1:04:34] - Stabilized APIs (blog.rust-lang.org/2023/12/28/Rust-1.75.0.html…)

• [@1:04:34] - Atomic*::from_ptr (doc.rust-lang.org/stable/core/sync/atomic/stru…)

• [@1:06:42] - OS-independent file times (doc.rust-lang.org/stable/std/fs/struct.FileTim…)

• [@1:07:46] - Option::as_slice (doc.rust-lang.org/stable/core/option/enum.Opti…)

• Long reddit comment (reddit.com/r/rust/comments/18sxw4d/comment/kfa…)

• [@1:09:59] - Changelog deep-dive

• [@1:09:59] - impl BufRead for VecDeque<u8> (github.com/rust-lang/rust/pull/110604)

• [@1:12:40] - Workspace-aware cargo new (github.com/rust-lang/cargo/pull/12779)

• [@1:13:20] - matching with exhaustive integer ranges (github.com/rust-lang/rust/pull/116692)

• [@1:14:52] - Cross-crate auto-inlining for small fns (github.com/rust-lang/rust/pull/116505)

• [@1:18:31] - Cargo output hyperlinking (github.com/rust-lang/cargo/pull/12889)

[@1:22:00] - Mid-stream PR check-in

Another PR check-in and tracking in homu rustc build queue (bors.rust-lang.org/queue/rust).

Credits

Intro Theme: twitter.com/AerocityMusic

Audio Editing: twitter.com/AerocityMusic

Hosting Infrastructure: Jon Gjengset (twitter.com/jonhoo)

Show Notes: Jon Gjengset (twitter.com/jonhoo)

Hosts: Jon Gjengset and Ben Striegel

0:00 / 0:00