-
Notifications
You must be signed in to change notification settings - Fork 123
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
Switch from base64
to data-encoding
#434
Conversation
It offers the same functionality and provides a simpler API that provides exactly what is needed here.
a707ddf
to
903483c
Compare
?r @torkleyy |
@sdroege Does |
Codecov ReportBase: 84.52% // Head: 87.23% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #434 +/- ##
==========================================
+ Coverage 84.52% 87.23% +2.70%
==========================================
Files 59 59
Lines 7470 7238 -232
==========================================
Hits 6314 6314
+ Misses 1156 924 -232
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Yes, and like
Sure, anything specific you're thinking of here or just a few encode/decode tests that contain base64 encoded bytes? |
I think one roundtrip test for all three places where base64 is used should be good + one to ensure we are really using the standard base64 encoding with padding (i.e. the equivalent of https://docs.rs/base64/latest/base64/engine/general_purpose/constant.STANDARD.html) |
Yeah that's exactly it :) I'll add some tests later! |
2c2739a
to
0b74461
Compare
0b74461
to
f140ed9
Compare
LGTM, I'll give @torkleyy a few days to give a review as well, otherwise I'll merge :) |
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.
LGTM
As a RON user, I would prefer if |
Thank you for voicing your concerns. I am pretty personally quite neural about which of the two libraries are used. |
It offers the same functionality and provides a simpler API that provides exactly what is needed here.
CHANGELOG.md