Use derive macro to generate XcmWeightInfo trait (#4618)

* Use derive macro to generate XcmWeightInfo trait

* Move the Weight type alias out of proc macro
This commit is contained in:
Keith Yeung
2021-12-28 22:38:11 -08:00
committed by GitHub
parent ebfe0b7168
commit cf509bdb51
6 changed files with 80 additions and 66 deletions
+1
View File
@@ -11,3 +11,4 @@ proc-macro = true
proc-macro2 = "1.0.36"
quote = "1.0.10"
syn = "1.0.83"
Inflector = "0.11.4"