id_factory

Crates.ioid_factory
lib.rsid_factory
version1.0.0
sourcesrc
created_at2020-10-22 18:55:21.10343
updated_at2023-11-05 23:21:02.686241
descriptionA library for creating typed or untyped id numbers.
homepage
repositoryhttps://github.com/Kimundi/id_factory
max_upload_size
id304434
size19,821
Marvin Löbel (Kimundi)

documentation

https://docs.rs/id_factory

README

A library for creating typed or untyped id numbers.

Example:

use id_factory::untyped::IdFactory;

let mut factory = IdFactory::new();

let id1 = factory.next_id();
let id2 = factory.next_id();
assert!(id1 != id2);
Commit count: 10

cargo fmt