#proc-macro #generics #pattern #wrap

amplify_syn

Amplifying syn capabilities: helper functions for creating proc macro libraries

13 releases (stable)

2.0.1 May 1, 2023
2.0.0 Apr 10, 2023
2.0.0-beta.3 Mar 5, 2023
2.0.0-beta.2 Feb 7, 2023
1.1.4 May 28, 2021

#691 in Procedural macros

Download history 4226/week @ 2025-12-27 8930/week @ 2026-01-03 10036/week @ 2026-01-10 10215/week @ 2026-01-17 9939/week @ 2026-01-24 12122/week @ 2026-01-31 10327/week @ 2026-02-07 11896/week @ 2026-02-14 12021/week @ 2026-02-21 13075/week @ 2026-02-28 16994/week @ 2026-03-07 18983/week @ 2026-03-14 18857/week @ 2026-03-21 19148/week @ 2026-03-28 17666/week @ 2026-04-04 17548/week @ 2026-04-11

75,408 downloads per month
Used in 227 crates (7 directly)

Apache-2.0

105KB
2K SLoC

Derive helper library

Build Tests Lints codecov

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

~1.5MB
~39K SLoC