slice-diff-patch 0.2.1

Library crate providing utility functions for diff and patch of slices
Documentation

This crate provides the Change enum as an abstraction for diff::Result, lcs_diff::DiffResult, and wu_diff::DiffResult; the diff_changes(), diff_diff(), lcs_changes(), [lcs_diff()], [wu_changes()], and [wu_diff()] functions to calculate or process diffs between a and b slices via LCS (Longest Common Subsequence) or Wu diff algorithms into a Vec<Change>, and the patch() function to reproduce b from the a slice and Vec<Change>.

See also:

Changelog:

  • 0.1.0: initial
  • 0.2.0: add support for diff crate
  • 0.2.1: fix readme