#documentation #command-line-tool #browser #opening #default #utility #web

app docrs

A command line utility for opening rust crate documentation on https://docs.rs using your default web browser

1 unstable release

0.1.0 Apr 7, 2024

#761 in Command line utilities

Download history 125/week @ 2024-04-04 19/week @ 2024-04-11

144 downloads per month

MIT license

8KB

docrs

A command line utility for opening rust crate documentation on https://docs.rs using your default web browser. Currently only supports opening the latest version of a crate.

This utility is intentionally simple and lacking in features, as my main motivation for creating it was to have a simple crate I could use to learn the steps of uploading a crate to https://crates.io.

Installation

docrs can be installed via cargo:

cargo install docrs

The MSRV is currently 1.74.0.

Usage

Simply type in docrs followed by a crate to open that crates documentation in your default web browser. Example using clap:

docrs clap

Dependencies

~5–16MB
~217K SLoC