#reflection #introspection #shape #metadata

no-std facet-core

Core reflection traits and types for the facet ecosystem - provides the Facet trait, Shape metadata, and type-erased pointers

87 releases (36 breaking)

Uses new Rust 2024

new 0.46.0 Apr 15, 2026
0.44.4 Apr 14, 2026
0.44.3 Mar 16, 2026
0.41.0 Dec 31, 2025
0.28.0 Jul 24, 2025

#2117 in Rust patterns

Download history 2316/week @ 2025-12-27 5136/week @ 2026-01-03 5738/week @ 2026-01-10 7684/week @ 2026-01-17 6825/week @ 2026-01-24 7709/week @ 2026-01-31 7009/week @ 2026-02-07 6392/week @ 2026-02-14 6908/week @ 2026-02-21 9568/week @ 2026-02-28 8294/week @ 2026-03-07 12169/week @ 2026-03-14 9849/week @ 2026-03-21 10578/week @ 2026-03-28 10617/week @ 2026-04-04 16384/week @ 2026-04-11

49,135 downloads per month
Used in 252 crates (79 directly)

MIT/Apache

1MB
19K SLoC

facet-core

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

Defines the Facet trait and implements it for a lot (a LOT) of builtin types.

This crate is foundational to facet’s reflection capabilities, providing the type system that enables runtime type manipulation.

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

~0–4.5MB
~77K SLoC