]> git.proxmox.com Git - cargo.git/commit
Auto merge of #1540 - lfairy:strip-affixes, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 27 Apr 2015 16:55:30 +0000 (16:55 +0000)
committerbors <bors@rust-lang.org>
Mon, 27 Apr 2015 16:55:30 +0000 (16:55 +0000)
commite3a642559d25e4f3df494894bd03400924ee33ea
treea04be5ff1b744164373312ab3d2e97f91f6f4913
parentb119f7eae89540dbdcf02c8734c61bcdab448915
parent6ca912d6948953ad49f9bce0952f28d8106a50fa
Auto merge of #1540 - lfairy:strip-affixes, r=alexcrichton

If the user invokes `cargo new` with a name of the form `rust-foo` or `foo-rs` (or any variation of the two), and the `--bin` option is *not* present, then the resulting `Cargo.toml` will have a `name` field of just `foo` instead.

Closes #1532