steveklabnik/rustdoc

Flag: crate name

Ouverte

#132 ouverte le 10 août 2017

 (2 commentaires) (0 réaction) (0 personne assignée) (22 forks)github user discovery
E-Mediumbackendhelp wantedquestion

Métriques du dépôt

Stars
 (104 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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?

Guide contributeur