Use https://github.com/tamasfe/taplo to auto-format TOML files. Add a config file to force reordering of dependencies in Cargo.toml files. Run taplo in CI to check formatting.