forked from xmtp/xmtp-rust-swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
30 lines (29 loc) · 811 Bytes
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// swift-tools-version:5.3
import PackageDescription
import Foundation
let package = Package(
name: "XMTPRust",
platforms: [
.iOS(.v13),
.macOS(.v11)
],
products: [
.library(
name: "XMTPRust",
targets: ["XMTPRust", "XMTPRustSwift"]),
],
targets: [
.target(
name: "XMTPRust",
dependencies: ["XMTPRustSwift"],
path: "Sources/XMTPRust"
),
.binaryTarget(
name: "XMTPRustSwift",
path: "XMTPRustSwift.xcframework"),
.testTarget(
name: "XMTPRust-Tests",
dependencies: ["XMTPRust"],
path: "Tests/XMTPRust-Tests")
]
)