Files
swift-certificates/Benchmarks/Package.swift
T
Rick Newton-Rogers e7db922740 Drop Swift 5.9 (#250)
Motivation:

Swift 5.9 is no longer supported, we should bump the tools version and
remove it from our CI.

Modifications:

* Bump the Swift tools version to Swift 5.10
* Remove Swift 5.9 jobs where appropriate in main.yml, pull_request.yml

Result:

Code reflects our support window.
2025-05-05 12:21:20 +01:00

48 lines
1.6 KiB
Swift

// swift-tools-version:5.10
//===----------------------------------------------------------------------===//
//
// This source file is part of the SwiftCertificates open source project
//
// Copyright (c) 2023 Apple Inc. and the SwiftCertificates project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftCertificates project authors
//
// SPDX-License-Identifier: Apache-2.0
//
//===----------------------------------------------------------------------===//
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.11.1"),
.package(url: "https://github.com/apple/swift-crypto.git", "2.5.0"..<"4.0.0"),
.package(url: "https://github.com/apple/swift-asn1.git", from: "1.0.0"),
],
targets: [
.executableTarget(
name: "CertificatesBenchmark",
dependencies: [
.product(name: "Benchmark", package: "package-benchmark"),
.product(name: "X509", package: "swift-certificates"),
.product(name: "SwiftASN1", package: "swift-asn1"),
.product(name: "Crypto", package: "swift-crypto"),
],
path: "Benchmarks/CertificatesBenchmark",
resources: [
.copy("ca-certificates/")
],
plugins: [
.plugin(name: "BenchmarkPlugin", package: "package-benchmark")
]
)
]
)