O'Reilly logo

Mastering Rust by Vesa Kaihlavirta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exercises

  1. Write a Serializable trait with ser and deser methods. Create a custom derive attribute using macros 1.1, which implements those functions automatically. You don't have to be able to load and save every kind of type; just a few primitives will be more than fine.
  2. Write a compiler plugin that disallows too long functions.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required