cargo add
does not maintain sort order of dependencies table
#11744
Labels
cargo add
does not maintain sort order of dependencies table
#11744
Problem
Adding a new dependency to the
[dependencies]
table withcargo add
does not maintain sort order.Steps
cargo new xxx cd xxx cargo new --lib scolapasta-path cargo new --lib scolapasta-string-escape
Then use this
Cargo.toml
:Then:
cargo add directories
and observe this diff:Possible Solution(s)
No response
Notes
This ticket was created at the suggestion of @weihanglo and @epage from #11743.
Version
The text was updated successfully, but these errors were encountered: