steveklabnik/rustdoc

Flag: crate name

開放

#132 建立於 2017年8月10日

 (2 則留言) (0 個反應) (0 位負責人) (22 個分叉)github user discovery
E-Mediumbackendhelp wantedquestion

倉庫指標

星標
 (104 顆星)
PR 合併指標
 (30 天內沒有已合併 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?

貢獻者指南