#meta-programming #derive #to-tokens #quote #proc-macro

macro polyquine-derive

Teach Rust types to codegen their own constructors

6 releases

Uses new Rust 2024

0.0.8 Nov 10, 2025
0.0.7 Sep 23, 2025

#7 in #to-tokens

Download history 985/week @ 2025-10-20 546/week @ 2025-10-27 500/week @ 2025-11-03 522/week @ 2025-11-10 284/week @ 2025-11-17 531/week @ 2025-11-24 192/week @ 2025-12-01 28/week @ 2025-12-08 84/week @ 2025-12-15 30/week @ 2025-12-22 4/week @ 2025-12-29 46/week @ 2026-01-05 28/week @ 2026-01-19 37/week @ 2026-01-26 261/week @ 2026-02-02

327 downloads per month
Used in polyquine

MIT license

15KB
262 lines

Derive macro for the Quine trait.

Dependencies

~135–530KB
~13K SLoC