Skip to main content

Crate delta_struct_macros

Crate delta_struct_macros 

Source
Expand description

Procedural macro implementation behind the delta-struct crate.

Use delta-struct rather than depending on this crate directly; it re-exports the Delta derive alongside the trait the derive generates an implementation of, and carries the user-facing documentation.

Derive Macrosยง

Delta
Derives Delta, generating a {Self}Delta struct that holds only the changed parts of a value plus the trait implementation that produces and applies one.
Fingerprint
Derives Fingerprint, a stable content hash used to check that a delta is being applied to the state it was computed against.