easy-conv
Cut down on trivial impl From<A> for B boilerplate code.
Quick start
Ever tired of code that looks like this?
How about this?
newtype_wrap!;
newtype_wrap!;
newtype_wrap!;
Better? I certainly think so.
There are also newtype_wrap_from_any and chained_into macros, which each does
their quirky little thing. See documentation.
Contributing
If you have any other type conversion needs that involve a lot of boilerplate code, please feel free to raise an issue (or better yet, a PR). Maybe we can add a macro to make life easier for you and everyone else.