-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Renaming Validation and Underscores/Hyphens #6138
Comments
I think this is a duplicate of #51795. |
@ehuss Yup, thanks-- closing as dup of rust-lang/rust#51795 |
Actually-- that issue is filed against rust-lang/rust-- maybe we should keep this one open, since it's actually an issue against cargo? |
Yea, keeping this open is fine. I can take a look to see how difficult it would be to fix. |
bors
added a commit
that referenced
this issue
Oct 5, 2018
Fix dashes in rename dependencies. Fixes #6138
Thanks so much for the quick turnaround! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently with the "rename-dependency" feature it's possible to have something like
futures-01 = { version = "0.1", optional = true, package = "futures" }
. However, this will cause a--extern futures-01=...
flag to rustc, which results in an unusable crate name offutures-01
, rather than the usablefutures_01
. I think there should either be a warning/error on invalid renamings, possibly with an additional conversion of renamed-names from hyphens to underscores (as is normally done with the package name specified in Cargo.toml).The text was updated successfully, but these errors were encountered: