Cargo doesn't warn about hyphenated crate names, although it means that you'll need to: extern crate foo = "foo-bar" Rather than: extern crate foo-bar Following along with the guide this threw me for a minute.