-
Notifications
You must be signed in to change notification settings - Fork 83
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
Replace failure crate with thiserror #684
Conversation
bbad320
to
9c53ceb
Compare
Codecov Report
@@ Coverage Diff @@
## main #684 +/- ##
===========================================
+ Coverage 42.66% 62.48% +19.81%
===========================================
Files 234 237 +3
Lines 17824 23134 +5310
Branches 3521 5276 +1755
===========================================
+ Hits 7605 14455 +6850
+ Misses 7905 4551 -3354
- Partials 2314 4128 +1814
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
e66bd33
to
f72704a
Compare
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.
It's also great that indy-vdr
and indy-shared-rs
are both using thiserror
We'll just need rebase this
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
f72704a
to
f1b5bb7
Compare
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
32956f7
to
619c697
Compare
Replaces the dependency on outdated
failure
crate with the dependency onthiserror
inmessages
,aries-vcx-agent
,aries-vcx
andlibvcx
. Although our entire approach to logging needs to be reconsidered, removing a dependency on an unmaintained crate is likely not a step in the wrong direction.It seems that we have to temporarily give up backtrace in libvcx errors stored in
CURRENT_ERROR_C_JSON
untilerror_generic_member_access
is stabilized sincethiserror
makes use of unstableprovide()
method to the error type in order to capture and sharestd::backtrace::Backtrace
.