-
Notifications
You must be signed in to change notification settings - Fork 76
Switch dart bindings to use native assets #1208
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
Switch dart bindings to use native assets #1208
Conversation
Pull Request Test Coverage Report for Build 19910130353Details
💛 - Coveralls |
8abfcec to
be117a8
Compare
ee4e79d to
5a49eb5
Compare
|
@benalleng looks like the cargo-mutants Diff CI job is failing due to a modification to |
59dc734 to
3592336
Compare
This changes the bitcoin-ffi revision accordingly to one that supports 0.30.
3592336 to
1a87042
Compare
With the changes from Uniffi-Dart/uniffi-dart#99, the native libraries can be compiled automagically in a dart build hook.
uniffi::generate_scaffolding! is only necessary when using UDL (https://mozilla.github.io/uniffi-rs/latest/tutorial/Rust_scaffolding.html). We use proc macros so we can skip build.rs entirely!
1a87042 to
52a4538
Compare
benalleng
left a comment
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.
uTACK on 52a4538 thanks for remembering to switch over from my bitcoin-ffi fork!
With the changes from Uniffi-Dart/uniffi-dart#99, the native libraries can be compiled automagically in a dart build hook, a feature added very recently in Dart 3.10 which solves a lot of packaging headaches.
Pull Request Checklist
Please confirm the following before requesting review:
AI
in the body of this PR.