similar icon indicating copy to clipboard operation
similar copied to clipboard

A high level diffing library for rust based on diffs

Results 17 similar issues
Sort by recently updated
recently updated
newest added

I created the Python library [snapshottest](https://pypi.org/project/snapshottest/) a few years ago (similar to the insta that you created in Rust!). This library requires a string diffing library in order to pretty...

I should first say, thank you for the crate, this is very useful for even comparing binary data. Similar to `capture_diff_slices` but user can supply a `F: FnMut(&T, &T) ->...

I'm working on json diffing. I have some representation of two jsons in memory, like a `serde_json::Value`. Obviously these cannot be directly diffed, since they're not array-like. So to diff...

Histogram is included in mainline Git and [recent academic work](https://link.springer.com/article/10.1007/s10664-019-09772-z) indicates that it outperforms patience diff. I might get around to a PR as I am learning Rust : )

GNU diff and others have some internal heuristics to bail if there are too many changes. There are basically two optimizations: * Discard lines which are completely distinct between two...

Related to #24 similar could benefit of having semantic cleanups for char level diffs. https://neil.fraser.name/writing/diff/

Currently inline highlighting is always using word (or unicode word if available) level diffing. There are some expectations that these are character level diffs (https://github.com/mitsuhiko/similar-asserts/issues/1). There are advantages and disadvantages...

One of the behaviors inherited from pijul are many of the original trait bounds. Unfortunately these make things quite hard to improve various aspects of the implementation. In particular for...

Hi! Thanks for the crate! ## Goal I was trying to do a web demo of `similar`. In particular, of the `terminal-inline` example. ## Problem The problem I faced is...

Hey all, Awesome crate! I'm using this in [diff.rs](https://diff.rs) to diff crates in the browser. I'm using the `Bytes` crate to keep crate files in memory because it lets me...