Automic VaultAutomic Vault

brew

Install cargo-docset with Homebrew, Nix

Cargo subcommand to generate a Dash/Zeal docset for your Rust packages. Version 0.3.1 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install cargo-docset

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#cargo-docset

nixpkgs package indexes · pkgs/by-name/ca/cargo-docset/package.nix · source: api.github.com

overview

Package summary

Cargo subcommand to generate a Dash/Zeal docset for your Rust packages

Commands and aliases

  • cargo-docset

history

Project history and usage

cargo-docset is a Cargo subcommand that converts rustdoc output for a crate or workspace into a Dash- and Zeal-compatible docset. It serves developers who want offline, indexed Rust API documentation inside docset browsers.

Project history

The GitHub repository was created in August 2019, and the crate was published on crates.io the same month. The README defines the tool around generating Dash/Zeal docsets for Rust packages and their dependencies.

Rather than parsing Rust items directly, cargo-docset runs Cargo to generate documentation, walks the generated documentation directory, and fills a SQLite database in the docset format. That implementation choice keeps the project small and aligned with rustdoc output.

Adoption history

Adoption appears specialized: the supplied package-manager facts list Homebrew and Nix packages, and crates.io shows modest lifetime downloads. It fits a narrower offline-documentation workflow than general Cargo dependency or build tooling.

How it is used

Users run `cargo docset` in a crate directory. By default the generated docset is placed in `target/docset`, then copied into the Dash or Zeal docset directory.

The command supports many `cargo doc`-style options, including feature flags, package selection, target selection, workspace generation, and private item documentation.

Why package nerds care

cargo-docset is interesting because it bridges Rust's native rustdoc output with the older Dash/Zeal docset ecosystem. It shows how package metadata, generated HTML, and SQLite indexes can be stitched together without inventing a new documentation browser.

For maintainers who work offline or across many local crates, it packages a workspace's documentation into a format that external developer tools already understand.

Timeline

  • 2019: Robzz/cargo-docset GitHub repository created.
  • 2019: cargo-docset crate first published on crates.io.
  • 2022: crates.io metadata shows the 0.3.1 release as the current line.

Related projects

  • rustdoc and `cargo doc` generate the HTML documentation that cargo-docset packages.
  • Dash and Zeal are the docset browsers targeted by the generated output.
  • SQLite is used by the Dash docset format for indexing.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 12 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
cargo-docsetcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.3.1
manager updated
local dataok
upstreamcurrent
latest detectedv0.3.1

https://github.com/Robzz/cargo-docset

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:cargo-docset
Version0.3.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/cargo-docset
Homepagehttps://github.com/Robzz/cargo-docset
Repositoryhttps://github.com/Robzz/cargo-docset
Upstream docshttps://github.com/Robzz/cargo-docset#readme
LicenseApache-2.0
Source archivehttps://github.com/Robzz/cargo-docset/archive/refs/tags/v0.3.1.tar.gz
Build dependenciesrust
Uses from macOSsqlite
Bottleavailable (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecargo-docset
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

cargo-docset

nix profile install nixpkgs#cargo-docset
  • normalized package name match
  • Matched by: Cargo Docset
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ca/cargo-docset/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment