kythe-indexer

Crates.iokythe-indexer
lib.rskythe-indexer
version0.1.0
sourcesrc
created_at2016-08-16 23:38:20.111029
updated_at2016-08-16 23:38:20.111029
descriptionA plugin for generating knowledge graphs of Rust code
homepage
repositoryhttps://github.com/google/kythe
max_upload_size
id5997
size42,767
(zrlk)

documentation

README

kythe-indexer

kythe-indexer is an EXPERIMENTAL plugin for rustc that utilizes Google's (Kythe)[https://kythe.io] pipeline for working with source code.

kythe-indexer currently supports:

  • cross-references
  • call graphs

NOTE: AS A PLUGIN kythe-indexer REQUIRES NIGHTLY RUST

Usage

There are many ways to load the kythe-indexer plugin, but the least obtrusive is as a command line flag like so:

$ rustc -Zextra-plugins=kythe_indexer

If you are using a build tool rather than the rustc command directly:

$ RUST_FLAGS="-Zextra-plugins=kythe_indexer" {my_build_cmd}

The plugin will output kythe entries in JSON form to stdout.

Commit count: 5227

cargo fmt