Crate dessert_derive

Source
Expand description

§Dessert-Derive

Provide derive macros for the desert crate, which provide a simpler interface to implement custom SerDe Serialize and Deserialize traits.

Derive Macros§

  • This function is responsible for taking a TokenStream and generate the appropriate code to derive ViaDeserialize. use the #[derive(ViaDeserialize)]
  • This function is responsible for taking a TokenStream and generate the appropriate code to derive ViaSerialize. use the #[derive(ViaSerialize)]