You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In rust project, sometimes want add new crate, Without constraints, there will be problems that many developers fill in casually. Does this project provide the function of sorting the name of crate. E.g:
➜ ~
➜ ~ cargo sort [OPTIONS]
The text was updated successfully, but these errors were encountered:
cargo add will preserve existing sorting but manual edits could mess that up.
When I removed the --sort flag from cargo add, I had done so with the idea that a manifest formatting command could exist. In addition to sorting, it could adjust whitespace, table ordering, field ordering, etc.
Whether that belongs in cargo fmt or in a separate command, I am unsure. The conversation on that could be different both short-term and long-term.
In rust project, sometimes want add new crate, Without constraints, there will be problems that many developers fill in casually. Does this project provide the function of sorting the name of crate. E.g:
The text was updated successfully, but these errors were encountered: