compactly-derive 0.1.5

Derive macros for compactly crate
Documentation
1
2
3
4
5
6
7
8
9
10
use synstructure::decl_derive;

mod v1;
mod v2;

decl_derive!([Encode, attributes(compactly)] => v1::derive_compactly);

decl_derive!([EncodeV1, attributes(compactly)] => v1::derive_compactly);

decl_derive!([EncodeV2, attributes(compactly)] => v2::derive_compactly);