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

#453 in Procedural macros

Download history 3948/week @ 2024-06-17 4673/week @ 2024-06-24 3022/week @ 2024-07-01 3331/week @ 2024-07-08 4450/week @ 2024-07-15 3774/week @ 2024-07-22 5832/week @ 2024-07-29 5707/week @ 2024-08-05 5582/week @ 2024-08-12 5958/week @ 2024-08-19 5889/week @ 2024-08-26 6796/week @ 2024-09-02 4958/week @ 2024-09-09 6026/week @ 2024-09-16 5766/week @ 2024-09-23 6558/week @ 2024-09-30

23,632 downloads per month
Used in 152 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