TimonPost / cargo-dependency-inheritor

Utility to inherit dependencies from workspace file if it occurs 'n' or more times throughout the project.
Apache License 2.0
30 stars 1 forks source link

Path dependencies shouldn't specify a version #14

Open Xaeroxe opened 1 year ago

Xaeroxe commented 1 year ago

Currently dependencies with a path attribute are also specifying a version when auto generated, i.e. version = "*". It's better to omit this, the only restriction it adds is that it prevents you from using pre-release versions of a crate that you have vendored in. This can result in the path attribute being ignored, leading to some very confusing builds.

MarijnS95 commented 1 year ago

Kinda fixed in #15, but there's still a lot more work to be done ("not worth it" for a one-off tool...).