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

#537 in Procedural macros

Download history 4171/week @ 2024-07-23 6155/week @ 2024-07-30 5148/week @ 2024-08-06 5968/week @ 2024-08-13 5533/week @ 2024-08-20 6242/week @ 2024-08-27 6923/week @ 2024-09-03 5106/week @ 2024-09-10 5596/week @ 2024-09-17 6293/week @ 2024-09-24 6226/week @ 2024-10-01 5662/week @ 2024-10-08 7161/week @ 2024-10-15 5001/week @ 2024-10-22 7533/week @ 2024-10-29 4207/week @ 2024-11-05

24,584 downloads per month
Used in 168 crates (6 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
~37K SLoC