Added support for grapheme and char diffing

This commit is contained in:
Armin Ronacher 2021-01-24 09:03:43 +01:00
parent fdaf81371c
commit 1b96739cc3
3 changed files with 95 additions and 2 deletions

View file

@ -9,5 +9,15 @@ repository = "https://github.com/mitsuhiko/similar"
keywords = ["diff", "difference", "patience", "compare", "changes"]
readme = "README.md"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
unicode = ["unicode-segmentation"]
[dev-dependencies]
insta = "1.5.2"
[dependencies]
unicode-segmentation = { version = "1.7.1", optional = true }