Crate revision_derive
source ·Expand description
Exports the Revisioned
procedural macro attribute, and the derive procedural
macro that automatically generates the Revisioned trait on structs and enums.
The Revisioned
trait is automatically implemented for the following primitives:
u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128, isize, f32, f64, char,
String, Vec
Attribute Macros§
- Generates serialization and deserialization code as an implementation of the
Revisioned
trait for structs and enums.