Parsing real-world data with Rust: introducing the alias_all attribute in Serde

While data formats should always be unambiguous, real-world data from external
providers often come with their set of issues. One of them is inconsistent
naming of some fields. By introducing a new attribute in Rust’s famous
serde library, we can however … Read more


Implementing a Type-safe printf in Rust

I show how to use heterogeneous lists and traits to implement a type-safe printf in Rust. These mechanisms can ensure that two variadic argument lists share important properties, like the number of format string holes matches the number of printf argument... (more…)

Read more »