myn 0.2.2

Minimalist Rust syntax parsing for procedural macros
Documentation
  • Coverage
  • 100%
    30 out of 30 items documented0 out of 22 items with examples
  • Size
  • Source code size: 38.57 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.32 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 11s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • parasyte/myn
    66 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • parasyte

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.