@@ -38,10 +38,6 @@ let package = Package(
38
38
products: [
39
39
. library( name: " AsyncHTTPClient " , targets: [ " AsyncHTTPClient " ] )
40
40
] ,
41
- traits: [
42
- . trait( name: " TracingSupport " ) ,
43
- . default( enabledTraits: [ " TracingSupport " ] ) ,
44
- ] ,
45
41
dependencies: [
46
42
. package ( url: " https://github.com/apple/swift-nio.git " , from: " 2.81.0 " ) ,
47
43
. package ( url: " https://github.com/apple/swift-nio-ssl.git " , from: " 2.30.0 " ) ,
@@ -79,11 +75,8 @@ let package = Package(
79
75
. product( name: " Atomics " , package : " swift-atomics " ) ,
80
76
. product( name: " Algorithms " , package : " swift-algorithms " ) ,
81
77
// 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 " ) ,
87
80
] ,
88
81
swiftSettings: strictConcurrencySettings
89
82
) ,
@@ -102,7 +95,10 @@ let package = Package(
102
95
. product( name: " NIOSOCKS " , package : " swift-nio-extras " ) ,
103
96
. product( name: " Logging " , package : " swift-log " ) ,
104
97
. product( name: " Atomics " , package : " swift-atomics " ) ,
105
- . product( name: " Algorithms " , package : " swift-algorithms " ) ,
98
+ . 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 " ) ,
106
102
] ,
107
103
resources: [
108
104
. copy( " Resources/self_signed_cert.pem " ) ,
0 commit comments