Skip to content

Commit cbdd07c

Browse files
author
github-actions
committed
Update Nostr SDK Swift bindings to version 0.0.1
1 parent 06c2dd7 commit cbdd07c

File tree

2 files changed

+2598
-0
lines changed

2 files changed

+2598
-0
lines changed

Package.swift

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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 package = Package(
7+
name: "nostr-sdk-swift",
8+
platforms: [
9+
.macOS(.v12),
10+
.iOS(.v14),
11+
],
12+
products: [
13+
.library(name: "NostrSDK", targets: ["nostr_sdkFFI", "NostrSDK"]),
14+
],
15+
dependencies: [
16+
],
17+
targets: [
18+
.binaryTarget(name: "nostr_sdkFFI", url: "https://github.com/rust-nostr/nostr-sdk-swift/releases/download/0.0.1/nostr_sdkFFI.xcframework.zip", checksum: "964ffb31c9c8ddb4c7ddd954d741225f9c712db2f5fb6955de9fd8a72bff4cff"),
19+
.target(name: "NostrSDK", dependencies: ["nostr_sdkFFI"]),
20+
]
21+
)

0 commit comments

Comments
 (0)