bdk-ffi
bdk-ffi copied to clipboard
Migration to the procedural macros system of uniffi-rs
I'm opening this issue to keep track of documentation, references, and discussions around the migration to the new uniffi-rs system.
It seems rust-nostr already successfully migrated their ffi part to proc-macro https://github.com/rust-nostr/nostr/pull/204
Thunder how interested are you in doing this at the current moment, just wondering what you're current thoughts would be for this
Looking into it now. I'm not sure if we'd be able to migrate everything or if some things would stay in the UDL and some would be proc macros.
But the one prerequisite to this is that we use the --library
flag to create the library, which is recommended anyway and is a good move forward no matter what if we can do it, so I think we can start with that and see where it leads us.
awesome, thanks for those thoughts, and --library makes sense to start like you're saying