@@ -13,8 +13,12 @@ extension Target.Dependency {
1313 static var rfc1123 : Self { . product( name: " RFC 1123 " , package : " swift-rfc-1123 " ) }
1414 static var standards : Self { . product( name: " Standards " , package : " swift-standards " ) }
1515 static var time : Self { . product( name: " StandardTime " , package : " swift-standards " ) }
16- static var incits_4_1986 : Self { . product( name: " INCITS 4 1986 " , package : " swift-incits-4-1986 " ) }
17- static var standardsTestSupport : Self { . product( name: " StandardsTestSupport " , package : " swift-standards " ) }
16+ static var incits_4_1986 : Self {
17+ . product( name: " INCITS 4 1986 " , package : " swift-incits-4-1986 " )
18+ }
19+ static var standardsTestSupport : Self {
20+ . product( name: " StandardsTestSupport " , package : " swift-standards " )
21+ }
1822}
1923
2024let package = Package (
@@ -23,16 +27,16 @@ let package = Package(
2327 . macOS( . v15) ,
2428 . iOS( . v18) ,
2529 . tvOS( . v18) ,
26- . watchOS( . v11)
30+ . watchOS( . v11) ,
2731 ] ,
2832 products: [
2933 . library( name: . rfc5322, targets: [ . rfc5322] ) ,
3034 . library( name: . rfc5322Foundation, targets: [ . rfc5322Foundation] ) ,
3135 ] ,
3236 dependencies: [
33- . package ( url: " https://github.com/swift-standards/swift-rfc-1123.git " , from: " 0.0 .1 " ) ,
34- . package ( url: " https://github.com/swift-standards/swift-standards.git " , from: " 0.0.1 " ) ,
35- . package ( url: " https://github.com/swift-standards/swift-incits-4-1986.git " , from: " 0.0.1 " )
37+ . package ( url: " https://github.com/swift-standards/swift-rfc-1123.git " , from: " 0.3 .1 " ) ,
38+ . package ( url: " https://github.com/swift-standards/swift-standards.git " , from: " 0.4.0 " ) ,
39+ . package ( url: " https://github.com/swift-standards/swift-incits-4-1986.git " , from: " 0.4.0 " ) ,
3640 ] ,
3741 targets: [
3842 . target(
@@ -41,7 +45,7 @@ let package = Package(
4145 . standards,
4246 . time,
4347 . rfc1123,
44- . incits_4_1986
48+ . incits_4_1986,
4549 ]
4650 ) ,
4751 . target(
@@ -56,15 +60,15 @@ let package = Package(
5660 . rfc5322,
5761 . time,
5862 . incits_4_1986,
59- . standardsTestSupport
63+ . standardsTestSupport,
6064 ]
6165 ) ,
6266 . testTarget(
6367 name: . rfc5322Foundation. tests,
6468 dependencies: [
6569 . rfc5322,
6670 . rfc5322Foundation,
67- . time
71+ . time,
6872 ]
6973 ) ,
7074 ] ,
@@ -78,9 +82,10 @@ extension String {
7882
7983for target in package . targets where ![ . system, . binary, . plugin] . contains ( target. type) {
8084 let existing = target. swiftSettings ?? [ ]
81- target. swiftSettings = existing + [
82- . enableUpcomingFeature( " ExistentialAny " ) ,
83- . enableUpcomingFeature( " InternalImportsByDefault " ) ,
84- . enableUpcomingFeature( " MemberImportVisibility " )
85- ]
85+ target. swiftSettings =
86+ existing + [
87+ . enableUpcomingFeature( " ExistentialAny " ) ,
88+ . enableUpcomingFeature( " InternalImportsByDefault " ) ,
89+ . enableUpcomingFeature( " MemberImportVisibility " ) ,
90+ ]
8691}
0 commit comments