1- // swift-tools-version:6.1
1+ // swift-tools-version:5.10
22//===----------------------------------------------------------------------===//
33//
44// This source file is part of the AsyncHTTPClient open source project
@@ -35,16 +35,9 @@ let strictConcurrencySettings: [SwiftSetting] = {
3535
3636let package = Package (
3737 name: " async-http-client " ,
38- platforms: [ // FIXME: must remove this
39- . macOS( " 10.15 " )
40- ] ,
4138 products: [
4239 . library( name: " AsyncHTTPClient " , targets: [ " AsyncHTTPClient " ] )
4340 ] ,
44- traits: [
45- . trait( name: " TracingSupport " ) ,
46- . default( enabledTraits: [ " TracingSupport " ] ) ,
47- ] ,
4841 dependencies: [
4942 . package ( url: " https://github.com/apple/swift-nio.git " , from: " 2.81.0 " ) ,
5043 . package ( url: " https://github.com/apple/swift-nio-ssl.git " , from: " 2.30.0 " ) ,
@@ -54,7 +47,6 @@ let package = Package(
5447 . package ( url: " https://github.com/apple/swift-log.git " , from: " 1.6.0 " ) ,
5548 . package ( url: " https://github.com/apple/swift-atomics.git " , from: " 1.0.2 " ) ,
5649 . 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 " ) ,
5850 ] ,
5951 targets: [
6052 . target(
@@ -81,8 +73,6 @@ let package = Package(
8173 . product( name: " Logging " , package : " swift-log " ) ,
8274 . product( name: " Atomics " , package : " swift-atomics " ) ,
8375 . product( name: " Algorithms " , package : " swift-algorithms " ) ,
84- // Observability support
85- . product( name: " Tracing " , package : " swift-distributed-tracing " , condition: . when( traits: [ " TracingSupport " ] ) ) ,
8676 ] ,
8777 swiftSettings: strictConcurrencySettings
8878 ) ,
@@ -128,4 +118,4 @@ for target in package.targets {
128118 ( ) // we don't know what to do here, do nothing
129119 }
130120}
131- // --- END: STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
121+ // --- END: STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
0 commit comments