#reflection #introspection #serialization

facet-macros-impl

Implementation of facet derive macros (parsing and code generation)

17 releases (9 breaking)

Uses new Rust 2024

new 0.44.2 Mar 12, 2026
0.43.2 Jan 23, 2026
0.41.0 Dec 31, 2025

#44 in #introspection

Download history 1000/week @ 2025-12-11 1177/week @ 2025-12-18 1071/week @ 2025-12-25 2307/week @ 2026-01-01 1439/week @ 2026-01-08 2408/week @ 2026-01-15 1830/week @ 2026-01-22 1516/week @ 2026-01-29 1499/week @ 2026-02-05 991/week @ 2026-02-12 1190/week @ 2026-02-19 1967/week @ 2026-02-26 1353/week @ 2026-03-05

5,693 downloads per month
Used in 145 crates (via facet-macros)

MIT/Apache

605KB
12K SLoC

facet-macros-impl

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

Implementation of facet derive macros, combining parsing and code generation.

This crate provides the internal implementation for #[derive(Facet)] and related procedural macros. It’s used by facet-macros (the proc-macro crate) and should not be used directly.

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

~400KB