-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add optional serde support #8
Conversation
Pull Request Test Coverage Report for Build 1326189458
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great! Thank you for your contribution!
Please check out red CI jobs.
Excellent question! It deserves a separate issue - #9 |
Whoops, should be in order now! |
Hi, not sure what's up with clippy:
Running cargo clippy on my system displays no lints. |
That's a warning that it's unable to create annotations in PR for clippy warnings. However, I don't understand why clippy sees serde import as unused. I'm merging it. :) |
@SethDusek Well, it turned out clippy was on to something here. :) With enabled serde feature, build fails on |
Pull Request Test Coverage Report for Build 1326189458Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
This will be useful for using BoundedVec in sigma-rust. Also, I was wondering, what are your thoughts on adding a try_push function to BoundedVec? It'd make it a bit easier to use, it could return an Option or Result if there's no more room in the vector.