7 releases

Uses new Rust 2021

0.7.0-alpha.4 Nov 24, 2022
0.7.0-alpha.3 Oct 28, 2022
0.7.0-alpha.2 Sep 30, 2022
0.6.1 Jun 30, 2022
0.5.0 Jun 10, 2022

#313 in Data structures

Download history 33/week @ 2022-08-14 25/week @ 2022-08-21 16/week @ 2022-08-28 49/week @ 2022-09-04 64/week @ 2022-09-11 83/week @ 2022-09-18 91/week @ 2022-09-25 105/week @ 2022-10-02 31/week @ 2022-10-09 28/week @ 2022-10-16 82/week @ 2022-10-23 67/week @ 2022-10-30 61/week @ 2022-11-06 44/week @ 2022-11-13 72/week @ 2022-11-20 39/week @ 2022-11-27

218 downloads per month
Used in 8 crates (via identity_core)

Apache-2.0

38KB
1K SLoC

IOTA Identity - Diff

This module implements a Diff trait. This gives data structures the ability to compare themselves to another data structure of the same type over time. The library pairs off with [identity_diff_derive], which implements a derive macro for the Diff Trait.

Types supported include HashMap, Option, String, serde_json::Value, Vec and primitives such as i8/u8 up to usize and isize, as well as the unit type (), bool, and char types. Structs and Enums are supported via [identity_diff_derive] and can be composed of any number of these types.

Dependencies

~0.7–1.4MB
~31K SLoC