anchor-cereal
A quality of life package for Anchor made to support the Solana ecosystem. Currently, it allows you to serialize a struct containing an array of any size, while still showing up in your IDL. More features coming soon!! :)
Usage
use *;
...
// Define a struct to wrap your array - it must:
// - derive Clone, AnchorSerializeArray, and AnchorDeserializeArray
// - contain a single field named `value`, which is an array.
// You can then use your struct in accounts...
...
// ...and instructions.