#delta #instance #compute #struct #traits #difference #aka

delta-struct

Delta struct provides a rust-lang Deriveable trait, Delta, that can be used to compute the difference (aka delta) between two instances of a type

1 unstable release

0.1.0 Sep 15, 2020

#2645 in Rust patterns

Download history 292/week @ 2024-08-21 104/week @ 2024-08-28 185/week @ 2024-09-04 41/week @ 2024-09-11 190/week @ 2024-09-18 191/week @ 2024-09-25 46/week @ 2024-10-02 89/week @ 2024-10-09 177/week @ 2024-10-16 39/week @ 2024-10-23 101/week @ 2024-10-30 53/week @ 2024-11-06 217/week @ 2024-11-13 132/week @ 2024-11-20 59/week @ 2024-11-27 178/week @ 2024-12-04

625 downloads per month

MIT/Apache

9KB
196 lines

delta_struct Crates listing

Delta struct provides a rust-lang Deriveable trait, Delta, that can be used to compute the difference (aka delta) between two instances of a type.

This can be combined with serde to only transmit changes to structures, when updates are necessary.

Dependencies

~1.5MB
~38K SLoC