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 the bindings into a new uniffi_bindings crate. #2296

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

mhammond
Copy link
Member

@mhammond mhammond commented Nov 1, 2024

The idea is to move the templates and special-casing of the builtin bindings out from uniffi_bindgen.

Eventually, we'd drop all bindings generation from the top-level uniffi crate - you depend and use the specific bindings crate, just like consumers of 3rd-party languages are forced to do now. It helps keep some degree of separation between the bindings and the bindgen crate.

OTOH - it's yet another crate to release etc. Is it actually worth it? WDYT?

@mhammond
Copy link
Member Author

mhammond commented Nov 2, 2024

Assuming the split makes sense - maybe "uniffi_bindgen" is the correct name for the bindings, and it's the "build a component interface" part that should get a new name?

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.

1 participant