16 releases (4 major breaking)
| 4.0.0 | Oct 24, 2025 |
|---|---|
| 3.0.0 | Oct 7, 2025 |
| 2.1.0 | Jun 15, 2025 |
| 1.2.0 | Sep 20, 2024 |
| 0.3.0 | Jul 23, 2024 |
#5 in #set-iterator
107 downloads per month
Used in 13 crates
(6 directly)
120KB
2.5K
SLoC
light-hash-set
Hash set stored on a Solana account. Uses quadratic probing with sequence-number-based expiry for element invalidation.
| Type | Description |
|---|---|
HashSet |
Insert, find, contains, and mark elements by sequence number |
HashSetCell |
Cell storing a 32-byte value and optional sequence number |
HashSetError |
Full, duplicate, not found, and overflow errors |
HashSetIterator |
Iterates over occupied cells |
zero_copy |
Zero-copy deserialization from account data |
Dependencies
~0.6–1.5MB
~33K SLoC