Skip to content

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.

License

Notifications You must be signed in to change notification settings

pas2rust/mokuya

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mokuya

Crates.io Docs.rs License

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

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages