#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

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

#2034 in Rust patterns

Download history 4321/week @ 2026-01-07 7400/week @ 2026-01-14 7532/week @ 2026-01-21 6461/week @ 2026-01-28 7427/week @ 2026-02-04 6820/week @ 2026-02-11 6630/week @ 2026-02-18 8783/week @ 2026-02-25 7591/week @ 2026-03-04 10855/week @ 2026-03-11 11902/week @ 2026-03-18 10018/week @ 2026-03-25 8298/week @ 2026-04-01 14232/week @ 2026-04-08 18049/week @ 2026-04-15 22364/week @ 2026-04-22

65,156 downloads per month
Used in 257 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
~79K SLoC