Equalia
This package helps you with implementation of Eq and PartialEq for structs. You can provide which struct fields to compare and which not.
Structs
When we want to define which fields are omitted, or we want to provide custom function to return value to be compared.
// map function that changes value
When single field ins struct can identify equality.
Hash
When you provide #[equalia(hash)]
for struct/enum equalia will automatically
implement Hash
trait from given configuration.
author
Peter Vrba phonkee@pm.me