facet facet is an ecosystem of Rust crates built on runtime reflection. The core crates give types a SHAPE associated constant with their kind, layout, fields, documentation, attributes, and type-specific operations. facet-reflect builds, reads, and mutates values through those shapes while preserving their invariants. Serialization and integration crates build on that reflection layer: JSON, TOML, YAML,…
facet is an ecosystem of Rust crates built on runtime reflection.
The core crates give types a SHAPE associated constant with
their kind, layout, fields, documentation, attributes, and type-specific
operations. facet-reflect builds, reads, and mutates values through those
shapes while preserving their invariants.
Serialization and integration crates build on that reflection layer: JSON,
TOML, YAML, MessagePack, Postcard, ASN.1, XDR, CSV, XML, URL-encoded forms,
SQLite, Axum, schema generation, structural diffing, and more.
Some related projects now live in their own repositories:
The https://facet.rs website has a lot of information about a lot of the
ecosystem but it’s unfortunately not super reliable as LLMs have been doing
too much of the writing (on account on Amos being burned out). This is being
slowly repaired. Bear with us.
评论