-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
Hi π
I am developing Tombi, a TOML Language Server.
Tombi features automatic sorting based on JSON Schema and rigorously auto-sorts Cargo.toml files.
There are several ways to specify the automatic sorting order in Tombi.
One method is to automatically sort based on the order of properties defined in the JSON Schema.
For elements like [package] and [workspace], the JSON Schema order is adjusted to follow the sequence defined in Cargo's documentation.
However, the current Cargo [dependencies] documentation does not have the element list.
If Cargo's documentation also lists the order for [dependencies], it would lend credibility to Tombi's automatic sorting sequence.
Cargo documentation isn't written with automatic sorting in mind, but I think it's a source that explains what the official appearance should be.
I'd like to submit a PR to update the documentation, but I want to know what the cargo maintainers think.