Crates.io | cargo-renamepkg |
lib.rs | cargo-renamepkg |
version | 1.1.0 |
source | src |
created_at | 2020-09-22 05:20:41.600507 |
updated_at | 2020-09-25 07:52:18.530622 |
description | A simple utility to help you rename a package. |
homepage | https://github.com/ProgramSalamander/cargo-renamepkg |
repository | https://github.com/ProgramSalamander/cargo-renamepkg |
max_upload_size | |
id | 291406 |
size | 13,581 |
This is a simple utility to help you rename a cargo package when you may create a package with an unexpected name or just want to change its name.
Suppose that you wanted to do this:
cargo new my_project
But actually you did this:
cargo new my_projcet
When facing such an embarrassing situation, just use this utility:
cargo renamepkg my_projcet my_project
And cargo renamepkg
does two things for you:
Cargo.toml
cargo renamepkg <TARGET_PATH> <NEW_NAME>
cargo install cargo-renamepkg
Any questions/advices/contributions are welcomed!