Skip to content
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

Restructure FFI #202

Merged
merged 12 commits into from
Jan 31, 2024
Merged

Restructure FFI #202

merged 12 commits into from
Jan 31, 2024

Conversation

TheBestTvarynka
Copy link
Collaborator

@TheBestTvarynka TheBestTvarynka commented Jan 29, 2024

Hi,
In this pull request, I've restructured the FFI crate and moved common bindings to the crates/ffi-types crate.

We plan to export SSPI and WinSCard functions from the one dll. So, I moved all SSPI-related bindings to the sspi module and placed the winscard functions definitions into the winscard module.

Also, I placed all winscard-related typings into a ffi-types crate. It'll help keep our code cleaner and reuse them when needed. Ideally, I think we should do the same with sspi: move sspi-related typing to this crate too.

Most of the changes are just typings. So, don't be afraid of this big number 😅

Docs & references:

@TheBestTvarynka TheBestTvarynka self-assigned this Jan 29, 2024
@TheBestTvarynka TheBestTvarynka marked this pull request as ready for review January 29, 2024 22:18
Copy link
Member

@CBenoit CBenoit left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you! I’ll merge once the CI is green.

@TheBestTvarynka
Copy link
Collaborator Author

Finally, the CI is green

@CBenoit
Copy link
Member

CBenoit commented Jan 31, 2024

Thank you! This time I’ll squash because there are intermediate commits which don’t pass the CI, so it’s not convenient for bisecting.

@CBenoit CBenoit merged commit 135a77f into winscard-rs-impl Jan 31, 2024
40 of 41 checks passed
@CBenoit CBenoit deleted the feature/restructure-ffi branch January 31, 2024 08:37
TheBestTvarynka added a commit that referenced this pull request Feb 13, 2024
TheBestTvarynka added a commit that referenced this pull request Feb 14, 2024
CBenoit pushed a commit that referenced this pull request Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants