Add comparison example

This commit is contained in:
Andras Schmelczer 2026-03-10 20:31:31 +00:00
commit b012330a36
2 changed files with 97 additions and 0 deletions

View file

@ -20,6 +20,10 @@ crate-type = ["cdylib", "rlib"]
name = "merge-file"
path = "examples/merge-file.rs"
[[example]]
name = "compare-with-diff-match-patch"
path = "examples/compare-with-diff-match-patch.rs"
[dependencies]
serde = { version = "1.0.219", optional = true, features = ["derive"] }
thiserror = "2.0.17"
@ -48,6 +52,7 @@ serde = { version = "1.0.219", features = ["derive"] }
serde_yaml = "0.9.34"
test-case = "3.3.1"
wasm-bindgen-test = "0.3.56"
diff-match-patch-rs = "0.5"
[profile.release]
codegen-units = 1