Skip to content
Rust Search
← Browse conferences

A Deep Dive into Serde-Driven Reflection

EuroRust
23:46 1215 views

Do you know what code is generated when you use #[derive(Deserialize)]? And what that has to do with API design, reflection, and ergonomics? In this talk, we’ll explore a way to use the Serde (de)serialization crate to build an API that would otherwise be painful to use in a statically typed language like Rust. We’ll dive into Serde’s internals from two angles: the struct being deserialized, and the deserializer driving the process - and how they are connected by Serde’s unique trait architect

Player unavailable or embedding blocked? Use the YouTube link above.