17 stable releases (4 major)
|4.0.2||Oct 9, 2021|
|4.0.0||Feb 2, 2020|
|3.0.2||Feb 2, 2020|
|3.0.1||Mar 12, 2018|
|0.1.0||Feb 5, 2017|
#147 in Algorithms
44,511 downloads per month
Used in 8 crates (4 directly)
A library to compare arbitrary structured data of the same type, efficiently.
Please see the documentation for more details.
Add this to your Cargo.toml
[dependencies] treediff = "4"
See what's different in arbitrary data structures.
we implement here is less than a screen full of lines, yet it enables a vast amount of
It can work with all values implementing the
On top of it there is a [merge][
tools::Merger] implementation, which can be used to aggregate changes
into a target value. It works with
Values which implement the
Also note that you will have to choose the features to build the library with in order to
get trait implementations for
Value types of common libraries,
cargo build --features=with-serde-json.