Skip to content

octaltree/rustdoc-index

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rustdoc-index

crates.io docs.rs

A tool to quickly find the relevant item from rustdoc.

Installation

$ cargo install rustdoc-index $ rustup component add rust-docs

It requires Rust 1.53 that is now avaible on stable.

Usage

$ cargo listdoc
std::prelude	mod
std::prelude::v1	mod
std::prelude::rust_2015	mod
std::prelude::rust_2018	mod
std::prelude::rust_2021	mod
std::f32	mod
std::f32::consts	mod
std::f32::consts::PI	constant
std::f32::consts::TAU	constant
std::f32::consts::FRAC_PI_2	constant
...
$ cargo listdoc location "std::f32::consts::PI	constant"
file:///home/octaltree/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/share/doc/rust/html/std/f32/consts/constant.PI.html
cargo listdoc | fzf --bind 'ctrl-i:execute(cargo listdoc location {}| xargs firefox)'

Vim integration

denite source is available.

Installation

This is how to install using dein.

[[plugins]]
repo = 'octaltree/rustdoc-index'
build = 'make denite'

Usage

:Denite rustdoc-index

This is highly inspired by rhysd/rust-doc.vim. If you need the unite interface, please use that one.

About

A fast listing tool for rustdoc

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published