Open chanced opened 1 year ago
To expand on this, one issue seems to be that the value of package
is not being considered.
crates warns that this should be 0.13.2
, which is the most recently published version of the random
crate, not rand
:
[dependencies.random]
package = "rand"
version = "0.8"
Describe the bug When using an object notation
[dependencies.example]
with an aliased crate name, an error is displayed indicating that the version is not correct. If the condensed format is used, this works perfectly fine.For example, this reports as having an invalid version:
while this works fine:
To Reproduce Steps to reproduce the behavior:
Expected behavior The format of the dependencies list should not matter when dealing with aliased dependencies.
Screenshots
Desktop (please complete the following information):