| Crates.io | storage_api |
| lib.rs | storage_api |
| version | 0.5.1 |
| created_at | 2025-04-13 10:28:51.304604+00 |
| updated_at | 2025-05-06 09:07:30.742247+00 |
| description | Implementation of the Storage API, a better version of Allocator |
| homepage | |
| repository | https://github.com/HomelikeBrick42/StorageAPI |
| max_upload_size | |
| id | 1631711 |
| size | 54,815 |
Note: This crate currently requires using nightly by default, unless you make default-features = false, this is so Box can support T: ?Sized
This is an implementation of the Storage API, a better version of the Allocator API, and data structures made for them including
BoxVecStringAllocator?Storages have an associated Handle type so allocations dont need to be represented by a pointer, which allows Storages to allocate from a buffer they store inline
Instead of having Vec and ArrayVec as 2 seperate data structures they can be merged together, only using different Storages