mokuya 0.0.6

Generic procedural macro helpers for parsing, type analysis, and derive macro generation.
Documentation

mokuya

Crates.io Docs.rs License GitHub top language GitHub stars GitHub forks Tests Crates.io downloads GitHub last commit

mokuya is a utility crate that provides adapters and helpers for writing Rust procedural macros. It simplifies common tasks when working with syn, quote, and proc_macro2, and is designed to help authors build robust and reusable macro code.

Features

  • Utilities for extracting types, arguments, and attributes from syn.
  • Simple extension utilities for TokenStream.
  • Reusable and ergonomic error handling structure.
  • Great for use in derive, attribute, or function-like procedural macros.
  • Zero dependencies outside the core macro ecosystem.

Installation

Add this to your Cargo.toml:

cargo add mokuya

❤️ Donate

Monero Bitcoin