macOS
brew install cargo-docsetlocal Homebrew formula metadata
安装
brew install cargo-docsetlocal Homebrew formula metadata
nix profile install nixpkgs#cargo-docsetnixpkgs package indexes · pkgs/by-name/ca/cargo-docset/package.nix · 来源: api.github.com
概览
Cargo subcommand to generate a Dash/Zeal docset for your Rust packages
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cargo-docset | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/Robzz/cargo-docset
安装元数据
| 软件包键 | brew:cargo-docset |
|---|---|
| 版本 | 0.3.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/cargo-docset |
| 主页 | https://github.com/Robzz/cargo-docset |
| 仓库 | https://github.com/Robzz/cargo-docset |
| 上游文档 | https://github.com/Robzz/cargo-docset#readme |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/Robzz/cargo-docset/archive/refs/tags/v0.3.1.tar.gz |
| 构建依赖 | rust |
| macOS 提供的库 | sqlite |
| Bottle | 可用 (于 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 | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
cargo-docset
nix profile install nixpkgs#cargo-docset来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.