Crates.io | myn |
lib.rs | myn |
version | 0.2.2 |
source | src |
created_at | 2023-04-10 23:18:28.727376 |
updated_at | 2024-05-30 01:31:41.533331 |
description | Minimalist Rust syntax parsing for procedural macros |
homepage | |
repository | https://github.com/parasyte/myn |
max_upload_size | |
id | 835550 |
size | 38,445 |
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 struct
s and enum
s, and that's about it. Everything else is currently out of scope.
#[derive]
macros with extremely fast compile times. See benchmarks.The Minimum Supported Rust Version for myn
will always be made available in the MSRV.md file on GitHub.