Crates.io | patiencediff |
lib.rs | patiencediff |
version | 0.2.0 |
source | src |
created_at | 2023-05-04 02:30:51.664291 |
updated_at | 2024-08-15 02:04:25.724439 |
description | Implementation of the patiencediff algorithm |
homepage | https://github.com/breezy-team/patiencediff-rs |
repository | https://github.com/breezy-team/patiencediff-rs |
max_upload_size | |
id | 856146 |
size | 73,509 |
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.