Closed as not planned
Closed as not planned
Description
I recently undusted a old crate of mine and published it to crates.io.
Through I made the mistake to forgot to rename "checked_command" to "checked-command"...
There is currently no good way to "fix" this as it is neither possible to publish it with the correct name ("-" instead of "_") nor can it be renamed. This makes sense to a certain degree, as renaming it would brake
dependencies.
I think it would be good if:
- cargo+crates.io treat "-" and "_" as the same character in all places, including the dependencies field
- if 1. is implemented renaming "-" to "_" can be added
This can also be helpful for some old crates published when using "-" wasn't the way to go.
It would also make it slightly nicer for new users as they can place the same name
in the [dependencies]
section they use with extern crate
.