Serde big arrays. An attribute macro to make (de)serializing big arrays painless, following a design proposed by dtolnay.
I saw the idea in request-for-implementation. Then I came up with the name.
The name was too good. I had to do it. Don't judge me.
Also: Serbia has some tasty food.
Under development, but functional. Let me know what's missing!
Just slap #[serbia]
on top of your type definition. Structs and enums both work!
```rust use serbia::serbia;
struct S { arra: [u8; 300], arrb: [u8; 42], arr_small: [u8; 8], }
enum E { ArrBig([u8; 300]), ArrSmall([u8; 22]), Mixed([u8; 8], [i32; 44], String), } ```