# Install cargo-public-api with Cargo

List and diff the public API of Rust library crates between releases and commits. Detect breaking API changes and semver violations via CI or a CLI. Version 0.52.0 via Cargo; verified 2026-05-25. Also installable with nix: nix profile install nixpkgs#cargo-public-api.

## Install

```sh
sudo av install cargo:cargo-public-api
```

Additional install commands:

### Portable and language managers

- Cargo (100%):

```sh
cargo install cargo-public-api
```

  Evidence: local crates.io package metadata

## Package facts

- **Package key:** cargo:cargo-public-api
- **Package manager:** Cargo
- **Package manager page:** <https://crates.io/crates/cargo-public-api>
- **Version:** 0.52.0
- **Source summary:** List and diff the public API of Rust library crates between releases and commits. Detect breaking API changes and semver violations via CI or a CLI.
- **Homepage:** <https://github.com/cargo-public-api/cargo-public-api>
- **Repository:** <https://github.com/cargo-public-api/cargo-public-api>
- **Upstream docs:** <https://docs.rs/cargo-public-api>
- **License:** MIT
- **Source archive:** <https://static.crates.io/crates/cargo-public-api/cargo-public-api-0.52.0.crate>
- **Published:** 2026-05-25 17:36:08.607019+00
- **Last updated:** 2026-05-25 17:36:08.607019+00
- **Generated:** 2026-09-19T06:45:57+00:00

## Executables

- cargo-public-api (binary): Declared by crates.io version metadata.

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-09-19
- Package-manager version: 0.52.0

## Security Notes

No matching local secret-handling manifest was found for cargo-public-api. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** crates.io database dump
- **Crate ID:** 562,910
- **Crate Size:** 53,727
- **Edition:** 2024
- **Executable Intent:** Intent: public_cli, Signals: crate has no library target
- **Has Lib:** no
- **Num Versions:** 75
- **Recent Download Window Days:** 90
- **Version ID:** 2,457,266

## Other Package-Manager Records

- Nix - cargo-public-api: normalized package name match | nixpkgs package indexes: pkgs/by-name/ca/cargo-public-api/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - cargo-public-api - 0.52.0-1: normalized package name match | Arch Linux sync databases: cargo-public-api from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | List and diff the public API of Rust library crates | https://github.com/cargo-public-api/cargo-public-api


## Related links

- [cargo-public-api](https://pkg.so/brew/cargo-public-api/) - Same normalized package name exists in another local package ecosystem.

## Sources

- crates.io package index
- external package-manager database matches
- cross-ecosystem install command graph
