1 个不稳定版本
使用旧的 Rust 2015
| 0.1.0 | 2016 年 8 月 16 日 | 
|---|
在 Cargo 插件 中排名第 497
8KB
97 行
cargo-kythe
cargo-kythe 是一个用于管理 cargo 项目的 Kythe 索引的 cargo 子命令。
安装
要安装 cargo-kythe,只需输入以下命令
cargo install cargo-kythe
cargo-kythe 需要 nightly rust
用法
cargo-kythe 读取环境变量 KYTHE_DIR 以确定 kythe 本地安装的路径。你可能需要从 google/kythe 下载它
要索引顶级包
cargo kythe index
要索引包及其所有依赖项
cargo kythe full-index
要启动用于查看交叉引用的示例 Web UI
cargo kythe web
索引在 target/kythe 目录中构建。