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

Automatically choose correct UniFFI version #37

Open
4 tasks
antoniusnaumann opened this issue Oct 20, 2023 · 1 comment
Open
4 tasks

Automatically choose correct UniFFI version #37

antoniusnaumann opened this issue Oct 20, 2023 · 1 comment
Labels
dependency Issue related to 3rd party dependency package Related to the 'package' subcommand
Milestone

Comments

@antoniusnaumann
Copy link
Owner

antoniusnaumann commented Oct 20, 2023

As cargo swift depends on uniffi-bindgen, it might be possible that users try to

  • Depend on multiple versions of UniFFI via dependency renaming in Cargo.toml
  • Detect the UniFFI version used by the project and pick the appropriate bindgen version
  • Display a warning if users try to package for a version that is not yet supported
  • Display a warning for crates that depend on a local or a git version of UniFFI
@antoniusnaumann antoniusnaumann added package Related to the 'package' subcommand dependency Issue related to 3rd party dependency labels Oct 20, 2023
@antoniusnaumann antoniusnaumann changed the title Choose correct UniFFI version Automatically choose correct UniFFI version Oct 20, 2023
@antoniusnaumann antoniusnaumann modified the milestones: v0.5.0, 0.5.1, v0.3.0 Oct 20, 2023
@antoniusnaumann
Copy link
Owner Author

This would allow supporting new UniFFI versions without causing a breaking change.

@antoniusnaumann antoniusnaumann modified the milestones: v0.5.0, 0.6.0 Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency Issue related to 3rd party dependency package Related to the 'package' subcommand
Projects
None yet
Development

No branches or pull requests

1 participant