
Oxide and Friends Crates We Love
58 snips
Jan 16, 2025 Rain Paharia and Eliza Weisman, both key members of the Oxide team, dive into the vibrant world of Rust crates. They explore innovative tools like the 'pretty please' crate for code formatting and Miette for error handling. The duo shares their experiences navigating Rust's CLI ecosystem, highlighting crates such as Clap and Lexopt. They also discuss the powerful capabilities of the PetGraph library and the often overlooked Bytes crate for network data handling, blending technical insights with a dash of humor.
AI Snips
Chapters
Books
Transcript
Episode notes
Serialization with Postcard
- Use postcard for a compact and efficient serialization format, similar to hubris but with key differences.
- Postcard uses varints for integers, providing tighter serialization.
DMA-Safe Queues
- Use bbqueue, a multi-consumer, multi-producer byte queue for DMA-safe operations.
- It works with both static and dynamic memory allocation, making it suitable for embedded projects.
Graph Data Structures
- Use petgraph for graph representation and algorithms in Rust.
- It provides multiple graph representations, including adjacency lists and matrices, and has a rich set of algorithms.





