-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathPackage.swift
More file actions
42 lines (39 loc) · 1.25 KB
/
Package.swift
File metadata and controls
42 lines (39 loc) · 1.25 KB
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
33
34
35
36
37
38
39
40
41
42
// swift-tools-version:6.2
import PackageDescription
let swiftSettings: [SwiftSetting] = [
.enableUpcomingFeature("ExistentialAny"),
.enableUpcomingFeature("MemberImportVisibility"),
.enableUpcomingFeature("InternalImportsByDefault"),
.enableUpcomingFeature("NonisolatedNonsendingByDefault"),
// https://forums.swift.org/t/experimental-support-for-lifetime-dependencies-in-swift-6-2-and-beyond/78638
.enableExperimentalFeature("Lifetimes"),
]
let package = Package(
name: "swift-w3c-trace-context",
platforms: [
.macOS(.v10_15),
.iOS(.v13),
.tvOS(.v13),
.watchOS(.v6),
],
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
),
]
)