derive_lit

Are you developing a data structure?

rust struct GroceryList { num_items: usize, item_ids: Vec<usize> }

And your data structure lets you add data to it?

```rust impl GroceryList { fn new() -> Self { Self { numitems: 0, itemids: vec![] } }

fn push(&mut self, item_id: usize) {
    self.item_ids.push(item_id);
}

} ```

Wouldn't it be cool if you could do this?

```rust fn main() { let groceries = grocery_list![ 0, 9, 8, 4 ];

// do something intersting with your GroceryList...

} ```

What if you could just...

```rust use derive_lit::VecLit;

[derive(VecLit)]

struct GroceryList { numitems: usize, itemids: Vec } ```

You can! Use derive_lit::*. Just a derive_lit = "0.1.0" away!