News for hackers. Stuff that matters.
Re:Rust 1.56.0 and Rust 2021 by yakubin on Thursday October 21, 2021 @12:34PM (#28947008)
I'm eagerly awaiting the Cargo feature "named profiles"[1]. It's already merged, but not yet announced to be planned for any specific Cargo version. It will allow users to create custom profiles with different build parameters from the standard ones, so you can e.g. create a "profiling" profile which is based on the "release" profile, so that it has all the nice optimizations, but with debug information included, so that it works well with cargo-flamegraph:

  [profile.profiling]
  inherits = "release"
  debug = true
[1]: <https://github.com/rust-lang/cargo/pull/9943>

And then there's the less fireworky, but still appreciated, Iterator::map_while[2], which is going to be in Rust 1.57.

[2]: <https://github.com/rust-lang/rust/pull/89086>

Re:Rust 1.56.0 and Rust 2021 by steveklabnik on Thursday October 21, 2021 @12:39PM (#28947100)
Unless something is special about this feature, new features generally aren't "planned" for specific versions in general. Since this landed two weeks ago, that means that it should land in the beta version of Cargo once that branches for this release (I didn't check if it has yet or not), which would place it to be stable in the next release of Rust, 1.57.0.
Re:Rust 1.56.0 and Rust 2021 by lfairy on Monday November 01, 2021 @01:41AM (#29063352)
BTW, this article explains how Rust releases work:

https://doc.rust-lang.org/book/appendix-07-nightly-rust.html

It's a release train, similar to that used by Chromium and Firefox.

Edition releases (e.g. Rust 2021) are reserved for breaking changes only, and to retain Rust's stability promise, are opt-in.

Re:Rust 1.56.0 and Rust 2021 by yakubin on Thursday October 21, 2021 @12:46PM (#28947233)
Thanks for the clarification. I just went by what's specified in the sidebar on GitHub in the "Milestone" section.
Re:Rust 1.56.0 and Rust 2021 by steveklabnik on Thursday October 21, 2021 @12:53PM (#28947357)
Any time. Cargo doesn't use the Milestone feature of GitHub at all, so that's why that's empty :)