mirror of
https://github.com/apple/swift-http-types
synced 2026-11-25 04:47:48 +00:00
Motivation: Swift 6.0 is no longer supported, we should bump the tools version and remove it from our CI. Modifications: * Bump the Swift tools version to Swift 6.1 * Remove Swift 6.0 jobs where appropriate in main.yml, pull_request.yml Result: Code reflects our support window. --------- Co-authored-by: Guoye Zhang <guoye_zhang@apple.com>
28 lines
750 B
Swift
28 lines
750 B
Swift
// swift-tools-version:6.1
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "Benchmarks",
|
|
platforms: [
|
|
.macOS(.v13)
|
|
],
|
|
dependencies: [
|
|
.package(path: "../"),
|
|
.package(url: "https://github.com/ordo-one/package-benchmark.git", from: "1.22.1"),
|
|
],
|
|
targets: [
|
|
.executableTarget(
|
|
name: "Benchmarks",
|
|
dependencies: [
|
|
.product(name: "Benchmark", package: "package-benchmark"),
|
|
.product(name: "HTTPTypes", package: "swift-http-types"),
|
|
],
|
|
path: "Benchmarks/HTTPFieldsBenchmarks",
|
|
plugins: [
|
|
.plugin(name: "BenchmarkPlugin", package: "package-benchmark")
|
|
]
|
|
)
|
|
]
|
|
)
|