-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
27 lines (26 loc) · 865 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
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "PhonePeKit",
platforms: [
.macOS(.v13)
],
products: [
.library(name: "PhonePeKit", targets: ["PhonePeKit"])
],
dependencies: [
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.20.0"),
.package(url: "https://github.com/apple/swift-crypto.git", from: "3.1.0")
],
targets: [
.target(name: "PhonePeKit", dependencies: [
.product(name: "AsyncHTTPClient", package: "async-http-client"),
.product(name: "Crypto", package: "swift-crypto"),
], swiftSettings: [
.unsafeFlags(["-Xfrontend", "-warn-concurrency"])
]),
.testTarget(name: "PhonePeKitTests", dependencies: [
.target(name: "PhonePeKit")
])
]
)