float-cmp
float-cmp copied to clipboard
Proc macro to derive ApproxEq?
It would be very convenient to be able to #[derive(ApproxEq)] on structs (much like one does with PartialEq). Would you see that a proc-macro crate for that fitting within the scope of float-cmp itself?
That sounds like a great idea. I've never written a proc-macro so it's completely unknown territory for me, and I wouldn't be able to get to it right away, but I think yes it should be done.