# Installer cargo-docset avec Homebrew, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de cargo-docset pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

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

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## Faits du paquet

- **Clé du paquet:** brew:cargo-docset
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/cargo-docset>
- **Version:** 0.3.1
- **Résumé source:** Cargo subcommand to generate a Dash/Zeal docset for your Rust packages
- **Page d'accueil:** <https://github.com/Robzz/cargo-docset>
- **Dépôt:** <https://github.com/Robzz/cargo-docset>
- **Licence:** Apache-2.0
- **Archive source:** <https://github.com/Robzz/cargo-docset/archive/refs/tags/v0.3.1.tar.gz>
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- cargo-docset (cli)
- cargo-docset (alias)

## Dépendances de compilation

- rust

## Bibliothèques fournies par macOS

- sqlite

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 0.3.1
- données locales: OK
- dépôt amont: https://github.com/Robzz/cargo-docset
- dernière version détectée: v0.3.1 (à jour)
- info: No package-manager update timestamp was available.
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

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


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Détails de la base source

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

## Autres enregistrements de gestionnaires de paquets

- 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


## Liens liés

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


## Sources

- 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
