Over the next few months, we’re making a big push to release a v1.0 for Rustfmt. It would be really useful if you could help by using Rustfmt and reporting any errors you find. I’m particularly interested in crashes, and errors where correct code is broken by re-formatting. If you find problems, please report them at https://github.com/rust-lang-nursery/rustfmt/issues
Using Rustfmt is super-easy! To install:
cargo install rustfmt, and to use it on your project:
Rustfmt will create backups of any file it changes, so you shouldn’t lose work. But, since this is beta software, please use version control or keep your own backups too.
The 1.0 will not set the formatting styles or defaults for all time. There will be more options and improvements in the future, and a process (probably using RFCs) for setting the default styles, probably in conjunction with a detailed style guide.
The 1.0 release will offer stability guarantees about styling options and intends to be a milestone in terms of usability and stability.