hashed

Crates.iohashed
lib.rshashed
version0.2.1
sourcesrc
created_at2019-08-02 21:59:29.031391
updated_at2019-08-03 05:38:12.00206
descriptionA Hashed type you can convert any hashable type into and still do equality checks on
homepage
repositoryhttps://github.com/milkey-mouse/hashed
max_upload_size
id153876
size15,017
Milkey Mouse (milkey-mouse)

documentation

README

hashed

Convert any hashable type into a much smaller Hashed<T> which still supports checking equality.

All that is stored inside the Hashed<T> is the u64 hash of the type, so this can save a lot of space over storing objects themselves, while being more convenient than hashing manually and with added type safety. The downside is, of course, the only thing you can do with the resulting Hashed<T> is check if it is equal to another Hashed<T>. No magic here.

Commit count: 9

cargo fmt