rust-search-extension/README.md
2020-08-25 17:58:36 +08:00

3 KiB

Rust Search Extension

The ultimate search extension for Rust

Chrome Web Store Mozilla Add-on Microsoft Edge rust-doc license-mit license-apache Discord

Search docs, crates, builtin attributes, official books, and error codes, etc in your address bar instantly.

https://rust.extension.sh/

Installation

Features

  • Search Primitive Types and Modules
  • Search Structs, Traits and Enums
  • Search Functions, Methods and Macros
  • Search builtin attributes
  • Search crates on https://crates.io or https://lib.rs
  • Search crate's docs on docs.rs
  • Search Compiler Error Index with error codes
  • Search Rust official book chapters
  • Search Cargo Clippy lints
  • Offline mode, search local Rust docs (rustup docs --std)
  • Builtin commands (:yet, :book, :stable, :book, :label, :tool, :mirror and :history etc)
  • Docs.rs enhancements (display Feature flags)

How to use it

Input keyword rs in the address bar, press Space to activate the search bar. Then enter any word you want to search, the extension will response the related search results instantly.

demonstration.gif

Diagram

diagram

Contribution

$ git clone --recursive https://github.com/huhu/rust-search-extension
Cloning into 'rust-search-extension'...
$ cd rust-search-extension

$ make chrome # For Chrome version

$ make firefox # For Firefox version

$ make edge # For Edge version

Get involved

Miscellaneous

Thanks

Thanks for the sponsorship from these great companies.