use ipld_collections::List;
use libipld::error::Result;
use libipld::mem::MemStore;
use libipld::store::DefaultParams;
#[async_std::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let store = MemStore::<DefaultParams>::default();
let mut list = List::new(store, 64, 256).await?;
for i in 0..1024 {
list.push(i as i64).await?;
}
Ok(())
}