steveklabnik/rustdoc

Flag: crate name

Offen

#132 geöffnet am 10.08.2017

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen) (22 Forks)github user discovery
E-Mediumbackendhelp wantedquestion

Repository-Metriken

Stars
 (104 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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?

Contributor Guide