Have you run cargo bloat
and been astounded at the percentage of serde
-generated bytes?
Are you haunted by the idea that LLVM needs to chew through a substantial amount of IR?
Do you wish Debug
wasn't subject to similar sorts of bloat?
Do you wish you had a runtime representation of the shape of some Rust data?
- Use
#[derive(Reflect)]
on the types you want to handle - Construct a database
- Register the relevant type information with the database
- Call
db.deserialize
ordb.serialize