@@ -31,15 +31,8 @@ if ProcessInfo.processInfo.environment["SWIFT_OPENAPI_STRICT_CONCURRENCY"].flatM
31
31
32
32
let package = Package (
33
33
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 " ] ) ] ,
43
36
dependencies: [
44
37
. package ( url: " https://github.com/apple/swift-openapi-runtime " , from: " 1.0.0 " ) ,
45
38
. package ( url: " https://github.com/apple/swift-http-types " , from: " 1.0.0 " ) ,
@@ -51,22 +44,17 @@ let package = Package(
51
44
dependencies: [
52
45
. product( name: " DequeModule " , package : " swift-collections " ) ,
53
46
. product( name: " OpenAPIRuntime " , package : " swift-openapi-runtime " ) ,
54
- . product( name: " HTTPTypes " , package : " swift-http-types " )
47
+ . product( name: " HTTPTypes " , package : " swift-http-types " ) ,
55
48
] ,
56
49
swiftSettings: swiftSettings
57
50
) ,
58
51
. testTarget(
59
52
name: " OpenAPIURLSessionTests " ,
60
- dependencies: [
61
- " OpenAPIURLSession " ,
62
- . product( name: " NIOTestUtils " , package : " swift-nio " ) ,
63
- ] ,
53
+ dependencies: [ " OpenAPIURLSession " , . product( name: " NIOTestUtils " , package : " swift-nio " ) ] ,
64
54
swiftSettings: swiftSettings
65
55
) ,
66
56
]
67
57
)
68
58
69
59
// 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