give HTTPRequest a public initializer
[http-swiftserver.git] / Package.swift
bloba0d7709bd2b72399a2ff1511b212891aabfb86d5
1 // swift-tools-version:4.0
2 // The swift-tools-version declares the minimum version of Swift required to build this package.
4 import PackageDescription
6 let package = Package(
7     name: "SwiftServerHttp",
8     products: [
9         // Products define the executables and libraries produced by a package, and make them visible to other packages.
10         .library(
11             name: "HTTP",
12             targets: ["HTTP"]),
13     ],
14     dependencies: [
15         // Dependencies declare other packages that this package depends on.
16         // .package(url: /* package url */, from: "1.0.0"),
17     ],
18     targets: [
19         // Targets are the basic building blocks of a package. A target can define a module or a test suite.
20         // Targets can depend on other targets in this package, and on products in packages which this package depends on.
21         .target(
22             name: "HTTP",
23             dependencies: []),
24         .testTarget(
25             name: "HTTPTests",
26             dependencies: ["HTTP"]),
27     ]