1 unstable release
0.1.0 | Oct 23, 2024 |
---|
#645 in Procedural macros
177 downloads per month
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
~225–670KB
~16K SLoC