Update to Vapor 4

This commit is contained in:
Matthias Neeracher 2020-05-11 01:49:12 +02:00
parent eaca6dde6a
commit 86373428b9

View File

@ -1,4 +1,4 @@
// swift-tools-version:4.0
// swift-tools-version:5.2
import PackageDescription
let package = Package(
@ -8,12 +8,15 @@ let package = Package(
],
dependencies: [
// 💧 A server-side Swift web framework.
.package(url: "https://github.com/vapor/vapor.git", from: "3.0.0"),
.package(url: "https://github.com/vapor/vapor.git", from: "4.3.0"),
// 🤐 Unzip archives
.package(url: "https://github.com/microtherion/ZIPFoundation.git", from: "0.9.9-µ5")
],
targets: [
.target(name: "GzipMiddleware", dependencies: ["Vapor", "ZIPFoundation"]),
.target(name: "GzipMiddleware", dependencies: [
.product(name: "Vapor", package: "vapor"),
.product(name: "ZIPFoundation", package: "ZIPFoundation"),
])
]
)