1 unstable release

0.1.0 Oct 23, 2024

#709 in Procedural macros

Custom license

5KB

dervy

In domain-driven design, entity types should be compared by identity rather than value. dervy allows you to annotate your domain entities in order to derive implementations of PartialEq, Eq, and Hash that only consider identity for equality.


lib.rs:

In domain-driven design, entity types should be compared by identity rather than value.

[dervy] allows you to annotate your domain entities in order to derive implementations of [PartialEq], [Eq], and [Hash] that only consider identity for equality.

Dependencies

~220–660KB
~16K SLoC