Crates.io | id_factory |
lib.rs | id_factory |
version | 1.0.0 |
source | src |
created_at | 2020-10-22 18:55:21.10343 |
updated_at | 2023-11-05 23:21:02.686241 |
description | A library for creating typed or untyped id numbers. |
homepage | |
repository | https://github.com/Kimundi/id_factory |
max_upload_size | |
id | 304434 |
size | 19,821 |
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);