-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Package.swift
28 lines (26 loc) · 1.15 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// swift-tools-version:5.10
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "hummingbird-compression",
platforms: [.macOS(.v14), .iOS(.v17), .tvOS(.v17)],
products: [
.library(name: "HummingbirdCompression", targets: ["HummingbirdCompression"]),
],
dependencies: [
.package(url: "https://github.com/hummingbird-project/hummingbird.git", from: "2.0.0"),
.package(url: "https://github.com/adam-fowler/compress-nio.git", from: "1.4.0"),
.package(url: "https://github.com/apple/swift-nio.git", from: "2.32.1"),
],
targets: [
.target(name: "HummingbirdCompression", dependencies: [
.product(name: "Hummingbird", package: "hummingbird"),
.product(name: "NIO", package: "swift-nio"),
.product(name: "CompressNIO", package: "compress-nio"),
]),
.testTarget(name: "HummingbirdCompressionTests", dependencies: [
.byName(name: "HummingbirdCompression"),
.product(name: "HummingbirdTesting", package: "hummingbird"),
]),
]
)