#macro-derive #reflection #grammar

facet-macro-types

Unsynn grammar and type definitions for facet macro ecosystem

16 releases (9 breaking)

Uses new Rust 2024

new 0.44.1 Mar 3, 2026
0.43.2 Jan 23, 2026
0.41.0 Dec 31, 2025

#57 in Procedural macros

Download history 871/week @ 2025-12-10 1208/week @ 2025-12-17 984/week @ 2025-12-24 2313/week @ 2025-12-31 1290/week @ 2026-01-07 2530/week @ 2026-01-14 1801/week @ 2026-01-21 1524/week @ 2026-01-28 1570/week @ 2026-02-04 973/week @ 2026-02-11 1244/week @ 2026-02-18 1946/week @ 2026-02-25

5,868 downloads per month
Used in 137 crates (2 directly)

MIT/Apache

40KB
594 lines

facet-macro-types

Coverage Status crates.io documentation MIT/Apache-2.0 licensed Discord

Defines the unsynn grammar and type definitions used throughout the facet macro ecosystem.

This crate provides the foundational AST types that represent Rust type declarations (structs, enums, unions) as parsed from token streams, enabling the derive macro infrastructure.

Sponsors

Thanks to all individual sponsors:

GitHub Sponsors Patreon

...along with corporate sponsors:

AWS Zed Depot

...without whom this work could not exist.

Special thanks

The facet logo was drawn by Misiasart.

License

Licensed under either of:

at your option.

Dependencies

~390KB