#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

#2653 in Rust patterns

Download history 14/week @ 2023-12-28 128/week @ 2024-01-04 30/week @ 2024-01-11 19/week @ 2024-01-18 43/week @ 2024-01-25 182/week @ 2024-02-01 46/week @ 2024-02-08 27/week @ 2024-02-15 77/week @ 2024-02-22 56/week @ 2024-02-29 22/week @ 2024-03-07 20/week @ 2024-03-14

180 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
~34K SLoC