Crates.io | docrs |
lib.rs | docrs |
version | 0.1.0 |
source | src |
created_at | 2024-04-07 23:58:44.837907 |
updated_at | 2024-04-07 23:58:44.837907 |
description | A command line utility for opening rust crate documentation on https://docs.rs using your default web browser. |
homepage | |
repository | https://github.com/sqrtrae/docrs |
max_upload_size | |
id | 1199622 |
size | 23,931 |
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.
docrs
can be installed via cargo:
cargo install docrs
The MSRV is currently 1.74.0
.
Simply type in docrs
followed by a crate to open that crates documentation in your default web browser. Example using clap
:
docrs clap