#cargo-subcommand #subcommand #cargo #index #kythe

app cargo-kythe

A cargo subcommand for generating and viewing Kythe graphs of cargo projects

1 unstable release

Uses old Rust 2015

0.1.0 Aug 16, 2016

#554 in Cargo plugins

Apache-2.0

8KB
97 lines

cargo-kythe

cargo-kythe is a cargo subcommand for managing Kythe indices of cargo projects.

Installation

To install cargo-kythe simply enter the following command:

cargo install cargo-kythe

cargo-kythe requires nightly rust

Usage

cargo-kythe reads an environment variable KYTHE_DIR to determine the path to the local installation of kythe. You will probably need to download it from google/kythe

To index the top level package:

cargo kythe index

To index the package and all its dependencies:

cargo kythe full-index

To launch the sample web UI for viewing cross-references:

cargo kythe web

Indices are constructed in the target/kythe directory.

No runtime deps