Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impl Hash/Eq on BSON #494

Closed
NineLord opened this issue Sep 3, 2024 · 0 comments
Closed

Impl Hash/Eq on BSON #494

NineLord opened this issue Sep 3, 2024 · 0 comments
Assignees
Labels

Comments

@NineLord
Copy link
Contributor

NineLord commented Sep 3, 2024

Hi,
I would like to be able to use BSON as key in HashMap, aka implement Hash/Eq on BSON.
I understand that it isn't a best practice to do that, due to BSON::Document and BSON::Double, but having this ability (even behind a feature flag) would help a lot.
serde_json::Value does support that too.

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

No branches or pull requests

2 participants