#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

#2767 in Rust patterns

Download history 147/week @ 2024-11-16 45/week @ 2024-11-23 140/week @ 2024-11-30 328/week @ 2024-12-07 189/week @ 2024-12-14 2/week @ 2024-12-28 231/week @ 2025-01-04 143/week @ 2025-01-11 177/week @ 2025-01-18 145/week @ 2025-01-25 251/week @ 2025-02-01 133/week @ 2025-02-08 266/week @ 2025-02-15 188/week @ 2025-02-22 178/week @ 2025-03-01

814 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
~39K SLoC