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

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

#2598 in Rust patterns

Download history 41/week @ 2024-04-13 36/week @ 2024-04-20 270/week @ 2024-04-27 80/week @ 2024-05-04 51/week @ 2024-05-11 94/week @ 2024-05-18 114/week @ 2024-05-25 80/week @ 2024-06-01 6/week @ 2024-06-08 1/week @ 2024-06-15 9/week @ 2024-06-22 59/week @ 2024-06-29 55/week @ 2024-07-06 125/week @ 2024-07-13 172/week @ 2024-07-20 176/week @ 2024-07-27

550 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
~36K SLoC