rustdoc icon indicating copy to clipboard operation
rustdoc copied to clipboard

Flag: crate name

Open steveklabnik opened this issue 7 years ago • 2 comments

This issue is part of https://github.com/steveklabnik/rustdoc/issues/125

--crate-name: controlling the name of the crate

Using this flag looks like this:

$ rustdoc src/lib.rs --crate-name mycrate

By default, rustodc assumes that the name of your crate is the same name as the .rs file. --crate-name lets you override this assumption with whatever name you choose.


Should we keep this flag or not?

steveklabnik avatar Aug 10 '17 17:08 steveklabnik

This seems important to keep, and I believe we even use something like it in the code already?

steveklabnik avatar Aug 10 '17 17:08 steveklabnik

cc #155

euclio avatar Aug 15 '17 15:08 euclio