patiencediff

Crates.iopatiencediff
lib.rspatiencediff
version0.2.1
created_at2023-05-04 02:30:51.664291+00
updated_at2025-05-14 15:14:53.404047+00
descriptionImplementation of the patiencediff algorithm
homepagehttps://github.com/breezy-team/patiencediff-rs
repositoryhttps://github.com/breezy-team/patiencediff-rs
max_upload_size
id856146
size75,493
Jelmer Vernooij (jelmer)

documentation

README

patiencediff

This package contains the implementation of the patiencediff algorithm for Rust, as first described by Bram Cohen.

Like Python's difflib, this module provides both a convenience unified_diff function for the generation of unified diffs of text files as well as a SequenceMatcher that can be used on arbitrary lists.

Patiencediff provides a good balance of performance, nice output for humans, and implementation simplicity.

The code in this package was extracted from the Bazaar code base, and ported to rust.

Commit count: 29

cargo fmt