sdiff

Crates.iosdiff
lib.rssdiff
version0.1.1
created_at2025-03-29 19:59:09.287655+00
updated_at2025-03-30 18:43:01.840943+00
descriptionFind the differences between two sequences
homepage
repositoryhttps://github.com/innoave/sdiff
max_upload_size
id1611637
size62,123
Harald Maida (haraldmaida)

documentation

README

sdiff

crates.io docs.rs MSRV code coverage

Find the differences between two sequences.

A diffing function that finds the longest common subsequence (LCS) of two sequences. The found LCS can be easily transformed to a shortest edit script (SES). The implementation is based on the difference algorithm by Eugene W. Myers.

This crate is developed for being used in the asserting crate as none of the many existing similar crates fulfills all requirements.

The requirements are:

  • no-std: no dependency to the std-lib
  • dual licensed under MIT or Apache-2.0
  • simple to use
  • fast to compile
  • small binary size
  • minimal memory usage
Commit count: 19

cargo fmt