The journey of hacking in a new serde dataformat
- Track: Rust devroom
- Room: H.1308 (Rolin)
- Day: Saturday
- Start: 18:20
- End: 19:00
- Video only: h1308
- Chat: Join the conversation!
The latest version of neo4rs
—a Rust driver for the Neo4j graph database developed under the "Neo4j Labs" incubator—changes its API for reading data to use serde. Serde is a library for serialization and deserialization of any user-defined type into and from a number of different data formats.
Most material about serde focuses on the user-defined types, though for this talk, I want to present the—still ongoing—journey of building a new bolt dataformat for serde. Follow me down the rabbit hole and peek under the hood of serde to show how the various types and traits interact, what gotchas and caveats await and how to craft an API that is more than just 1:1 struct <--> data mapping.
Speakers
Paul Horn |