Starter repo - https://github.com/superdevs-org/week-1-basic-borsh

Continuing from the implementation on https://www.notion.so/Creating-your-own-Custom-derive-macro-Part-2-2317dfd1073580d0b6b7ea8852537040

  1. Support all number types
#[derive(SerializeNumberStruct, DeserializeNumberStruct)]
struct Swap {
    qty_1: u32,
    qty_2: usize,
    qty_3: i8
}

<aside> 💡

Use borsh like serialization and deserialization (le instead of be)

</aside>

Assignment here - https://github.com/superdevs-org/week-1-assignment-2 (same as the next one)