4 releases

0.2.2 May 30, 2024
0.2.1 Feb 11, 2024
0.2.0 Feb 10, 2024
0.1.0 Apr 10, 2023

#129 in Procedural macros

Download history 52/week @ 2024-03-13 47/week @ 2024-03-20 78/week @ 2024-03-27 68/week @ 2024-04-03 51/week @ 2024-04-10 76/week @ 2024-04-17 70/week @ 2024-04-24 78/week @ 2024-05-01 46/week @ 2024-05-08 96/week @ 2024-05-15 53/week @ 2024-05-22 229/week @ 2024-05-29 126/week @ 2024-06-05 108/week @ 2024-06-12 76/week @ 2024-06-19 77/week @ 2024-06-26

404 downloads per month
Used in 9 crates (2 directly)

MIT license

28KB
435 lines

Crates.io Documentation unsafe forbidden GitHub actions GitHub activity GitHub Sponsors

Minimalist Rust syntax parsing for procedural macros.

You can think of myn as a minimalist crate with similarities to syn. It provides utilities to help write procedural macros, but does not attempt to replicate the syn types or API.

myn exists to support a very small subset of the entire Rust language syntax. Just enough to implement #[derive] macros on structs and enums, and that's about it. Everything else is currently out of scope.

Why

  • 100% safe Rust 🦀.
  • Write #[derive] macros with extremely fast compile times. See benchmarks.

MSRV Policy

The Minimum Supported Rust Version for myn will always be made available in the MSRV.md file on GitHub.

No runtime deps