@@ -38,10 +38,6 @@ let package = Package(
3838 products: [
3939 . library( name: " AsyncHTTPClient " , targets: [ " AsyncHTTPClient " ] )
4040 ] ,
41- traits: [
42- . trait( name: " TracingSupport " ) ,
43- . default( enabledTraits: [ " TracingSupport " ] ) ,
44- ] ,
4541 dependencies: [
4642 . package ( url: " https://github.com/apple/swift-nio.git " , from: " 2.81.0 " ) ,
4743 . package ( url: " https://github.com/apple/swift-nio-ssl.git " , from: " 2.30.0 " ) ,
@@ -79,11 +75,8 @@ let package = Package(
7975 . product( name: " Atomics " , package : " swift-atomics " ) ,
8076 . product( name: " Algorithms " , package : " swift-algorithms " ) ,
8177 // Observability support
82- . product(
83- name: " Tracing " ,
84- package : " swift-distributed-tracing " ,
85- condition: . when( traits: [ " TracingSupport " ] )
86- ) ,
78+ . product( name: " Tracing " , package : " swift-distributed-tracing " ) ,
79+ . product( name: " InMemoryTracing " , package : " swift-distributed-tracing " ) ,
8780 ] ,
8881 swiftSettings: strictConcurrencySettings
8982 ) ,
@@ -103,6 +96,9 @@ let package = Package(
10396 . product( name: " Logging " , package : " swift-log " ) ,
10497 . product( name: " Atomics " , package : " swift-atomics " ) ,
10598 . product( name: " Algorithms " , package : " swift-algorithms " ) ,
99+ // Observability support
100+ . product( name: " Tracing " , package : " swift-distributed-tracing " ) ,
101+ . product( name: " InMemoryTracing " , package : " swift-distributed-tracing " ) ,
106102 ] ,
107103 resources: [
108104 . copy( " Resources/self_signed_cert.pem " ) ,
0 commit comments