File:Decrusting the serde crate.webm

Summary

Description
English: In this stream, we peel back the crust on the serde crate — https://github.com/serde-rs/serde/ — and explore its interface, structure, and mechanisms. We talk about Serialize/Deserialize, Serializer/Deserializer, and the Visitor trait. We also get into the serde data model, and in particular the separation between data types, serde data values, and data formats.

For more details about serde, see https://serde.rs/.

I use `cargo expand` extensively in this video, which you can find here: https://github.com/dtolnay/cargo-expand

The streaming calendar is at https://calendar.google.com/calendar/u/0?cid=NzE5YjZjZjA4YTlmMTFkYTRhNzMyMDgzYTQzYWEwMGE2MWE3OTQzZWE4NjRhNTc0MTdiNWRhMTNiMWZjOGNjYkBncm91cC5jYWxlbmRhci5nb29nbGUuY29t, with some other formats listed in https://twitter.com/jonhoo/status/1602067723986513920.

0:00:00 Introduction to "decrusted" 0:01:51 Regular streaming schedule 0:02:43 serde 0:04:28 The serde data model 0:14:51 Exploring serde's derived impls 0:17:05 Derived impl Serialize 0:27:56 Derived impl Deserialize 0:53:55 serde derive attributes 1:02:50 (De)serializing enum variants 1:07:31 Enum variant representations 1:24:32 Variant attributes 1:25:54 serde(borrow) 1:38:43 Writing data formats 1:49:48 Closing thoughts

Live version with chat: https://www.youtube.com/watch?v=9oVIyNiAiss
Date
Source YouTube: Decrusting the serde crate – View/save archived versions on archive.org and archive.todayCategory:Media from YouTube
Author Jon Gjengset

Licensing

This video, screenshot or audio excerpt was originally uploaded on YouTube under a CC BY license.
Their website states: "YouTube allows users to mark their videos with a Creative Commons CC BY license."
To the uploader: You must provide a link (URL) to the original file and the authorship information if available.
w:en:Creative Commons
attribution
This file is licensed under the Creative Commons Attribution 3.0 Unported license.
Attribution:
Jon Gjengset
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
Category:CC-BY-3.0#Decrusting%20the%20serde%20crate.webm
Category:Media from YouTube#Decrusting%20the%20serde%20crate.webm
This file, which was originally posted to an external website, has not yet been reviewed by an administrator or reviewer to confirm that the above license is valid. See Category:License review needed for further instructions.
Category:License review needed (video)#153340999 Category:Uploaded with video2commons Category:Videos of Rust (programming language)
Category:CC-BY-3.0 Category:License review needed (video) Category:Media from YouTube Category:Uploaded with video2commons Category:Videos of Rust (programming language)