# Install difference with Cargo

A Rust text diffing and assertion library. Version 2.0.0 via Cargo; verified 2018-01-23. Also installable with debian: sudo apt install difference.

## Install

```sh
sudo av install cargo:difference
```

Additional install commands:

### Portable and language managers

- Cargo (100%):

```sh
cargo install difference
```

  Evidence: local crates.io package metadata

## Package facts

- **Package key:** cargo:difference
- **Package manager:** Cargo
- **Package manager page:** <https://crates.io/crates/difference>
- **Version:** 2.0.0
- **Source summary:** A Rust text diffing and assertion library.
- **Repository:** <https://github.com/johannhof/difference.rs>
- **Upstream docs:** <https://johannhof.github.io/difference.rs/difference/index.html>
- **License:** MIT
- **Source archive:** <https://static.crates.io/crates/difference/difference-2.0.0.crate>
- **Published:** 2018-01-23 17:31:55.462599+00
- **Last updated:** 2018-01-23 17:31:55.462599+00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- difference (binary): Declared by crates.io version metadata.

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.0.0

## Security Notes

No matching local secret-handling manifest was found for difference. Nucleus 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:** 3,068
- **Crate Size:** 147,616
- **Executable Intent:** Intent: public_cli, Signals: manifest declares a binary target, archive contains src/main.rs, binary name matches crate name
- **Has Lib:** yes
- **Num Versions:** 4
- **Recent Download Window Days:** 90
- **Version ID:** 78,551

## Other Package-Manager Records

- Debian apt - difference - 2.0.0-1+b14: normalized package name match | Debian stable package indexes: difference from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | text diffing tool
- Ubuntu apt - difference - 2.0.0-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: difference from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | text diffing tool


## Sources

- crates.io package index
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
