[Media] crabtime, a novel way to write Rust macros
![[Media] crabtime, a novel way to write Rust macros](https://i.redd.it/wwyv9skyrxfg1.png)
Hey fellow Rustaceans! 🦀
Some time ago, I released a crate that became quite popular. A friend of mine wrote a blog post about it, giving more insight into the differences between crabtime, macro_rules!, and procedural macros, and I wanted to share it with you here!
TL;DR 📌
Crabtime offers a novel way to write Rust macros, inspired by Zig’s comptime. It provides even more flexibility and power than procedural macros, while remaining easier and more natural to read and write than macro_rules!. I highly encourage you to check out the blog post and the docs for examples and an in-depth explanation :)
Links 🔗
Thank you, Ferrisoft ❤️
Development of this library is sponsored by Ferrisoft, a Rust-focused software house.
I’m one of its founders, happy to answer questions or dive deeper into the design!