-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
30 lines (29 loc) · 1.28 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
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "DHTSwift",
platforms: [
.macOS(.v10_14)
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio.git", from: "2.0.0"),
.package(url: "https://github.com/apple/swift-nio-extras.git", from: "1.0.0"),
.package(url: "https://github.com/vapor/async-kit.git", from: "1.0.0-alpha"),
.package(url: "https://github.com/larsschwegmann/SwiftCLI.git", .branch("master")),
.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", .upToNextMinor(from: "1.0.0")),
.package(url: "https://github.com/larsschwegmann/UInt256.git", .branch("master")),
.package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"),
.package(url: "https://github.com/larsschwegmann/HeliumLogger.git", .branch("master"))
],
targets: [
.target(
name: "DHTSwift",
dependencies: ["NIO", "NIOConcurrencyHelpers", "NIOExtras","AsyncKit", "SwiftCLI", "CryptoSwift", "UInt256", "Logging", "HeliumLogger"]),
.target(
name: "DHTSwiftExecutable",
dependencies: ["DHTSwift"]),
.testTarget(
name: "DHTSwiftTests",
dependencies: ["DHTSwift"]),
]
)