doc.rust-lang.org
Cargo: Reject unused inherited default-features Summary • default-features = false is no longer allowed in an inherited workspace dependency if the workspace dependency specifies default-features = true (or does not specify default-features...
The Rust Edition Guide
Book
2024-01-01
~1 min read
doc.rust-lang.org
Rustdoc The following chapters detail changes to Rustdoc in the 2024 Edition.
The Rust Edition Guide
Book
2024-01-01
~1 min read
doc.rust-lang.org
Rustdoc combined tests Summary • Doctests are now combined into a single binary which should result in a significant performance improvement. Details Prior to the 2024 Edition, rustdoc's "test" mode would compile each code block in your doc...
The Rust Edition Guide
Book
2024-01-01
~3 min read
doc.rust-lang.org
Rustdoc nested include! change Summary When a doctest is included with include_str!, if that doctest itself also uses include!, include_str!, or include_bytes!, the path is resolved relative to the Markdown file, rather than to the Rust sou...
The Rust Edition Guide
Book
2024-01-01
~1 min read
doc.rust-lang.org
Rustfmt The following chapters detail changes to Rustfmt in the 2024 Edition.
The Rust Edition Guide
Book
2024-01-01
~1 min read
doc.rust-lang.org
Rustfmt: Style edition Summary User can now control which style edition to use with rustfmt. Details The default formatting produced by Rustfmt is governed by the rules in the Rust Style Guide. Additionally, Rustfmt has a formatting stabili...
The Rust Edition Guide
Book
2024-01-01
~2 min read
doc.rust-lang.org
Rustfmt: Formatting fixes Summary • Fixes to various formatting scenarios. Details The 2024 style edition introduces several fixes to various formatting scenarios. Don't align unrelated trailing comments after items or at the end of blocks...
The Rust Edition Guide
Book
2024-01-01
~7 min read
doc.rust-lang.org
Rustfmt: Raw identifier sorting Summary rustfmt now properly sorts raw identifiers. Details The Rust Style Guide includes rules for sorting that rustfmt applies in various contexts, such as on imports. Prior to the 2024 Edition, when sortin...
The Rust Edition Guide
Book
2024-01-01
~1 min read
doc.rust-lang.org
Rustfmt: Version sorting Summary rustfmt utilizes a new sorting algorithm. Details The Rust Style Guide includes rules for sorting that rustfmt applies in various contexts, such as on imports. Previous versions of the Style Guide and Rustfm...
The Rust Edition Guide
Book
2024-01-01
~1 min read