-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
31 lines (30 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
// swift-tools-version:5.1
//===----------------------------------------------------------------------===//
//
// This source file is part of the SwiftNIO open source project
//
// Copyright (c) 2019 Apple Inc. and the SwiftNIO project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftNIO project authors
//
// SPDX-License-Identifier: Apache-2.0
//
//===----------------------------------------------------------------------===//
import PackageDescription
let package = Package(
name: "myserver",
dependencies: [
.package(url: "https://github.com/apple/swift-nio.git", from: "2.5.1"),
.package(url: "https://github.com/apple/swift-nio-ssl.git", from: "2.2.0"),
.package(url: "https://github.com/apple/swift-nio-http2.git", from: "1.4.0"),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(
name: "myserver",
dependencies: ["NIO", "NIOHTTP1", "NIOHTTP2", "NIOSSL"]),
]
)