News for hackers. Stuff that matters.
Re:Announcing Rust 1.85.0 and Rust 2024 by the__alchemist on Friday February 21, 2025 @03:21PM (#43132467)
Hi! Does anyone know why I still, after updating `rustup` and the `edition` in `Cargo.toml`, need to run `cargo +nightly fmt `? I have a `rustfmt.toml` that contains this:

  imports_granularity = "Crate"
  group_imports = "StdExternalCrate"
I assumed those would be in, as they've been nightly features for years, and we just got a new edition.
Re:Announcing Rust 1.85.0 and Rust 2024 by steveklabnik on Friday February 21, 2025 @03:44PM (#43132747)
> I assumed those would be in,

A new edition doesn't mean features are automatically stabilized.

I agree with these two specifically, it would be great to have them in stable. They're not yet though: https://github.com/rust-lang/rustfmt/issues/5083

Re:Announcing Rust 1.85.0 and Rust 2024 by the__alchemist on Friday February 21, 2025 @03:46PM (#43132758)
Thank you for the explanation!
Re:Announcing Rust 1.85.0 and Rust 2024 by steveklabnik on Friday February 21, 2025 @03:48PM (#43132783)
No problem. I have to use nightly for this reason too, haha.