mirror of
https://github.com/apple/swift-crypto
synced 2026-11-26 04:47:49 +00:00
Following on from #281, opened as a new PR as the conflicts were too many ### Checklist - [x] I've run tests to see all new and existing tests pass - [x] I've followed the code style of the rest of the project - [x] I've read the [Contribution Guidelines](CONTRIBUTING.md) - [x] I've updated the documentation if necessary #### If you've made changes to `gyb` files - [ ] I've run `.script/generate_boilerplate_files_with_gyb` and included updated generated files in a commit of this pull request ### Motivation: _[Explain here the context, and why you're making that change. What is the problem you're trying to solve.]_ ### Modifications: _[Describe the modifications you've done.]_ ### Result: _[After your change, what will change.]_
26 lines
824 B
Swift
26 lines
824 B
Swift
// swift-tools-version:5.10
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "swift-crypto-benchmarks",
|
|
platforms: [.macOS("14")],
|
|
dependencies: [
|
|
.package(name: "swift-crypto", path: "../"),
|
|
.package(url: "https://github.com/ordo-one/package-benchmark", from: "1.22.0"),
|
|
],
|
|
targets: [
|
|
.executableTarget(
|
|
name: "SwiftCryptoBenchmarks",
|
|
dependencies: [
|
|
.product(name: "Benchmark", package: "package-benchmark"),
|
|
.product(name: "Crypto", package: "swift-crypto"),
|
|
.product(name: "CryptoExtras", package: "swift-crypto"),
|
|
],
|
|
path: "Benchmarks/",
|
|
plugins: [
|
|
.plugin(name: "BenchmarkPlugin", package: "package-benchmark")
|
|
]
|
|
)
|
|
]
|
|
)
|