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

move newtypes to sys #616

Merged
merged 1 commit into from
Apr 30, 2024
Merged

move newtypes to sys #616

merged 1 commit into from
Apr 30, 2024

Conversation

molpopgen
Copy link
Member

This PR moves the initial definition of newtypes from the main crate into sys.
The reason to move is that it will allow the lowest-level wrapper to have a "rustier" API.
The change will also eliminate the sometimes awkward need for .into().into() in the higher level API.

* re-export and document them from main crate.
@molpopgen molpopgen merged commit 41f2ff7 into main Apr 30, 2024
11 checks passed
@molpopgen molpopgen deleted the newtypes_to_sys branch April 30, 2024 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant