Crates.io | seq-map |
lib.rs | seq-map |
version | 0.0.13 |
source | src |
created_at | 2024-09-28 21:46:55.502081 |
updated_at | 2024-12-09 21:45:59.620058 |
description | Sequential Map |
homepage | |
repository | https://github.com/piot/seq-map |
max_upload_size | |
id | 1390393 |
size | 23,732 |
SeqMap is a deterministic and ordered map implementation in Rust that preserves the insertion order of key-value pairs. It combines the efficiency of a HashMap
for quick key lookups with the ordered iteration provided by a Vec
. This makes SeqMap
ideal for scenarios where the order of elements is important and predictable.
HashMap
internally for O(1)
average-case key lookups.Add seq-map
to your Cargo.toml
dependencies:
[dependencies]
seq-map = "0.0.1"