Added AWSSigner package dependency swift-nio

and AWSSigner target dependency NIOHTTP1
This commit is contained in:
Adam Fowler 2019-09-01 08:07:29 +01:00
parent c541f15364
commit 904f38425b
1 changed files with 2 additions and 1 deletions

View File

@ -10,10 +10,11 @@ let package = Package(
.library(name: "HTTPClientAWSSigner", targets: ["HTTPClientAWSSigner"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio", .upToNextMajor(from: "2.0.0")),
.package(url: "https://github.com/swift-server/async-http-client", .upToNextMajor(from: "1.0.0-alpha.1"))
],
targets: [
.target(name: "AWSSigner", dependencies: []),
.target(name: "AWSSigner", dependencies: ["NIOHTTP1"]),
.target(name: "HTTPClientAWSSigner", dependencies: ["AWSSigner", "AsyncHTTPClient"]),
.testTarget(name: "AWSSignerTests", dependencies: ["AWSSigner"]),
]