-
Notifications
You must be signed in to change notification settings - Fork 7
/
Package.swift
32 lines (31 loc) · 1 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
29
30
31
32
// swift-tools-version: 6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Benchmarks",
platforms: [
.iOS(.v14),
.macOS(.v10_15)
],
products: [
.executable(
name: "Benchmarks",
targets: ["Benchmarks"]),
],
dependencies: [
// Add a dependency on a package located in a directory relative to this file.
.package(name: "AsyncChannels", path: "../"),
.package(url: "https://github.com/apple/swift-async-algorithms", from: "1.0.0")
],
targets: [
.target(
name: "Benchmarks",
dependencies: [
.product(name: "AsyncChannels", package: "AsyncChannels"),
.product(name: "AsyncAlgorithms", package: "swift-async-algorithms")
],
swiftSettings: [
.unsafeFlags(["-O"], .when(configuration: .release))
]),
]
)