-
Notifications
You must be signed in to change notification settings - Fork 20
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
Implement Serialize and Deserialize #46
Conversation
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.
Good idea in principle! The major change I'd like to see is making this feature optional and disabled by default, so that people don't bring in serde
as a dependency unless they actually want it.
I'd also like to see a section of documentation in the README
describing the features, the defaults, etc.
Co-authored-by: Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com>
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.
Thanks for your contribution!
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [counter](https://github.com/coriolinus/counter-rs) | dependencies | minor | `0.5.7` -> `0.6.0` | --- ### Release Notes <details> <summary>coriolinus/counter-rs (counter)</summary> ### [`v0.6.0`](https://github.com/coriolinus/counter-rs/releases/tag/v0.6.0) [Compare Source](https://github.com/coriolinus/counter-rs/compare/v0.5.7...v0.6.0) #### What's Changed - update edition, add `counter` keyword by [@​chris-ha458](https://github.com/chris-ha458) in [https://github.com/coriolinus/counter-rs/pull/34](https://github.com/coriolinus/counter-rs/pull/34) - refactor tests and impls into distinct modules by [@​chris-ha458](https://github.com/chris-ha458) in [https://github.com/coriolinus/counter-rs/pull/36](https://github.com/coriolinus/counter-rs/pull/36) - small doc formatting by [@​chris-ha458](https://github.com/chris-ha458) in [https://github.com/coriolinus/counter-rs/pull/38](https://github.com/coriolinus/counter-rs/pull/38) - deprecate `init` method by [@​coriolinus](https://github.com/coriolinus) in [https://github.com/coriolinus/counter-rs/pull/41](https://github.com/coriolinus/counter-rs/pull/41) - do not use deprecated `init` method by [@​coriolinus](https://github.com/coriolinus) in [https://github.com/coriolinus/counter-rs/pull/42](https://github.com/coriolinus/counter-rs/pull/42) - With capacity by [@​chris-ha458](https://github.com/chris-ha458) in [https://github.com/coriolinus/counter-rs/pull/40](https://github.com/coriolinus/counter-rs/pull/40) - Clippy fixes by [@​chris-ha458](https://github.com/chris-ha458) in [https://github.com/coriolinus/counter-rs/pull/43](https://github.com/coriolinus/counter-rs/pull/43) - Implement Serialize and Deserialize by [@​matthewmcintire-savantx](https://github.com/matthewmcintire-savantx) in [https://github.com/coriolinus/counter-rs/pull/46](https://github.com/coriolinus/counter-rs/pull/46) #### New Contributors - [@​chris-ha458](https://github.com/chris-ha458) made their first contribution in [https://github.com/coriolinus/counter-rs/pull/34](https://github.com/coriolinus/counter-rs/pull/34) - [@​matthewmcintire-savantx](https://github.com/matthewmcintire-savantx) made their first contribution in [https://github.com/coriolinus/counter-rs/pull/46](https://github.com/coriolinus/counter-rs/pull/46) **Full Changelog**: coriolinus/counter-rs@v0.5.7...v0.5.8 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/ruancomelli/learning-rust). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZSJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Useful for web assembly