I created a project using: cargo new projectname --bin
.
How do I change projectname
to some other name?
I checked the man page and the Cargo documentation. I also ran:
cargo help
cargo --list
man cargo
In the metadata files (Cargo.toml, Cargo.lock, ...), there is "name" and "path". I suppose I could change them manually, but I don't know if that would break anything.
What would be the best way to do this?