#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

#1022 in Data structures

Download history 1/week @ 2023-12-17 5/week @ 2023-12-24 20/week @ 2023-12-31 3/week @ 2024-01-07 4/week @ 2024-01-14 1/week @ 2024-01-21 3/week @ 2024-02-25 7/week @ 2024-03-10 151/week @ 2024-03-31

158 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
~28K SLoC