1. Beautifying a Rust Cargo.toml File
Rust DeveloperBackground
A developer has a messy Cargo.toml file with inconsistent spacing, mixed indentation, and unaligned keys.
Problem
The configuration file is hard to read and maintain during code reviews.
How to use
Paste the messy Cargo.toml content into the TOML Input field, set the Mode to Beautify, set Indent Size to 2, and run the formatter.
Mode: Beautify, Indent Size: 2Outcome
The TOML is cleanly formatted with consistent indentation, making it easy to read, though comments are removed.