Skip to content

v0.3.1

Compare
Choose a tag to compare
@antoniusnaumann antoniusnaumann released this 02 Aug 15:55
· 121 commits to main since this release

What's Changed

0.3.1

This release brings options to choose if the library should be built as dynamic or static library and fixes a bug related to dynamic libraries. Happy building!

  • Add option to specify library type to both init and package command
  • Infer the library type from the crate types given in Cargo.toml if no library type was specified explicitly
  • Display UniFFI error log as discussed in #21, thanks to @dylanowen for providing a suggested fix
  • Fix a bug (#20) where the @rpath is not set correctly for dynamic libraries, thanks again to @dylanowen for pointing this out

Full Changelog: v0.3.0...v0.3.1

0.3.0

With this release, cargo swift uses Mozilla's UniFFI for generating Swift bindings. This will allow users of cargo swift to generate bindings to other languages supported by UniFFI from the same codebase!

  • Migrate to UniFFI
  • Add --plain flag to init command to generate a new project without example code
  • Show errors from failed build steps in package command
  • Improve error messages