Crates.io | limnus-assets |
lib.rs | limnus-assets |
version | 0.0.12 |
source | src |
created_at | 2024-11-24 19:38:06.787697 |
updated_at | 2024-12-03 18:51:32.131462 |
description | store assets in a slot map |
homepage | |
repository | https://github.com/swamp/limnus |
max_upload_size | |
id | 1459532 |
size | 8,027 |
limnus-assets
is a simple and efficient asset management system built on top of the sparse-slot
. It is
designed to store and manage assets with unique identifiers, providing functionality for insertion, removal,
and access to assets. The system supports both immutable and mutable access to assets and is suitable for
use in game engines or any other system that needs to manage assets efficiently.
sparse-slot
for efficient handling of assets by index and generation.Id
).get
and get_mut
.iter
method, providing both the Id
and the asset.is_empty
and len
.To use limnus-assets
, add it to your Cargo.toml
:
[dependencies]
limnus-assets = "0.0.12"
This project is licensed under the MIT License - see the LICENSE file for details.