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

macro rudp2p_derive

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

1 unstable release

0.1.0 Oct 31, 2023

#719 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

~255–700KB
~17K SLoC