Skip to content
This repository has been archived by the owner on Aug 15, 2021. It is now read-only.

Implement Hash trait for Value #130

Open
pyfisch opened this issue Jun 23, 2019 · 0 comments
Open

Implement Hash trait for Value #130

pyfisch opened this issue Jun 23, 2019 · 0 comments

Comments

@pyfisch
Copy link
Owner

pyfisch commented Jun 23, 2019

The serde_cbor::Value should implement std::hash::Hash, so it can be used in HashMap and others.

This is a bit work as k1 == k2 -> hash(k1) == hash(k2) must hold.

If you need this, please leave a comment.

See also #47

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant