Crates.io | freelist-rs |
lib.rs | freelist-rs |
version | 0.0.4 |
source | src |
created_at | 2024-09-22 18:47:14.15077 |
updated_at | 2024-10-03 15:17:19.770506 |
description | Free list for numeric values |
homepage | |
repository | https://github.com/piot/freelist-rs |
max_upload_size | |
id | 1383200 |
size | 6,914 |
A simple and efficient free list implementation in Rust, designed for managing the allocation and recycling of numeric IDs. Free numbers are recycled as late as possible to ensure minimal reuse over time, based on a Last In, First Out (LIFO) policy.
Add the following to your Cargo.toml file:
[dependencies]
freelist-rs = "^0.0.3"
This library is licensed under the MIT License. See LICENSE for details.