Add new CompareFields trait and derive

This commit is contained in:
Paul Hauner
2019-05-22 17:22:12 +10:00
parent 30d582f40d
commit 7a99654f89
8 changed files with 144 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
[package]
name = "compare_fields_derive"
version = "0.1.0"
authors = ["Paul Hauner <paul@paulhauner.com>"]
edition = "2018"
[lib]
proc-macro = true
[dependencies]
syn = "0.15"
quote = "0.6"