Crates.io | tinymap |
lib.rs | tinymap |
version | 0.4.0 |
source | src |
created_at | 2020-08-21 00:29:20.034314 |
updated_at | 2023-02-10 00:08:47.352773 |
description | A map structure that stores its data on the stack |
homepage | |
repository | https://github.com/robjtede/tinymap |
max_upload_size | |
id | 278962 |
size | 51,311 |
An implementation of a binary tree-based map that uses the ArrayVec
from the tinyvec
crate as its backing. This should not be used outside of projects that require #![no_std]
. Even if your project is using #![no_std]
, consider having a feature gate that allows the usage of HashMap
or a similar type if the alloc
crate is available. The main purpose of this crate is to provide a similar API to HashMap
as a last resort in the event that HashMap
is not available.
This project, similarly to tinyvec
, also does not use any unsafe code.
This crate is dual-licensed under the Apache 2.0 License and the MIT license. Either can be used at your option.