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

#587 in Procedural macros

Download history 5119/week @ 2024-09-22 6625/week @ 2024-09-29 5975/week @ 2024-10-06 7148/week @ 2024-10-13 4940/week @ 2024-10-20 6351/week @ 2024-10-27 6256/week @ 2024-11-03 4790/week @ 2024-11-10 5138/week @ 2024-11-17 4678/week @ 2024-11-24 4825/week @ 2024-12-01 6831/week @ 2024-12-08 5211/week @ 2024-12-15 2734/week @ 2024-12-22 2079/week @ 2024-12-29 5365/week @ 2025-01-05

15,839 downloads per month
Used in 185 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