- create rustfmt-nightly.toml to configure Rust formatting - set import grouping and granularity preferences - define max width and doc comment formatting rules