Use UniFFI library mode #30
Labels
breaking
A (possibly) breaking change, causing a major version bump
package
Related to the 'package' subcommand
proc-macro
Affects compatibility with UniFFI's proc macros
refactor
Increases code quality and maintainability
udl
Affects compatibility with UniFFI's udl files
Milestone
As mentioned in the UniFFI docs, library mode, which was introduced in UniFFI 0.24 will become the default.
Currently, cargo swift just assumes that there is exactly one .udl file named lib.udl, resulting in an error when not present. Omitting the udl file might be desirable for crates that exclusively use proc-macros as mentioned in #26.
UniFFI library mode locates the .udl files itself, removing the need for cargo swift to take care of this.
The text was updated successfully, but these errors were encountered: