Jon and Ben discuss the highlights of the 1.56 and 1.57 releases of Rust.
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: @rustaceanfmDiscord: Rustacean StationGithub: @rustacean-stationTimestamps & referenced resources
[@01:14] - Rust 2021 edition
[@01:16] - What is an edition?[@05:03] - Disjoint captures in closuresNiko’s “view types” proposal[@09:00] - IntoIterator for arrays[@11:12] - Or patterns in macro_rules[@13:31] - New default Cargo feature resolverDetails on the new resolver[@15:16] - Additions to the preludestd::preludeFromIterator[@19:38] - Panic macro consistency and new reserved syntax[@20:33] - Implicit formatting captures (more on Reddit)[@25:00] - Reserved syntax for “f-strings”[@27:54] - Why panic! had to change[@28:55] - Other uses for reserved syntax[@30:15] - Warnings promoted to errorsFuture incompatibility warnings[@35:23] - cargo fix[@36:20] - Rust 1.56
[@36:30] - Cargo.toml rust-versionCargo book entry[@42:54] - New bindings in binding @ pattern[@44:27] - Stabilized APIs[@49:27] - Changelog deep-dive[@49:27] - impl From<[(K, V), N]> for collectionsRFC for adding collection literal macros[@53:07] - Remove P: Unpin bound on impl Future for Pin[@55:16] - Instant backsliding protection optimizationMay end up being removed![@58:01] - LLVM 13 upgradeLLVM’s new pass manager[@59:23] - Have Cargo set environment variables[@1:00:17] - Rust 1.56.1Security advisoryThe “Trojan Source” vulnerabilityRust RFC on non-ASCII identifiers[@1:04:52] - Rust 1.57
[@1:05:20] - Panic in const contexts[@1:07:20] - Custom Cargo profilesCargo book on profiles[@1:08:45] - Fallible allocationFallible collection allocation RFCLinux Torvals on handling allocation failuresRust features still needed by the Linux kernel[@1:12:33] - Stabilized APIs[@1:16:45] - Changelog deep-dive[@1:16:50] - Vec::leak no longer allocates[@1:18:03] - Nintendo 3DS added as Tier 3 platform[@1:19:03] - Cargo no longer passes through RUSTFLAGSEnvironment variables set by Cargo[@1:20:13] - Lots more #[must_use] in std[@1:22:00] - File::read_to_* optimized[@1:23:24] - Curly braces macros accept following . and ?[@1:25:22] - Banter – Rust all the way down.Credits
Hosting Infrastructure: Jon Gjengset
Hosts: Jon Gjengset and Ben Striegel
Transcript: Eric Seppanen