facet-rs/facet
View on GitHub ↗ ★ 2,589 Rust
Rust reflection, serialization, deserialization, pretty printing, etc. — the last proc macro you should need
6 mentions on Hacker News by 6 people: 3 stories, 3 comments · first 2025-04-09 · latest 2026-09-30
20082026
-
…with #[derive(facet::Facet)], you get a SHAPE associated type which can be inspected at runtime. https://github.com/facet-rs/facet > The core crates give types a SHAPE associated constant with their kind, layout, fields, documentation,…
comment by genxy · 2026-09-30 · in Testing WebGPU data layouts with Facet -
…than just a subset of it, but it probably won't be supported by all of your dependencies. [0] https://github.com/facet-rs/facet
comment by quamserena · 2025-11-04 · in Pain Points of OCaml -
▲ 4
Facet: Type reflection, serialization, deserialization – know the shape of youstory by fanf2 · 2025-05-27 · 0 comments
-
…model to Scala. I've been wondering if there is an equivalent in the Rust ecosystem. I think https://github.com/facet-rs/facet is going in the right direction
comment by evacchi · 2025-05-13 · in Mill as a direct style build tool -
▲ 5
Facet: Rust const and no_std reflection – the last derive you'll ever needstory by Philpax · 2025-04-10 · 0 comments
-
▲ 8
Facet: Rust reflection, serialization, deserialization – know the shape of yourstory by todsacerdoti · 2025-04-09 · 0 comments