-
Notifications
You must be signed in to change notification settings - Fork 3
/
Package.swift
25 lines (24 loc) · 891 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
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "swift-otel-xray",
platforms: [.macOS(.v13)],
products: [
.library(name: "OpenTelemetryXRay", targets: ["OpenTelemetryXRay"]),
],
dependencies: [
.package(url: "https://github.com/slashmo/swift-otel.git", from: "0.9.0"),
.package(url: "https://github.com/apple/swift-nio.git", from: "2.0.0"),
],
targets: [
.target(name: "OpenTelemetryXRay", dependencies: [
.product(name: "NIOConcurrencyHelpers", package: "swift-nio"),
.product(name: "OTel", package: "swift-otel"),
]),
.testTarget(name: "OpenTelemetryXRayTests", dependencies: [
.target(name: "OpenTelemetryXRay"),
.product(name: "OTel", package: "swift-otel"),
]),
],
swiftLanguageVersions: [.version("6"), .v5]
)