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

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

#12 in #hash-table

Download history 2/week @ 2024-02-21 1/week @ 2024-02-28 7/week @ 2024-03-13 20/week @ 2024-03-27 40/week @ 2024-04-03

112 downloads per month

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
~27K SLoC