idalloc 0.1.1

A library for different methods of allocating unique identifiers efficiently.
Documentation
# idalloc

[![Documentation](https://docs.rs/idalloc/badge.svg)](https://docs.rs/idalloc)
[![Crates](https://img.shields.io/crates/v/idalloc.svg)](https://crates.io/crates/idalloc)
[![Actions Status](https://github.com/udoprog/idalloc/workflows/Rust/badge.svg)](https://github.com/udoprog/idalloc/actions)

A library for different methods of allocating unique identifiers efficiently.

Provided methods:

* [Slab] - Allocates id in a slab-like manner, handling automatic
  reclamation by keeping a record of which identifier slot to allocate next.

# Examples

```rust
let mut alloc = idalloc::Slab::<u32>::new();
assert_eq!(0u32, alloc.next());
assert_eq!(1u32, alloc.next());
alloc.free(0u32);
```

[Slab]: https://docs.rs/idalloc/latest/idalloc/struct.Slab.html