| Crates.io | uuidcell |
| lib.rs | uuidcell |
| version | 0.1.0 |
| created_at | 2021-08-12 13:21:57.948131+00 |
| updated_at | 2021-08-12 13:21:57.948131+00 |
| description | Ever needed Hash, not had it, and wanted a free implementation? Yes? Well this is probably not what you really want but enjoy |
| homepage | https://gitlab.com/elise/uuidcell |
| repository | https://gitlab.com/elise/uuidcell |
| max_upload_size | |
| id | 435232 |
| size | 27,205 |
UuidCell for Hash, supports both no_std (pRNG via oorandom) and std (slightly better pRNG via rand).
You need to enable one of the following features:
no_stdstdno_stdWith no_std you need to keep a mutable UuidCellBuilder around. You can call UuidCellBuilder::new() to obtain one, UuidCellBuilder::seed(some u128) to obtain one with a custom seed, then you can call UuidCellBuilder::build::<T>::(inner) to obtain a new UuidCell
stdWith std you can just call UuidCell::new(inner)