Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reimplement what cargo does to detect bad renames #424

Open
sayrer opened this issue Jul 5, 2021 · 0 comments
Open

Reimplement what cargo does to detect bad renames #424

sayrer opened this issue Jul 5, 2021 · 0 comments

Comments

@sayrer
Copy link
Contributor

sayrer commented Jul 5, 2021

As surfaced in #282.

The problem manifests from this:

[dependencies]
bytes_new = { version = "0.3.0", package = "bytes" }
bytes_old = { version = "0.3.0", package = "bytes" }

Strictly this is an error. Right now cargo metadata will basically lose both bytes deps
from the resolve graph, but a cargo build will scream about having the same basic
package with multiple names.

Currently there is no good solution using metadata.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant