#generics #derive #wrap #patterns

amplify_syn

Amplifying syn capabilities: helper functions for creating proc macro libraries

8 stable releases

1.1.6 Aug 29, 2021
1.1.4 May 28, 2021

#109 in Procedural macros

Download history 3253/week @ 2022-06-11 4426/week @ 2022-06-18 2551/week @ 2022-06-25 2763/week @ 2022-07-02 1738/week @ 2022-07-09 1196/week @ 2022-07-16 797/week @ 2022-07-23 1038/week @ 2022-07-30 722/week @ 2022-08-06 765/week @ 2022-08-13 890/week @ 2022-08-20 1053/week @ 2022-08-27 457/week @ 2022-09-03 736/week @ 2022-09-10 450/week @ 2022-09-17 688/week @ 2022-09-24

2,481 downloads per month
Used in 75 crates (4 directly)

MIT license

86KB
1.5K SLoC

Derive helper library

Build Tests Lints codecov

crates.io Docs unsafe forbidden MIT licensed

Carefully crafted extensions to the well-known syn crate, which helps to create complex derivation and proc macro libraries.

For samples, please check documentation and the following code from amplify_derive crate, which uses this library for its custom derivation macros.

MSRV: 1.31 (required by syn)

Dependencies

~220–630KB
~15K SLoC