Crates.io | idmap-derive |
lib.rs | idmap-derive |
version | 0.2.22 |
created_at | 2017-08-16 16:50:06.260915+00 |
updated_at | 2025-07-23 11:17:23.466033+00 |
description | Automaticatically derives traits for the idmap crate |
homepage | |
repository | https://github.com/DuckLogic/idmap.rs |
max_upload_size | |
id | 27774 |
size | 9,599 |
Efficient maps of integer id keys to values, backed by an underlying Vec
.
IntegerId
for enums and newtype structs
idmap-derive
proc_macro crateOrderMap
.
u32
needs to be stored.DirectIdMap
which doesn't preserve order,
and saves space when the ids of the map's keys are densely packed and mostly present.Licensed under either the Apache 2.0 License or MIT License at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.