-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPackage.swift
29 lines (27 loc) · 903 Bytes
/
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
// swift-tools-version:5.9
import PackageDescription
let swiftSettings: [SwiftSetting] = [.enableExperimentalFeature("StrictConcurrency=complete")]
let package = Package(
name: "swift-w3c-trace-context",
products: [
.library(name: "W3CTraceContext", targets: ["W3CTraceContext"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-collections.git", from: "1.1.0"),
],
targets: [
.target(
name: "W3CTraceContext",
dependencies: [
.product(name: "OrderedCollections", package: "swift-collections"),
],
swiftSettings: swiftSettings
),
.testTarget(
name: "W3CTraceContextTests",
dependencies: [.target(name: "W3CTraceContext")],
swiftSettings: swiftSettings
),
],
swiftLanguageVersions: [.version("6"), .v5]
)