vagola
09f95625ef
Add bitfield derive ( #16 )
2021-10-21 02:36:12 +03:00
vagola
05cf9c6e6b
Add VarInt discriminant type ( #15 )
2021-09-22 23:29:00 +03:00
vagola
024786e618
Add unit variant derive ( #13 )
2021-09-20 01:34:53 +03:00
vagola
22bdb26a9c
Add struct variant derive ( #12 )
2021-09-17 18:13:07 +03:00
vagola
70bfd01848
Refactor protocol derive module ( #11 )
2021-09-16 03:09:10 +03:00
Vladislavs Golubs
7b6b7e4921
Change project layout
2021-09-12 17:08:04 +03:00
Benjamin Givens
41c185fcb1
Depend directly on proc_macro2 for Span
...
The latest version of syn no longer exports the Span type in the
way protocol-derive expected. This means that new users will get
a compile error saying "could not find `export` in `syn`". By
depending on proc_macro2 for the definition of Span, this is
easily resolved.
2021-05-01 15:39:45 -04:00
vagola
d7c35639c9
Validate string max length
2020-01-04 12:39:31 +03:00
vagola
73528233eb
Add in proc macro decoder generation
2020-01-04 11:12:05 +03:00
vagola
61fff6fcf7
Add field custom encoder decoder support
2020-01-03 18:31:44 +03:00
vagola
0a0500239b
Improve error handling
2020-01-03 18:02:08 +03:00
vagola
6d50407670
Add attributes parsing
2020-01-03 15:28:45 +03:00
vagola
a4b7f100a8
Add macros to impl concentrate enum and json
2020-01-02 15:25:22 +03:00
vagola
f43592c01f
Save some progress towards derive macro
2020-01-02 04:52:46 +03:00
vagola
f1a817d447
Rename trait packet to packet parser
2019-12-30 20:42:06 +03:00
vagola
9e1d934049
Fix derive macro
2019-12-30 15:21:54 +03:00
vagola
d78175d685
WIP: procmacro for automatic packet generation
2019-12-30 03:16:38 +03:00