-
Notifications
You must be signed in to change notification settings - Fork 76
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
Remove dependency on macros package from c api #352
Remove dependency on macros package from c api #352
Conversation
I'm extending the tests in didkit-c to validate the values returned are still what we expect to be returned. The changes to remove the didkit macros were more complex than expected. |
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.
I think the PR does a bit too much compared to what it was supposed to do, even though it's mostly for the better. Just makes the review a bit harder.
Two additional points:
- the actual removal of the macro is missing; and
- Clippy raises a few warnings, the base branch isn't up to date with main so that's why the CI isn't failing. Can you address the warnings raised from this PR please?
PR Feedback indicated that the long 'and_then' chains used to marshal C strings into rust data structures were difficult to read. I've replaced them in two functions to see if reviewers prefer the new function calls. Impacted functions are: * didkit_key_to_did * didkit_vc_issue_credential
PR Feedback indicated that the long 'and_then' chains used to marshal C strings into rust data structures were difficult to read. I've replaced them in two functions to see if reviewers prefer the new function calls. Impacted functions are: * didkit_key_to_did * didkit_vc_issue_credential
…ceid/didkit into feat/remove-didkit-macro-from-c-api
Removes dependency on didkit_macros from the C API.
Tests covering this are in the didkit-c repo, PR: https://github.com/spruceid/didkit-c/pull/3