Skip to content

Commit 16d7821

Browse files
committed
chore: update bindings for 0.6.2
- add bindings README.md - remove android bindings README.md - update bindings - bump version to v0.6.2-rc.1
1 parent a619032 commit 16d7821

File tree

11 files changed

+8374
-8480
lines changed

11 files changed

+8374
-8480
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,6 @@ swift.swiftdoc
3131
# fork
3232
!/bindings/kotlin/ldk-node-android/lib/src/main/jniLibs
3333
!/bindings/kotlin/ldk-node-android/lib/src/main/kotlin/org/lightningdevkit/ldknode/ldk_node.kt
34+
.idea
35+
*.local.*
36+
CLAUDE.md

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ldk-node"
3-
version = "0.6.2"
3+
version = "0.6.2-rc.1"
44
authors = ["Elias Rohrer <[email protected]>"]
55
homepage = "https://lightningdevkit.org/"
66
license = "MIT OR Apache-2.0"

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
import PackageDescription
55

6-
let tag = "v0.6.2"
7-
let checksum = "dee28eb2bc019eeb61cc28ca5c19fdada465a6eb2b5169d2dbaa369f0c63ba03"
6+
let tag = "v0.6.2-rc.1"
7+
let checksum = "9aeeb548ddf2b3699fcb07b3bbb99d691d4361a45f53a2eee473fcaacc7f1db9"
88
let url = "https://github.com/synonymdev/ldk-node/releases/download/\(tag)/LDKNodeFFI.xcframework.zip"
99

1010
let package = Package(

bindings/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## Generating the Bindings
2+
3+
Run in the root dir:
4+
```sh
5+
RUSTFLAGS="--cfg no_download" cargo build && ./scripts/uniffi_bindgen_generate.sh && ./scripts/swift_create_xcframework_archive.sh && sh scripts/uniffi_bindgen_generate_kotlin_android.sh
6+
```
7+
8+
---
9+
10+
Detailed instructions for publishing a new version of the bindings.
11+
12+
1. Update `Cargo.toml`
13+
2. Update `libraryVersion` in `bindings/kotlin/ldk-node-android/gradle.properties`
14+
3. Run the command to generate all bindings
15+
4. Open a PR with the changes
16+
5. Create a new GitHub release with a new tag like `v0.1.0`, uploading the following files:
17+
- `bindings/swift/LDKNodeFFI.xcframework.zip`

bindings/kotlin/ldk-node-android/README.md

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)