Crates.io | rudp2p_derive |
lib.rs | rudp2p_derive |
version | 0.1.0 |
source | src |
created_at | 2023-10-31 12:12:35.746519 |
updated_at | 2023-10-31 12:12:35.746519 |
description | Macros 1.1 implementation of #[derive(SerializeData, DeserializeData)] |
homepage | |
repository | |
max_upload_size | |
id | 1019759 |
size | 18,304 |
Derive macros for serialize Struct to bits and deserialize bits to Struct.
Example :
#[derive(SerializeData, DeserializeData)]
pub MyStruct {
name: String,
year: i32,
}