1
- // swift-tools-version:5.2
1
+ // swift-tools-version:5.0
2
2
import PackageDescription
3
3
4
4
let package = Package (
@@ -10,11 +10,13 @@ let package = Package(
10
10
. library( name: " OpenTelemetryInstrumentationSupport " , targets: [ " OpenTelemetryInstrumentationSupport " ] )
11
11
] ,
12
12
dependencies: [
13
- . package (
14
- name: " swift-baggage-context " ,
15
- url: " https://github.com/slashmo/gsoc-swift-baggage-context.git " ,
16
- from: " 0.2.0 "
17
- ) ,
13
+ // .package(
14
+ // name: "swift-baggage-context",
15
+ // url: "https://github.com/slashmo/gsoc-swift-baggage-context.git",
16
+ // from: "0.2.0"
17
+ // ),
18
+ // .package(url: "https://github.com/slashmo/gsoc-swift-baggage-context.git", from: "0.2.0"),
19
+ . package ( url: " file:///users/ktoso/code/gsoc-swift-baggage-context " , . branch( " main " ) ) ,
18
20
. package ( url: " https://github.com/apple/swift-nio.git " , from: " 2.17.0 " )
19
21
] ,
20
22
targets: [
@@ -24,7 +26,7 @@ let package = Package(
24
26
. target(
25
27
name: " Instrumentation " ,
26
28
dependencies: [
27
- . product ( name : " Baggage " , package : " swift-baggage-context " ) ,
29
+ " Baggage " ,
28
30
]
29
31
) ,
30
32
. testTarget(
@@ -45,15 +47,15 @@ let package = Package(
45
47
dependencies: [
46
48
" Instrumentation " ,
47
49
" TracingInstrumentation " ,
48
- . product ( name : " BaggageLogging " , package : " swift-baggage-context " ) ,
50
+ " BaggageLogging " ,
49
51
]
50
52
) ,
51
53
52
54
. target(
53
55
name: " NIOInstrumentation " ,
54
56
dependencies: [
55
- . product ( name : " NIO " , package : " swift-nio " ) ,
56
- . product ( name : " NIOHTTP1 " , package : " swift-nio " ) ,
57
+ " NIO " ,
58
+ " NIOHTTP1 " ,
57
59
" Instrumentation " ,
58
60
]
59
61
) ,
@@ -83,7 +85,7 @@ let package = Package(
83
85
. target(
84
86
name: " Benchmarks " ,
85
87
dependencies: [
86
- . product ( name : " Baggage " , package : " swift-baggage-context " ) ,
88
+ " Baggage " ,
87
89
" SwiftBenchmarkTools " ,
88
90
]
89
91
) ,
0 commit comments