-
Notifications
You must be signed in to change notification settings - Fork 33
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
Serialize/Deserialize to/from Vec<u8> #57
Comments
I don't think there is a way to currently serialize hibitset. |
The optional serde patch I tried works fine, let me know if you would like a pull request. To use it looks like this, super easy to use:
|
I wouldn't resist adding such feature, so if you want to create PR it would be appreciated. We most likely want to have it under a feature flag so we wont incur unnecessary dependencies users of the library. |
Exactly how I implemented it (as an optional feature) :) I will submit a PR when I have fully tested it. |
The PR has been submitted, let me know if you need anything else. |
Is there a way to serialize hibitset to bytes? I could implement Serde and use bincode, but wanted to know if there is an existing way to do this.
I tested adding optional serde to the source code and it works fine, if you like I can fork and submit a pull request.
The text was updated successfully, but these errors were encountered: