Crates.io | hash-that-set |
lib.rs | hash-that-set |
version | 0.1.0 |
source | src |
created_at | 2023-09-11 23:31:47.200933 |
updated_at | 2023-09-11 23:31:47.200933 |
description | Implements hashing for sets and maps themselves. Enables a map of maps to values, or a map of sets to values. |
homepage | https://github.com/A248/hash-that-set |
repository | https://github.com/A248/hash-that-set |
max_upload_size | |
id | 970221 |
size | 24,905 |
Implements hashing for HashSet
or HashMap
themselves. Enables a map of maps to values, or a map of sets to values.
Wherever a hashable HashSet
or HashMap
is needed, wrap it in a SumHashes
.
If you have unordered collections from third-party crates, wrap them in SumHashesAnyCollection
, which uses the default hasher per-element.
Add this library to your Cargo.toml:
[dependencies]
hash-that-set = "0.1"
If you ever happen to notice a place where a standard trait could be implemented, please open an issue or PR in this repository.
Licensed under the Apache License v2.0. See the LICENSE.txt.