similar
Similar is a dependency free crate for Rust that implements different diffing algorithms and high level interfaces for it.
It provides both low level implementations of Myer's and the Patience diff algorithm as well as high level text diffing utilities (such as the ability to generate unified diffs).
use Algorithm;
use unified_diff;
let udiff = unified_diff;
println!;
License and Links
- Documentation
- Issue Tracker
- License: Apache-2.0