Hacker GitHub

← All repos

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

Mentions per year 6 mentions · busiest year 2025 (5)
20082026
  1. …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
  2. …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
  3. …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