#hash-table #key-value #table #key-hash #hash #struct

hash_table_datastruct

Adds a HashTable type, allowing to store values in a table with integer-indexed rows and hashable keys for columns

10 releases (5 breaking)

0.6.3 Jan 20, 2024
0.6.2 Jan 6, 2024
0.5.0 Dec 26, 2023
0.4.0 Dec 22, 2023
0.1.0 Dec 19, 2023

#1375 in Data structures

MIT license

42KB
1K SLoC

Hash Table (data structure)

This crate provides a 2d data structure where columns are indexed by hashable keys and rows are indexed using an unsigned integer (usize).

Features

Name Description Enabled by default?
hashbrown Uses hashbrown instead of std hashmap No
serde Serde trait implementations Yes
hashbrown-serde Enables hashbrown's serde feature and serde and hashbrown features of this crate No

Dependencies

~0.4–1.3MB
~26K SLoC