General purpose algorithms to generate unique identifiers.
rust let mut alloc = idalloc::Slab::<u32>::new(); assert_eq!(0u32, alloc.next()); assert_eq!(1u32, alloc.next()); alloc.free(0u32);