#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

#654 in Procedural macros

Download history 10965/week @ 2025-10-20 12121/week @ 2025-10-27 12498/week @ 2025-11-03 11088/week @ 2025-11-10 11368/week @ 2025-11-17 10932/week @ 2025-11-24 14627/week @ 2025-12-01 10444/week @ 2025-12-08 7786/week @ 2025-12-15 4644/week @ 2025-12-22 4614/week @ 2025-12-29 8345/week @ 2026-01-05 10291/week @ 2026-01-12 10459/week @ 2026-01-19 10184/week @ 2026-01-26 12078/week @ 2026-02-02

43,499 downloads per month
Used in 217 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
~40K SLoC