@@ -13,8 +13,6 @@ let package:Package = .init(
13
13
14
14
. library( name: " guides " , targets: [ " guides " ] ) ,
15
15
16
- . library( name: " CasesByIntegerEncodingMacro " , targets: [ " CasesByIntegerEncodingMacro " ] ) ,
17
-
18
16
. library( name: " ArgumentParsing " , targets: [ " ArgumentParsing " ] ) ,
19
17
. library( name: " Availability " , targets: [ " Availability " ] ) ,
20
18
. library( name: " AvailabilityDomain " , targets: [ " AvailabilityDomain " ] ) ,
@@ -28,7 +26,6 @@ let package:Package = .init(
28
26
. library( name: " HTTPServer " , targets: [ " HTTPServer " ] ) ,
29
27
30
28
. library( name: " IP " , targets: [ " IP " ] ) ,
31
- . library( name: " ISO " , targets: [ " ISO " ] ) ,
32
29
. library( name: " InlineArray " , targets: [ " InlineArray " ] ) ,
33
30
34
31
. library( name: " InlineDictionary " , targets: [ " InlineDictionary " ] ) ,
@@ -89,15 +86,14 @@ let package:Package = .init(
89
86
dependencies: [
90
87
. package ( url: " https://github.com/tayloraswift/swift-dom " , . upToNextMinor(
91
88
from: " 1.1.0 " ) ) ,
92
- // .package(path: "../swift-dom"),
93
-
94
89
. package ( url: " https://github.com/tayloraswift/swift-grammar " , . upToNextMinor(
95
90
from: " 0.4.0 " ) ) ,
96
91
. package ( url: " https://github.com/tayloraswift/swift-hash " , . upToNextMinor(
97
92
from: " 0.6.0 " ) ) ,
98
93
. package ( url: " https://github.com/tayloraswift/swift-mongodb " , . upToNextMinor(
99
- from: " 0.22.0 " ) ) ,
100
- // .package(path: "../swift-mongodb"),
94
+ from: " 0.23.0 " ) ) ,
95
+ . package ( url: " https://github.com/tayloraswift/swift-unixtime " , . upToNextMinor(
96
+ from: " 0.1.0 " ) ) ,
101
97
102
98
. package ( url: " https://github.com/tayloraswift/swift-json " , . upToNextMinor(
103
99
from: " 1.1.0 " ) ) ,
@@ -127,20 +123,6 @@ let package:Package = .init(
127
123
from: " 510.0.2 " ) ,
128
124
] ,
129
125
targets: [
130
- . macro( name: " UnidocMacros " ,
131
- dependencies: [
132
- . product( name: " SwiftCompilerPlugin " , package : " swift-syntax " ) ,
133
- . product( name: " SwiftSyntaxMacros " , package : " swift-syntax " ) ,
134
- ] ,
135
- path: " Macros/UnidocMacros " ) ,
136
-
137
- . target( name: " CasesByIntegerEncodingMacro " ,
138
- dependencies: [
139
- . target( name: " UnidocMacros " ) ,
140
- ] ,
141
- path: " Macros/CasesByIntegerEncodingMacro " ) ,
142
-
143
-
144
126
. executableTarget( name: " ssgc " ,
145
127
dependencies: [
146
128
. target( name: " ArgumentParsing " ) ,
@@ -175,12 +157,10 @@ let package:Package = .init(
175
157
. target( name: " SemanticVersions " ) ,
176
158
] ) ,
177
159
178
- . target( name: " DynamicTime " ) ,
179
-
180
160
. target( name: " Fingerprinting " ,
181
161
dependencies: [
182
162
. target( name: " HTTP " ) ,
183
- . target ( name: " ISO " ) ,
163
+ . product ( name: " ISO " , package : " swift-unixtime " ) ,
184
164
] ) ,
185
165
186
166
. target( name: " FNV1 " ) ,
@@ -195,15 +175,15 @@ let package:Package = .init(
195
175
196
176
. target( name: " GitHubAPI " ,
197
177
dependencies: [
198
- . target ( name: " UnixTime " ) ,
178
+ . product ( name: " UnixTime " , package : " swift-unixtime " ) ,
199
179
. product( name: " JSON " , package : " swift-json " ) ,
200
180
. product( name: " SHA1 " , package : " swift-hash " ) ,
201
181
] ) ,
202
182
203
183
. target( name: " HTTP " ,
204
184
dependencies: [
205
- . target( name: " ISO " ) ,
206
185
. target( name: " Media " ) ,
186
+ . product( name: " ISO " , package : " swift-unixtime " ) ,
207
187
. product( name: " MD5 " , package : " swift-hash " ) ,
208
188
. product( name: " NIOCore " , package : " swift-nio " ) ,
209
189
] ) ,
@@ -243,17 +223,6 @@ let package:Package = .init(
243
223
244
224
. target( name: " InlineDictionary " ) ,
245
225
246
- . target( name: " ISO " ,
247
- dependencies: [
248
- . target( name: " CasesByIntegerEncodingMacro " ) ,
249
- ] ,
250
- exclude: [
251
- // "ISO.Country (gen).swift",
252
- " ISO.Country.swift " ,
253
- // "ISO.Macrolanguage (gen).swift",
254
- " ISO.Macrolanguage.swift " ,
255
- ] ) ,
256
-
257
226
. target( name: " LexicalPaths " ) ,
258
227
259
228
. target( name: " LinkResolution " ,
@@ -350,7 +319,7 @@ let package:Package = .init(
350
319
. target( name: " HTTPClient " ) ,
351
320
. target( name: " Media " ) ,
352
321
. target( name: " S3 " ) ,
353
- . target ( name: " UnixTime " ) ,
322
+ . product ( name: " UnixCalendar " , package : " swift-unixtime " ) ,
354
323
. product( name: " NIOCore " , package : " swift-nio " ) ,
355
324
. product( name: " NIOHTTP1 " , package : " swift-nio " ) ,
356
325
. product( name: " SHA2 " , package : " swift-hash " ) ,
@@ -511,7 +480,7 @@ let package:Package = .init(
511
480
. target( name: " UnidocRecords_LZ77 " ) ,
512
481
. target( name: " UnidocLinker " ) ,
513
482
. target( name: " UnidocRecords " ) ,
514
- . target ( name: " UnixTime " ) ,
483
+ . product ( name: " UnixCalendar " , package : " swift-unixtime " ) ,
515
484
. product( name: " MongoDB " , package : " swift-mongodb " ) ,
516
485
] ) ,
517
486
@@ -550,8 +519,7 @@ let package:Package = .init(
550
519
. target( name: " Media " ) ,
551
520
. target( name: " UnidocAssets " ) ,
552
521
. target( name: " UnidocRecords " ) ,
553
- . target( name: " UnixTime " ) ,
554
-
522
+ . product( name: " UnixCalendar " , package : " swift-unixtime " ) ,
555
523
. product( name: " HTML " , package : " swift-dom " ) ,
556
524
] ) ,
557
525
@@ -576,17 +544,15 @@ let package:Package = .init(
576
544
577
545
. target( name: " UnidocUI " ,
578
546
dependencies: [
579
- . target( name: " DynamicTime " ) ,
580
547
. target( name: " GitHubAPI " ) ,
581
548
. target( name: " PieCharts " ) ,
582
549
. target( name: " UnidocRender " ) ,
583
550
. target( name: " UnidocAPI " ) ,
584
551
. target( name: " UnidocQueries " ) ,
585
552
. target( name: " URI " ) ,
553
+ . product( name: " UnixTime " , package : " swift-unixtime " ) ,
586
554
] ) ,
587
555
588
- . target( name: " UnixTime " ) ,
589
-
590
556
. target( name: " URI " ,
591
557
dependencies: [
592
558
. product( name: " Grammar " , package : " swift-grammar " ) ,
0 commit comments