macOS
brew install cargo-docsetlocal Homebrew formula metadata
brew
Cargo subcommand to generate a Dash/Zeal docset for your Rust packages. Version 0.3.1 via Homebrew; verified from local package data.
install
brew install cargo-docsetlocal Homebrew formula metadata
nix profile install nixpkgs#cargo-docsetnixpkgs package indexes · pkgs/by-name/ca/cargo-docset/package.nix · source: api.github.com
overview
Cargo subcommand to generate a Dash/Zeal docset for your Rust packages
history
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.
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 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.
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.
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cargo-docset | cli | global executable |
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.
https://github.com/Robzz/cargo-docset
install metadata
| Package key | brew:cargo-docset |
|---|---|
| Version | 0.3.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/cargo-docset |
| Homepage | https://github.com/Robzz/cargo-docset |
| Repository | https://github.com/Robzz/cargo-docset |
| Upstream docs | https://github.com/Robzz/cargo-docset#readme |
| License | Apache-2.0 |
| Source archive | https://github.com/Robzz/cargo-docset/archive/refs/tags/v0.3.1.tar.gz |
| Build dependencies | rust |
| Uses from macOS | sqlite |
| Bottle | available (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-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cargo-docset |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
cargo-docset
nix profile install nixpkgs#cargo-docsetsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.