I think it would be nice to have the ability to rename a crate on the
We could have it done in the following way:
- Add a button to rename a crate.
- Perform the rename: make the crate be accessible by both new and old names but the old name will stay alive for only a month.
- Every time someone builds their app with this crate as a dependency, they will get a message from
cargothat this crate is being renamed (or even perform this rename automatically?) and will not be accessible since
dd.MM.YYYY hh:mm:ss TIMEZONE.
- After a month since rename, this crate will only be accessible by its new name and the old one could be used by others.
Doing this will lead to transparently named crates, the names of which will give you an idea of what the crate is doing immediately.
As a side option, we could also implement a button for “rename request” which could be used by one crate developers to ask others about renaming their crate. However, we must ensure nobody will abuse the service and the crate owner that way.