1
- // swift-tools-version:6.1
1
+ // swift-tools-version:5.10
2
2
//===----------------------------------------------------------------------===//
3
3
//
4
4
// This source file is part of the AsyncHTTPClient open source project
@@ -35,16 +35,9 @@ let strictConcurrencySettings: [SwiftSetting] = {
35
35
36
36
let package = Package (
37
37
name: " async-http-client " ,
38
- platforms: [ // FIXME: must remove this
39
- . macOS( " 10.15 " )
40
- ] ,
41
38
products: [
42
39
. library( name: " AsyncHTTPClient " , targets: [ " AsyncHTTPClient " ] )
43
40
] ,
44
- traits: [
45
- . trait( name: " TracingSupport " ) ,
46
- . default( enabledTraits: [ " TracingSupport " ] ) ,
47
- ] ,
48
41
dependencies: [
49
42
. package ( url: " https://github.com/apple/swift-nio.git " , from: " 2.81.0 " ) ,
50
43
. package ( url: " https://github.com/apple/swift-nio-ssl.git " , from: " 2.30.0 " ) ,
@@ -54,7 +47,6 @@ let package = Package(
54
47
. package ( url: " https://github.com/apple/swift-log.git " , from: " 1.6.0 " ) ,
55
48
. package ( url: " https://github.com/apple/swift-atomics.git " , from: " 1.0.2 " ) ,
56
49
. package ( url: " https://github.com/apple/swift-algorithms.git " , from: " 1.0.0 " ) ,
57
- . package ( url: " https://github.com/apple/swift-distributed-tracing.git " , from: " 1.2.0 " ) ,
58
50
] ,
59
51
targets: [
60
52
. target(
@@ -81,8 +73,6 @@ let package = Package(
81
73
. product( name: " Logging " , package : " swift-log " ) ,
82
74
. product( name: " Atomics " , package : " swift-atomics " ) ,
83
75
. product( name: " Algorithms " , package : " swift-algorithms " ) ,
84
- // Observability support
85
- . product( name: " Tracing " , package : " swift-distributed-tracing " , condition: . when( traits: [ " TracingSupport " ] ) ) ,
86
76
] ,
87
77
swiftSettings: strictConcurrencySettings
88
78
) ,
@@ -128,4 +118,4 @@ for target in package.targets {
128
118
( ) // we don't know what to do here, do nothing
129
119
}
130
120
}
131
- // --- END: STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
121
+ // --- END: STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
0 commit comments