@@ -31,15 +31,8 @@ if ProcessInfo.processInfo.environment["SWIFT_OPENAPI_STRICT_CONCURRENCY"].flatM
3131
3232let package = Package (
3333 name: " swift-openapi-urlsession " ,
34- platforms: [
35- . macOS( . v10_15) , . macCatalyst( . v13) , . iOS( . v13) , . tvOS( . v13) , . watchOS( . v6) , . visionOS( . v1)
36- ] ,
37- products: [
38- . library(
39- name: " OpenAPIURLSession " ,
40- targets: [ " OpenAPIURLSession " ]
41- ) ,
42- ] ,
34+ platforms: [ . macOS( . v10_15) , . macCatalyst( . v13) , . iOS( . v13) , . tvOS( . v13) , . watchOS( . v6) , . visionOS( . v1) ] ,
35+ products: [ . library( name: " OpenAPIURLSession " , targets: [ " OpenAPIURLSession " ] ) ] ,
4336 dependencies: [
4437 . package ( url: " https://github.com/apple/swift-openapi-runtime " , from: " 1.0.0 " ) ,
4538 . package ( url: " https://github.com/apple/swift-http-types " , from: " 1.0.0 " ) ,
@@ -51,22 +44,17 @@ let package = Package(
5144 dependencies: [
5245 . product( name: " DequeModule " , package : " swift-collections " ) ,
5346 . product( name: " OpenAPIRuntime " , package : " swift-openapi-runtime " ) ,
54- . product( name: " HTTPTypes " , package : " swift-http-types " )
47+ . product( name: " HTTPTypes " , package : " swift-http-types " ) ,
5548 ] ,
5649 swiftSettings: swiftSettings
5750 ) ,
5851 . testTarget(
5952 name: " OpenAPIURLSessionTests " ,
60- dependencies: [
61- " OpenAPIURLSession " ,
62- . product( name: " NIOTestUtils " , package : " swift-nio " ) ,
63- ] ,
53+ dependencies: [ " OpenAPIURLSession " , . product( name: " NIOTestUtils " , package : " swift-nio " ) ] ,
6454 swiftSettings: swiftSettings
6555 ) ,
6656 ]
6757)
6858
6959// Test-only dependencies.
70- package . dependencies += [
71- . package ( url: " https://github.com/apple/swift-nio " , from: " 2.62.0 " )
72- ]
60+ package . dependencies += [ . package ( url: " https://github.com/apple/swift-nio " , from: " 2.62.0 " ) ]
0 commit comments