# cargo-docset を Homebrew, Nix でインストール

cargo-docset のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:cargo-docset
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install cargo-docset
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#cargo-docset
```

  証拠: nixpkgs package indexes: pkgs/by-name/ca/cargo-docset/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:cargo-docset
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/cargo-docset>
- **バージョン:** 0.3.1
- **ソース概要:** Cargo subcommand to generate a Dash/Zeal docset for your Rust packages
- **ホームページ:** <https://github.com/Robzz/cargo-docset>
- **リポジトリ:** <https://github.com/Robzz/cargo-docset>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://github.com/Robzz/cargo-docset/archive/refs/tags/v0.3.1.tar.gz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- cargo-docset (cli)
- cargo-docset (エイリアス)

## ビルド依存関係

- rust

## macOS 提供ライブラリ

- sqlite

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.3.1
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/Robzz/cargo-docset
- 検出された最新: v0.3.1 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

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.

### タイムライン

- 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.

### ソース

- <https://api.github.com/repos/Robzz/cargo-docset>
- <https://crates.io/api/v1/crates/cargo-docset>
- <https://github.com/Robzz/cargo-docset#readme>
- <https://raw.githubusercontent.com/Robzz/cargo-docset/master/README.md>
- input.source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

- **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:** head, stable

## 他のパッケージマネージャ記録

- Nix - cargo-docset: normalized package name match | 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-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Package publisher tools](https://pkg.so/ja/package-publishers/) - Belongs to a package publishing or registry command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [rust](https://pkg.so/ja/brew/rust/) - Build dependency declared by Homebrew.
- [tealdeer](https://pkg.so/ja/brew/tealdeer/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, rust.
- [cargo-binstall](https://pkg.so/ja/brew/cargo-binstall/) - Shares pkgdb curated category or tags: cargo, cli, developer-tools, rust.
- [cargo-c](https://pkg.so/ja/brew/cargo-c/) - Shares pkgdb curated category or tags: cargo, cli, developer-tools, rust.
- [cargo-nextest](https://pkg.so/ja/brew/cargo-nextest/) - Shares pkgdb curated category or tags: cargo, cli, developer-tools, rust.
- [mdbook](https://pkg.so/ja/brew/mdbook/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, rust.
- [cargo-edit](https://pkg.so/ja/brew/cargo-edit/) - Shares pkgdb curated category or tags: cargo, cli, developer-tools, rust.
- [cargo-update](https://pkg.so/ja/brew/cargo-update/) - Shares pkgdb curated category or tags: cargo, cli, developer-tools, rust.
- [cargo-llvm-cov](https://pkg.so/ja/brew/cargo-llvm-cov/) - Shares pkgdb curated category or tags: cargo, cli, developer-tools, rust.
- [cargo-instruments](https://pkg.so/ja/brew/cargo-instruments/) - Both packages touch the same language runtime or ecosystem. Shared terms: cargo, cli, developer, developer-tools, generate.
- [cargo-bloat](https://pkg.so/ja/brew/cargo-bloat/) - Both packages touch the same language runtime or ecosystem. Shared terms: cargo, cli, developer, developer-tools, rust.

## Combined YAML source

View the package source record on GitHub. [combined/cargo-docset.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cargo-docset.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
