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

#345 in Procedural macros

Download history 4059/week @ 2024-03-14 4566/week @ 2024-03-21 3998/week @ 2024-03-28 3592/week @ 2024-04-04 3267/week @ 2024-04-11 5024/week @ 2024-04-18 3082/week @ 2024-04-25 4529/week @ 2024-05-02 2588/week @ 2024-05-09 2386/week @ 2024-05-16 3673/week @ 2024-05-23 2965/week @ 2024-05-30 2544/week @ 2024-06-06 3587/week @ 2024-06-13 4208/week @ 2024-06-20 3639/week @ 2024-06-27

14,563 downloads per month
Used in 133 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
~35K SLoC