title: Is there any way to rename a Cargo project?
body: <p>I created a project using: <code>cargo new projectname --bin</code>.
  How do I change <code>projectname</code> to some other name?</p>
  
  <p>I checked the <a href="http://manpages.ubuntu.com/manpages/yakkety/man1/cargo.1.html#contenttoc2" rel="noreferrer">man page</a> and the <a href="http://doc.crates.io/guide.html" rel="noreferrer">Cargo documentation</a>. I also ran:</p>
  
  <ul>
  <li><code>cargo help</code></li>
  <li><code>cargo --list</code></li>
  <li><code>man cargo</code></li>
  </ul>
  
  <p>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.</p>
  
  <p>What would be the best way to do this?</p>