Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit d9597d2

Browse files
Merge pull request #1 from swift-sprinter/feature/swift-5.1
Update to support Swift 5.1
2 parents ad0e524 + b90b96a commit d9597d2

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

Package.resolved

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ let package = Package(
1515
dependencies: [
1616
// Dependencies declare other packages that this package depends on.
1717
//.package(path: "../aws-lambda-swift-sprinter-core/"),
18-
.package(url: "https://github.com/swift-sprinter/aws-lambda-swift-sprinter-core", from: "1.0.0-alpha.1"),
19-
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.0.0-alpha.3"),
18+
.package(url: "https://github.com/swift-sprinter/aws-lambda-swift-sprinter-core", from: "1.0.0-alpha.2"),
19+
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.0.0-alpha.4"),
2020
],
2121
targets: [
2222
// Targets are the basic building blocks of a package. A target can define a module or a test suite.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# aws-lambda-swift-sprinter-nio-plugin
22

33

4-
[![Swift 5](https://img.shields.io/badge/Swift-5.0-blue.svg)](https://swift.org/download/) ![](https://img.shields.io/badge/version-1.0.0--alpha.1-red)
4+
[![Swift 5](https://img.shields.io/badge/Swift-5.0-blue.svg)](https://swift.org/download/) [![Swift 5.1](https://img.shields.io/badge/Swift-5.1-blue.svg)](https://swift.org/download/) ![](https://img.shields.io/badge/version-1.0.0--alpha.2-red)
55

66
The project implements an HTTPS client plugin for the [LambdaSwiftSprinter](https://github.com/swift-sprinter/aws-lambda-swift-sprinter-core) framework.
77

Sources/LambdaSwiftSprinterNioPlugin/LambdaApiNIO.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414

1515
import AsyncHTTPClient
1616
import Foundation
17+
#if canImport(FoundationNetworking)
18+
import FoundationNetworking
19+
#endif
1720
import LambdaSwiftSprinter
1821
import NIO
1922
import NIOHTTP1

0 commit comments

Comments
 (0)