steveklabnik/rustdoc

Flag: crate name

オープン

#132 opened on 2017/08/10

 (2 件のコメント) (0 件のリアクション) (0 人の担当者) (22 件のフォーク)github user discovery
E-Mediumbackendhelp wantedquestion

Repository metrics

Stars
 (104 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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?

コントリビューターガイド