macOS
brew install cargo-public-apilocal Homebrew formula metadata
安装
brew install cargo-public-apilocal Homebrew formula metadata
nix profile install nixpkgs#cargo-public-apinixpkgs package indexes · pkgs/by-name/ca/cargo-public-api/package.nix · 来源: api.github.com
sudo pacman -S cargo-public-apiArch Linux sync databases · cargo-public-api · 来源: geo.mirror.pkgbuild.com
概览
List and diff the public API of Rust library crates
历史
cargo-public-api is a Cargo subcommand and companion tooling for listing and diffing the public API of Rust library crates.
The GitHub repository was created in January 2022, and the crate appeared on crates.io in April 2022. The README explains that it builds rustdoc JSON and uses it to list public items or compare APIs across releases and commits.
The tool is packaged on crates.io and listed in Homebrew, Nix, and Arch package facts for this batch. crates.io classifies it as both a command-line utility and a Cargo plugin, reflecting its use from local terminals and CI.
The README shows cargo public-api for listing a crate API, cargo public-api diff for comparing against a published version, latest release, or commit range, and a CI pattern that snapshots API output to catch unintended public API changes.
Rust package maintainers use it to make semver review concrete: instead of manually scanning exported items, they can diff rustdoc-derived public API output and gate changes in CI.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cargo-public-api | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:cargo-public-api |
|---|---|
| 版本 | 0.52.0 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/cargo-public-api/cargo-public-api |
| 仓库 | https://github.com/cargo-public-api/cargo-public-api |
| 最后更新 | 2026-05-25T22:02:40Z |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
cargo-public-api
nix profile install nixpkgs#cargo-public-apicargo-public-api 0.52.0-1
List and diff the public API of Rust library crates
https://github.com/cargo-public-api/cargo-public-api
sudo pacman -S cargo-public-api来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.