-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Package.swift
35 lines (33 loc) · 1.21 KB
/
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
31
32
33
34
35
// swift-tools-version: 5.8
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "peerdid-swift",
products: [
.library(
name: "PeerDID",
targets: ["PeerDID"]),
],
dependencies: [
.package(url: "https://github.com/swift-libp2p/swift-multibase.git", .upToNextMajor(from: "0.0.1")),
.package(url: "https://github.com/swift-libp2p/swift-bases.git", .upToNextMajor(from: "0.0.3")),
.package(url: "https://github.com/beatt83/didcore-swift.git", .upToNextMinor(from: "2.0.2"))
],
targets: [
.target(
name: "PeerDID",
dependencies: [
.product(name: "Multibase", package: "swift-multibase"),
.product(name: "BaseX", package: "swift-bases"),
.product(name: "Base64", package: "swift-bases"),
.product(name: "DIDCore", package: "didcore-swift")
]
),
.testTarget(
name: "PeerDIDTests",
dependencies: [
"PeerDID",
.product(name: "DIDCore", package: "didcore-swift")
]),
]
)