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

Using multiple uniffi libraries together meta issue #619

Open
thunderbiscuit opened this issue Nov 4, 2024 · 1 comment
Open

Using multiple uniffi libraries together meta issue #619

thunderbiscuit opened this issue Nov 4, 2024 · 1 comment
Milestone

Comments

@thunderbiscuit
Copy link
Member

thunderbiscuit commented Nov 4, 2024

This issue tracks a number of related-or-maybe-not-related issues we have found over the past few weeks relating to the use of multiple uniffi-based libraries used in the same project.

Issues

  1. The glue code created from bitcoin-ffi includes types the bdk-ffi library has not imported in its UDL. Issue with types not used in libraries that depend on bitcoin-ffi bitcoin-ffi#27. The related uniffi issue is Issue using only a few types from a uniffi dependency in a uniffi library  mozilla/uniffi-rs#2282
  2. Using different versions of uniffi in completely separate libraries built with uniffi creates application compilation errors in Swift (@jurvis)
  3. Using BDK + LDK Node in the same project does not build LDK Node + BDK #620
  4. Importing multiple swift bindings modulemap collision Importing multiple swift bindings modulemap collision #621
@thunderbiscuit thunderbiscuit added this to the 1.0 Release milestone Nov 14, 2024
@thunderbiscuit
Copy link
Member Author

The way to import external types is changing significantly with the new release of uniffi: see https://github.com/mozilla/uniffi-rs/blob/main/CHANGELOG.md#%EF%B8%8F-breaking-changes-%EF%B8%8F.

I don't know if this would solve or change anything for us, but we could test it out using the main branch of uniffi.

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

No branches or pull requests

1 participant