Crates.io | rustdoc-index |
lib.rs | rustdoc-index |
version | 0.7.1 |
source | src |
created_at | 2021-03-31 14:05:01.371751 |
updated_at | 2022-07-05 14:07:54.692684 |
description | A fast listing tool for rustdoc |
homepage | |
repository | https://github.com/octaltree/rustdoc-index |
max_upload_size | |
id | 376162 |
size | 49,113 |
A tool to quickly find the relevant item from rustdoc.
$ cargo install rustdoc-index $ rustup component add rust-docs
It requires Rust 1.53 that is now avaible on stable.
$ 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)'
denite source is available.
This is how to install using dein.
[[plugins]]
repo = 'octaltree/rustdoc-index'
build = 'make denite'
:Denite rustdoc-index
This is highly inspired by rhysd/rust-doc.vim. If you need the unite interface, please use that one.