- Do people use auto formatter for Cargo.toml?
- Any good formatter that do not make toml less readable?
- Any toml formatter that preserve comments?
Searched on crates.io, one way is to call
which generates less readable toml like this
[dependencies.serde] workspace = true [dependencies.serde_json] workspace = true
While I prefer to
[dependencies] serde.workspace = true serde_json.workspace = true