Skip to content

Commit 2761eef

Browse files
committed
Upgrade UniFFI to 0.26.0
.. which features `async` support. It also requires us to bump `jna` to 5.12 and the `kotlinx-coroutines-core` test dependency to `1.6.4`.
1 parent 99ccb10 commit 2761eef

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ futures = "0.3"
6565
tokio = { version = "1", default-features = false, features = [ "rt-multi-thread", "time", "sync" ] }
6666
esplora-client = { version = "0.6", default-features = false }
6767
libc = "0.2"
68-
uniffi = { version = "0.25.1", features = ["build"], optional = true }
68+
uniffi = { version = "0.26.0", features = ["build"], optional = true }
6969

7070
[target.'cfg(vss)'.dependencies]
7171
vss-client = "0.2"
@@ -92,7 +92,7 @@ electrsd = { version = "0.26.0", features = ["legacy"] }
9292
clightningrpc = { version = "0.3.0-beta.8", default-features = false }
9393

9494
[build-dependencies]
95-
uniffi = { version = "0.25.1", features = ["build"], optional = true }
95+
uniffi = { version = "0.26.0", features = ["build"], optional = true }
9696

9797
[profile.release]
9898
panic = "abort"

bindings/kotlin/ldk-node-android/lib/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ repositories {
1616
}
1717

1818
android {
19-
compileSdk = 31
19+
compileSdk = 33
2020

2121
defaultConfig {
2222
minSdk = 21
@@ -41,7 +41,7 @@ android {
4141
}
4242

4343
dependencies {
44-
implementation("net.java.dev.jna:jna:5.8.0@aar")
44+
implementation("net.java.dev.jna:jna:5.12.0@aar")
4545
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7")
4646
implementation("androidx.appcompat:appcompat:1.4.0")
4747
implementation("androidx.core:core-ktx:1.7.0")
@@ -50,7 +50,7 @@ dependencies {
5050
androidTestImplementation("com.github.tony19:logback-android:2.0.0")
5151
androidTestImplementation("androidx.test.ext:junit:1.1.3")
5252
androidTestImplementation("androidx.test.espresso:espresso-core:3.4.0")
53-
androidTestImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1")
53+
androidTestImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
5454
androidTestImplementation("org.jetbrains.kotlin:kotlin-test-junit")
5555
}
5656

bindings/kotlin/ldk-node-jvm/lib/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ dependencies {
4747
// Use the Kotlin JDK 8 standard library.
4848
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
4949

50-
implementation("net.java.dev.jna:jna:5.8.0")
50+
implementation("net.java.dev.jna:jna:5.12.0")
5151
}
5252

5353
tasks.named<Test>("test") {

bindings/uniffi-bindgen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ edition = "2021"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
uniffi = { version = "0.25.1", features = ["cli"] }
9+
uniffi = { version = "0.26.0", features = ["cli"] }

0 commit comments

Comments
 (0)