Architecture
Crate graph
Format crates and utility crates primarily interact with facet-reflect — they use Peek to read values and Partial to build them.
Key crates
| Crate | Purpose |
|---|---|
facet-core |
Core types: Facet trait, Shape, Def, vtables. Supports no_std. |
facet-macros |
The #[derive(Facet)] proc macro (thin wrapper). |
facet-macros-impl |
Actual derive implementation using unsynn. |
facet-reflect |
High-level reflection: Peek for reading, Partial for building. |
facet |
Umbrella crate that re-exports everything. |