GzipMiddleware/Package.swift

23 lines
670 B
Swift

// swift-tools-version:5.2
import PackageDescription
let package = Package(
name: "GzipMiddleware",
products: [
.library(name: "GzipMiddleware", targets: ["GzipMiddleware"])
],
dependencies: [
// 💧 A server-side Swift web framework.
.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: [
.product(name: "Vapor", package: "vapor"),
.product(name: "ZIPFoundation", package: "ZIPFoundation"),
])
]
)