forked from bofeizhu/swift-nio-mqtt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
23 lines (21 loc) · 991 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
// swift-tools-version:5.1
import PackageDescription
let package = Package(
name: "swift-nio-mqtt",
platforms: [.iOS(.v12), .macOS(.v10_14), .tvOS(.v12), .watchOS(.v6)],
products: [
.library(name: "MQTTCodec", targets: ["MQTTCodec"]),
.library(name: "NIOMQTTClient", targets: ["NIOMQTTClient"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio.git", from: "2.0.0"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-nio-transport-services.git", from: "1.2.1"),
],
targets: [
.target(name: "MQTTCodec", dependencies: ["NIO", "NIOFoundationCompat"]),
.testTarget(name: "MQTTCodecTests", dependencies: ["MQTTCodec"]),
.target(name: "NIOMQTTClient", dependencies: ["MQTTCodec", "NIO", "NIOTransportServices", "Logging"]),
.testTarget(name: "NIOMQTTClientTests", dependencies: ["NIOMQTTClient"]),
]
)