A text lines diff library.
This library is a simple wrapper for the rust crate similar.
var hunks= Similar.DiffTexts("b\nc\nd\nd", "a\nb\nC\nd\nd\nx");
- Run the following command in the rust project (
./similar-rs
)
cargo build --release
- Place the built
similar-rs.dll
to./SimilarNet/SimilarNet
. - Build the nupkg in c# project.