#derive #serialization #macro-derive #macro #proc-macro #rudp2p

macro rudp2p_derive

Macros 1.1 implementation of #[derive(SerializeData, DeserializeData)]

1 unstable release

0.1.0 Oct 31, 2023

#663 in #macro-derive

Custom license

13KB
336 lines

rudp2p_derive

Derive macros for serialize Struct to bits and deserialize bits to Struct.

Example :

#[derive(SerializeData, DeserializeData)]
pub MyStruct {
    name: String,
    year: i32,
}

Dependencies

~305–760KB
~18K SLoC