Cargo fmt formatting toml file?

Does cargo fmt format toml files?
If not what could do it?
Mysteriously toml files are formatted by something.
I use vscode.
Any idea what could it be if not cargo fmt?

Do you have the vscode toml plugin with format-on-save feature enabled?

2 Likes

I use the Even Better TOML vscode extension, it works very well.