cargo add
should check [dependencies]
and [dependencies.*]
sections separately when determining whether it was sorted
#11584
Labels
Problem
Here is an example
Cargo.toml
, I will omit thepackage
section from now onWhen I run
cargo add libc
, I getinstead of
since
cfg-if
goes afterserde
andcargo add
thinks the dependencies are unsortedSteps
No response
Possible Solution(s)
check the sorting of the
[dependencies]
section and the[dependencies.*]
sections separately, the same applies for build and dev dependenciesNotes
No response
Version
The text was updated successfully, but these errors were encountered: