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?

贡献者指南