-
Notifications
You must be signed in to change notification settings - Fork 9
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
Encoding trait #142
base: main
Are you sure you want to change the base?
Encoding trait #142
Conversation
Great job, no security vulnerabilities found in this Pull Request |
Introduce encoding trait and base64 encoded type to indicate data encoding to base64
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
18eaa84
to
9862fe0
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #142 +/- ##
==========================================
- Coverage 65.69% 65.67% -0.03%
==========================================
Files 193 194 +1
Lines 14933 14941 +8
==========================================
+ Hits 9810 9812 +2
- Misses 5123 5129 +6 ☔ View full report in Codecov by Sentry. |
Common is a really bad name and tells nothing about what it contains. Can this be a part of crypto or is it more generic than that? |
@Hinton it's more generic. For this improvement, we could probably move to crypto, but eventually we should create a |
📔 Objective
Add encoding trait. This trait will reduce code as more types are convertable to/from
EncString
. Additionally, this common crate will be useful to define things like type-safe base64 encoded string types, which can then be used to explicitly define API expectations.⏰ Reminders before review
team
🦮 Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or ℹ️ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or 💭 (:thought_balloon:
) for more open inquiry that's not quite a confirmedissue and could potentially benefit from discussion
:art:
) for suggestions / improvements:x:
) or:warning:
) for more significant problems or concerns needing attention:seedling:
) or ♻️ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes