The Diff Match and Patch libraries offer robust algorithms to perform the operations required for synchronising plain text. This repository contains a Rust version of the original diff-match-patch library, using up-to-date crate packages.
A fuzzer is provided as a sanity-check:
console
RUST_BACKTRACE=1 cargo fuzz run fuzz
This code is forked originally from diffmatchpatch.rs, licensed under the MIT license.