Skip to content

feat: Change encode/decode signatures to improve error handling#6

Open
okdistribute wants to merge 2 commits into
masterfrom
v2.0.0
Open

feat: Change encode/decode signatures to improve error handling#6
okdistribute wants to merge 2 commits into
masterfrom
v2.0.0

Conversation

@okdistribute

Copy link
Copy Markdown

Breaking change, will bump to 2.0.0

Fixes #5, see there for discussion.

@okdistribute okdistribute requested a review from Frando January 8, 2021 21:55
@okdistribute okdistribute mentioned this pull request Mar 12, 2021

@Frando Frando left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! The signatures of the new methods look good to me, and now more panic! 😄

I left a few small comments, the main one being that I'd propose to skip the failure dependency and just use a simple custom error type. Otherwise it's good to go for me!

Comment thread src/lib.rs
Comment thread src/lib.rs Outdated
Comment thread Cargo.toml Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

method signatures

2 participants