15 releases (8 stable)

1.6.0 Sep 25, 2023
1.5.1 May 16, 2022
1.5.0 Apr 22, 2021
1.3.0 Feb 14, 2021
0.3.0 Oct 4, 2015

#246 in Caching

Download history 1606/week @ 2025-10-10 2693/week @ 2025-10-17 2114/week @ 2025-10-24 419/week @ 2025-10-31 499/week @ 2025-11-07 358/week @ 2025-11-14 343/week @ 2025-11-21 384/week @ 2025-11-28 304/week @ 2025-12-05 409/week @ 2025-12-12 241/week @ 2025-12-19 361/week @ 2025-12-26 366/week @ 2026-01-02 490/week @ 2026-01-09 507/week @ 2026-01-16 406/week @ 2026-01-23

1,829 downloads per month
Used in 2 crates

MIT/Apache

72KB
1.5K SLoC

crates.io Documentation ci

hashconsing

hashconsing is a Rust hash consing library.

It is based on Type-Safe Modular Hash-Consing by Filliâtre and Conchon. It is slightly less efficient as uses Rust's HashMaps, not a custom built structure.

For more details see the documentation.

Known projects using hashconsing

  • kinō, a model-checker for transition systems
  • hoice, a machine-learning-based predicate synthesizer for horn clauses

License

MIT/Apache-2.0

Contributors

Dependencies

~230KB