Skip to content

Commit

Permalink
Upgrade UniFFI version to 0.28
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniusnaumann committed Jun 17, 2024
1 parent c6bb160 commit ff502b7
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 27 deletions.
30 changes: 12 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "cargo-swift"
description = "A cargo plugin to easily build Swift packages from Rust code for use in iOS and macOS applications"
version = "0.7.1"
version = "0.8.0"
edition = "2021"
authors = ["Antonius Naumann <[email protected]>"]
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -35,7 +35,7 @@ execute = "0.2.13"
indicatif = "0.17.8"

# FFI Bindings
uniffi_bindgen = { version = "0.27.0" }
uniffi_bindgen = { version = "0.28.0" }

# Error Handling
anyhow = "1.0.81"
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Currently, `cargo swift` does not detect the UniFFI version of your project auto
| 0.25 | 0.5 |
| 0.26 | 0.6 |
| 0.27 | 0.7 |
| 0.28 | 0.8 |

To do so, run
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ crate-type = ["cdylib", "staticlib", "lib"]
name = "greeter"

[dependencies]
uniffi = "0.27"
uniffi = "0.28"
greeter-lib = { path = "./greeter-lib" }
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
uniffi = "0.27"
uniffi = "0.28"
2 changes: 1 addition & 1 deletion swift-examples/hello-world-macro/greeter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ crate-type = ["cdylib", "staticlib", "lib"]
name = "greeter"

[dependencies]
uniffi = "0.27"
uniffi = "0.28"
4 changes: 2 additions & 2 deletions swift-examples/hello-world/greeter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ crate-type = ["cdylib", "staticlib", "lib"]
name = "greeter"

[dependencies]
uniffi = "0.27"
uniffi = "0.28"

[build-dependencies]
uniffi = { version = "0.27", features = ["build"] }
uniffi = { version = "0.28", features = ["build"] }
4 changes: 2 additions & 2 deletions templates/template.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ crate-type = ["{{ lib_type }}", "lib"]
name = "{{ namespace }}"

[dependencies]
uniffi = "0.27"
uniffi = "0.28"

{% if !macro_only %}
[build-dependencies]
uniffi = { version = "0.27", features = ["build"] }
uniffi = { version = "0.28", features = ["build"] }
{%- endif %}

0 comments on commit ff502b7

Please sign in to comment.