#generics #derive #wrap #patterns

amplify_syn

Amplifying syn capabilities: helper functions for creating proc macro libraries

11 releases (stable)

2.0.0-beta.3 Mar 5, 2023
2.0.0-beta.2 Feb 7, 2023
2.0.0-beta.1 Jan 29, 2023
1.1.6 Aug 29, 2021
1.1.4 May 28, 2021

#55 in Procedural macros

Download history 1429/week @ 2022-11-27 1162/week @ 2022-12-04 1404/week @ 2022-12-11 1254/week @ 2022-12-18 2463/week @ 2022-12-25 1582/week @ 2023-01-01 1345/week @ 2023-01-08 1685/week @ 2023-01-15 2112/week @ 2023-01-22 3551/week @ 2023-01-29 2770/week @ 2023-02-05 1266/week @ 2023-02-12 1770/week @ 2023-02-19 3241/week @ 2023-02-26 3577/week @ 2023-03-05 1051/week @ 2023-03-12

9,741 downloads per month
Used in 90 crates (5 directly)

Apache-2.0

105KB
2K SLoC

Derive helper library

Build Tests Lints codecov

crates.io Docs unsafe forbidden Apache-2 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.

Minimum supported rust compiler version (MSRV): 1.59.0. Rust edition 2021.

Dependencies

~0.7–1MB
~26K SLoC