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

Download history 3/week @ 2026-01-07 31/week @ 2026-01-14 27/week @ 2026-01-21 28/week @ 2026-01-28 18/week @ 2026-02-04 3/week @ 2026-02-11 31/week @ 2026-02-18 17/week @ 2026-02-25 19/week @ 2026-03-04 30/week @ 2026-03-11 26/week @ 2026-03-18 8/week @ 2026-03-25 23/week @ 2026-04-01 28/week @ 2026-04-08 37/week @ 2026-04-15 19/week @ 2026-04-22

107 downloads per month
Used in 13 crates (6 directly)

Apache-2.0

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