Skip to content

Commit a25ae51

Browse files
Merge pull request #4 from synonymdev/fix/uniffi-conflicts
fix: upgrade uniffI to 0.28.3 and resolve iOS framework conflicts
2 parents 12672cf + 4b14523 commit a25ae51

28 files changed

+4790
-2023
lines changed

Cargo.lock

Lines changed: 44 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "vss-rust-client-ffi"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
edition = "2021"
55
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
66

@@ -10,7 +10,7 @@ name = "vss_rust_client_ffi"
1010

1111

1212
[dependencies]
13-
uniffi = { version = "0.25.3", features = [ "cli" ] }
13+
uniffi = { version = "0.28.3", features = [ "cli" ] }
1414
serde = { version = "^1.0.209", features = ["derive"] }
1515
tokio = "1.40.0"
1616
once_cell = "1.19.0"

Package.swift

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// swift-tools-version:5.5
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+
import PackageDescription
5+
6+
let tag = "v0.3.1"
7+
let checksum = "f5d926feb8c48c0e1e61d6d9bd958d2c0989ec188f2887aa78cf34ae97a5b083"
8+
let url = "https://github.com/synonymdev/vss-rust-client-ffi/releases/download/\(tag)/VssRustClientFfi.xcframework.zip"
9+
10+
let package = Package(
11+
name: "vss-rust-client-ffi",
12+
platforms: [
13+
.iOS(.v13),
14+
.macOS(.v11),
15+
],
16+
products: [
17+
.library(
18+
name: "VssRustClientFfi",
19+
targets: ["VssRustClientFfi", "VssRustClientFfiFFI"]),
20+
],
21+
targets: [
22+
.target(
23+
name: "VssRustClientFfi",
24+
dependencies: ["VssRustClientFfiFFI"],
25+
path: "./bindings/ios",
26+
sources: ["vss_rust_client_ffi.swift"]
27+
),
28+
.binaryTarget(
29+
name: "VssRustClientFfiFFI",
30+
url: url,
31+
checksum: checksum
32+
)
33+
]
34+
)

bindings/android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ android.useAndroidX=true
33
android.nonTransitiveRClass=true
44
kotlin.code.style=official
55
# project settings:
6-
version=0.3.0
6+
version=0.3.1
Binary file not shown.
Binary file not shown.
-34.6 KB
Binary file not shown.
-42.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)