1 unstable release

0.1.0 Feb 17, 2019

#18 in #re-exported

25 downloads per month
Used in visit_diff

BSD-2-Clause

14KB
222 lines

Deriving for visit_diff's Diff trait

This crate provides an implementation of #[derive(Diff)] for structs and enums. Its deriving macro is re-exported by the visit_diff crate, so you generally don't need to use this crate directly.


lib.rs:

Derives the Diff trait naively, using the literal structure of the datatype.

Dependencies

~2MB
~46K SLoC