tzf 0.4.5 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Cargo.lock +109 -168
- data/README.md +3 -0
- data/ext/tzf/Cargo.toml +1 -1
- data/ext/tzf/src/lib.rs +10 -3
- data/lib/tzf/version.rb +1 -1
- data/tzf.gemspec +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 166429c75003a6972ce36bac099f513ca70e29473cb5cb43ba7c469b23734399
|
4
|
+
data.tar.gz: fe5c3bbe54320a96b795b5422ed9cb2f76123b688a48fdc41e49722f1017173e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5520be8cab044a7c297352ba78b9a9a097dedf292038b7fa19480372c849d5ad81f0d5f833957dc459198299368e2bb0e91a3b42e70ad715f253f7dd276e5dd2
|
7
|
+
data.tar.gz: 6034905d518fd495ad0137d5b78780114cf3961016f2a9393890797dfc61ea76e2b7cde03ad116b6735d41ec63527067275d9367ec67d45ad4ee7f1986567e05
|
data/Cargo.lock
CHANGED
@@ -4,31 +4,31 @@ version = 3
|
|
4
4
|
|
5
5
|
[[package]]
|
6
6
|
name = "aho-corasick"
|
7
|
-
version = "1.1.
|
7
|
+
version = "1.1.3"
|
8
8
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
9
|
-
checksum = "
|
9
|
+
checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
|
10
10
|
dependencies = [
|
11
11
|
"memchr",
|
12
12
|
]
|
13
13
|
|
14
14
|
[[package]]
|
15
15
|
name = "anyhow"
|
16
|
-
version = "1.0.
|
16
|
+
version = "1.0.82"
|
17
17
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
18
|
-
checksum = "
|
18
|
+
checksum = "f538837af36e6f6a9be0faa67f9a314f8119e4e4b5867c6ab40ed60360142519"
|
19
19
|
|
20
20
|
[[package]]
|
21
21
|
name = "bindgen"
|
22
|
-
version = "0.
|
22
|
+
version = "0.69.4"
|
23
23
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
24
|
-
checksum = "
|
24
|
+
checksum = "a00dc851838a2120612785d195287475a3ac45514741da670b735818822129a0"
|
25
25
|
dependencies = [
|
26
|
-
"bitflags
|
26
|
+
"bitflags",
|
27
27
|
"cexpr",
|
28
28
|
"clang-sys",
|
29
|
+
"itertools",
|
29
30
|
"lazy_static",
|
30
31
|
"lazycell",
|
31
|
-
"peeking_take_while",
|
32
32
|
"proc-macro2",
|
33
33
|
"quote",
|
34
34
|
"regex",
|
@@ -39,21 +39,15 @@ dependencies = [
|
|
39
39
|
|
40
40
|
[[package]]
|
41
41
|
name = "bitflags"
|
42
|
-
version = "
|
42
|
+
version = "2.5.0"
|
43
43
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
44
|
-
checksum = "
|
45
|
-
|
46
|
-
[[package]]
|
47
|
-
name = "bitflags"
|
48
|
-
version = "2.4.1"
|
49
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
50
|
-
checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07"
|
44
|
+
checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1"
|
51
45
|
|
52
46
|
[[package]]
|
53
47
|
name = "bytes"
|
54
|
-
version = "1.
|
48
|
+
version = "1.6.0"
|
55
49
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
56
|
-
checksum = "
|
50
|
+
checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9"
|
57
51
|
|
58
52
|
[[package]]
|
59
53
|
name = "cexpr"
|
@@ -72,9 +66,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
72
66
|
|
73
67
|
[[package]]
|
74
68
|
name = "clang-sys"
|
75
|
-
version = "1.
|
69
|
+
version = "1.7.0"
|
76
70
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
77
|
-
checksum = "
|
71
|
+
checksum = "67523a3b4be3ce1989d607a828d036249522dd9c1c8de7f4dd2dae43a37369d1"
|
78
72
|
dependencies = [
|
79
73
|
"glob",
|
80
74
|
"libc",
|
@@ -83,9 +77,9 @@ dependencies = [
|
|
83
77
|
|
84
78
|
[[package]]
|
85
79
|
name = "either"
|
86
|
-
version = "1.
|
80
|
+
version = "1.11.0"
|
87
81
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
88
|
-
checksum = "
|
82
|
+
checksum = "a47c1c47d2f5964e29c61246e81db715514cd532db6b5116a25ea3c03d6780a2"
|
89
83
|
|
90
84
|
[[package]]
|
91
85
|
name = "equivalent"
|
@@ -95,9 +89,9 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
|
|
95
89
|
|
96
90
|
[[package]]
|
97
91
|
name = "errno"
|
98
|
-
version = "0.3.
|
92
|
+
version = "0.3.8"
|
99
93
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
100
|
-
checksum = "
|
94
|
+
checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245"
|
101
95
|
dependencies = [
|
102
96
|
"libc",
|
103
97
|
"windows-sys",
|
@@ -105,9 +99,9 @@ dependencies = [
|
|
105
99
|
|
106
100
|
[[package]]
|
107
101
|
name = "fastrand"
|
108
|
-
version = "2.0.
|
102
|
+
version = "2.0.2"
|
109
103
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
110
|
-
checksum = "
|
104
|
+
checksum = "658bd65b1cf4c852a3cc96f18a8ce7b5640f6b703f905c7d74532294c2a63984"
|
111
105
|
|
112
106
|
[[package]]
|
113
107
|
name = "fixedbitset"
|
@@ -133,9 +127,9 @@ dependencies = [
|
|
133
127
|
|
134
128
|
[[package]]
|
135
129
|
name = "getrandom"
|
136
|
-
version = "0.2.
|
130
|
+
version = "0.2.14"
|
137
131
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
138
|
-
checksum = "
|
132
|
+
checksum = "94b22e06ecb0110981051723910cbf0b5f5e09a2062dd7663334ee79a9d1286c"
|
139
133
|
dependencies = [
|
140
134
|
"cfg-if",
|
141
135
|
"libc",
|
@@ -150,30 +144,21 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
|
|
150
144
|
|
151
145
|
[[package]]
|
152
146
|
name = "hashbrown"
|
153
|
-
version = "0.14.
|
147
|
+
version = "0.14.3"
|
154
148
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
155
|
-
checksum = "
|
149
|
+
checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604"
|
156
150
|
|
157
151
|
[[package]]
|
158
152
|
name = "heck"
|
159
|
-
version = "0.
|
153
|
+
version = "0.5.0"
|
160
154
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
161
|
-
checksum = "
|
162
|
-
|
163
|
-
[[package]]
|
164
|
-
name = "home"
|
165
|
-
version = "0.5.5"
|
166
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
167
|
-
checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb"
|
168
|
-
dependencies = [
|
169
|
-
"windows-sys",
|
170
|
-
]
|
155
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
171
156
|
|
172
157
|
[[package]]
|
173
158
|
name = "indexmap"
|
174
|
-
version = "2.
|
159
|
+
version = "2.2.6"
|
175
160
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
176
|
-
checksum = "
|
161
|
+
checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26"
|
177
162
|
dependencies = [
|
178
163
|
"equivalent",
|
179
164
|
"hashbrown",
|
@@ -181,9 +166,9 @@ dependencies = [
|
|
181
166
|
|
182
167
|
[[package]]
|
183
168
|
name = "itertools"
|
184
|
-
version = "0.
|
169
|
+
version = "0.12.1"
|
185
170
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
186
|
-
checksum = "
|
171
|
+
checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
|
187
172
|
dependencies = [
|
188
173
|
"either",
|
189
174
|
]
|
@@ -202,37 +187,37 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
|
|
202
187
|
|
203
188
|
[[package]]
|
204
189
|
name = "libc"
|
205
|
-
version = "0.2.
|
190
|
+
version = "0.2.153"
|
206
191
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
207
|
-
checksum = "
|
192
|
+
checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
|
208
193
|
|
209
194
|
[[package]]
|
210
195
|
name = "libloading"
|
211
|
-
version = "0.
|
196
|
+
version = "0.8.3"
|
212
197
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
213
|
-
checksum = "
|
198
|
+
checksum = "0c2a198fb6b0eada2a8df47933734e6d35d350665a33a3593d7164fa52c75c19"
|
214
199
|
dependencies = [
|
215
200
|
"cfg-if",
|
216
|
-
"
|
201
|
+
"windows-targets",
|
217
202
|
]
|
218
203
|
|
219
204
|
[[package]]
|
220
205
|
name = "linux-raw-sys"
|
221
|
-
version = "0.4.
|
206
|
+
version = "0.4.13"
|
222
207
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
223
|
-
checksum = "
|
208
|
+
checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c"
|
224
209
|
|
225
210
|
[[package]]
|
226
211
|
name = "log"
|
227
|
-
version = "0.4.
|
212
|
+
version = "0.4.21"
|
228
213
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
229
|
-
checksum = "
|
214
|
+
checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c"
|
230
215
|
|
231
216
|
[[package]]
|
232
217
|
name = "magnus"
|
233
|
-
version = "0.6.
|
218
|
+
version = "0.6.4"
|
234
219
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
235
|
-
checksum = "
|
220
|
+
checksum = "b1597ef40aa8c36be098249e82c9a20cf7199278ac1c1a1a995eeead6a184479"
|
236
221
|
dependencies = [
|
237
222
|
"magnus-macros",
|
238
223
|
"rb-sys",
|
@@ -253,9 +238,9 @@ dependencies = [
|
|
253
238
|
|
254
239
|
[[package]]
|
255
240
|
name = "memchr"
|
256
|
-
version = "2.
|
241
|
+
version = "2.7.2"
|
257
242
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
258
|
-
checksum = "
|
243
|
+
checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d"
|
259
244
|
|
260
245
|
[[package]]
|
261
246
|
name = "minimal-lexical"
|
@@ -265,9 +250,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
|
|
265
250
|
|
266
251
|
[[package]]
|
267
252
|
name = "multimap"
|
268
|
-
version = "0.
|
253
|
+
version = "0.10.0"
|
269
254
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
270
|
-
checksum = "
|
255
|
+
checksum = "defc4c55412d89136f966bbb339008b474350e5e6e78d2714439c386b3137a03"
|
271
256
|
|
272
257
|
[[package]]
|
273
258
|
name = "nom"
|
@@ -281,15 +266,9 @@ dependencies = [
|
|
281
266
|
|
282
267
|
[[package]]
|
283
268
|
name = "once_cell"
|
284
|
-
version = "1.
|
285
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
286
|
-
checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d"
|
287
|
-
|
288
|
-
[[package]]
|
289
|
-
name = "peeking_take_while"
|
290
|
-
version = "0.1.2"
|
269
|
+
version = "1.19.0"
|
291
270
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
292
|
-
checksum = "
|
271
|
+
checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
|
293
272
|
|
294
273
|
[[package]]
|
295
274
|
name = "petgraph"
|
@@ -315,9 +294,9 @@ checksum = "a2145d14f09d5fc7fe7134b556146599c2929af5b1f1e3a0ecc9d582a9b85e4d"
|
|
315
294
|
|
316
295
|
[[package]]
|
317
296
|
name = "prettyplease"
|
318
|
-
version = "0.2.
|
297
|
+
version = "0.2.19"
|
319
298
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
320
|
-
checksum = "
|
299
|
+
checksum = "5ac2cf0f2e4f42b49f5ffd07dae8d746508ef7526c13940e5f524012ae6c6550"
|
321
300
|
dependencies = [
|
322
301
|
"proc-macro2",
|
323
302
|
"syn",
|
@@ -325,18 +304,18 @@ dependencies = [
|
|
325
304
|
|
326
305
|
[[package]]
|
327
306
|
name = "proc-macro2"
|
328
|
-
version = "1.0.
|
307
|
+
version = "1.0.80"
|
329
308
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
330
|
-
checksum = "
|
309
|
+
checksum = "a56dea16b0a29e94408b9aa5e2940a4eedbd128a1ba20e8f7ae60fd3d465af0e"
|
331
310
|
dependencies = [
|
332
311
|
"unicode-ident",
|
333
312
|
]
|
334
313
|
|
335
314
|
[[package]]
|
336
315
|
name = "prost"
|
337
|
-
version = "0.12.
|
316
|
+
version = "0.12.4"
|
338
317
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
339
|
-
checksum = "
|
318
|
+
checksum = "d0f5d036824e4761737860779c906171497f6d55681139d8312388f8fe398922"
|
340
319
|
dependencies = [
|
341
320
|
"bytes",
|
342
321
|
"prost-derive",
|
@@ -344,9 +323,9 @@ dependencies = [
|
|
344
323
|
|
345
324
|
[[package]]
|
346
325
|
name = "prost-build"
|
347
|
-
version = "0.12.
|
326
|
+
version = "0.12.4"
|
348
327
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
349
|
-
checksum = "
|
328
|
+
checksum = "80b776a1b2dc779f5ee0641f8ade0125bc1298dd41a9a0c16d8bd57b42d222b1"
|
350
329
|
dependencies = [
|
351
330
|
"bytes",
|
352
331
|
"heck",
|
@@ -361,14 +340,13 @@ dependencies = [
|
|
361
340
|
"regex",
|
362
341
|
"syn",
|
363
342
|
"tempfile",
|
364
|
-
"which",
|
365
343
|
]
|
366
344
|
|
367
345
|
[[package]]
|
368
346
|
name = "prost-derive"
|
369
|
-
version = "0.12.
|
347
|
+
version = "0.12.4"
|
370
348
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
371
|
-
checksum = "
|
349
|
+
checksum = "19de2de2a00075bf566bee3bd4db014b11587e84184d3f7a791bc17f1a8e9e48"
|
372
350
|
dependencies = [
|
373
351
|
"anyhow",
|
374
352
|
"itertools",
|
@@ -379,18 +357,18 @@ dependencies = [
|
|
379
357
|
|
380
358
|
[[package]]
|
381
359
|
name = "prost-types"
|
382
|
-
version = "0.12.
|
360
|
+
version = "0.12.4"
|
383
361
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
384
|
-
checksum = "
|
362
|
+
checksum = "3235c33eb02c1f1e212abdbe34c78b264b038fb58ca612664343271e36e55ffe"
|
385
363
|
dependencies = [
|
386
364
|
"prost",
|
387
365
|
]
|
388
366
|
|
389
367
|
[[package]]
|
390
368
|
name = "quote"
|
391
|
-
version = "1.0.
|
369
|
+
version = "1.0.36"
|
392
370
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
393
|
-
checksum = "
|
371
|
+
checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
|
394
372
|
dependencies = [
|
395
373
|
"proc-macro2",
|
396
374
|
]
|
@@ -427,18 +405,18 @@ dependencies = [
|
|
427
405
|
|
428
406
|
[[package]]
|
429
407
|
name = "rb-sys"
|
430
|
-
version = "0.9.
|
408
|
+
version = "0.9.94"
|
431
409
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
432
|
-
checksum = "
|
410
|
+
checksum = "06dab8dbb0beb0a575a80c4b46355c8ace1f3dc5df60a3109758f205f1061366"
|
433
411
|
dependencies = [
|
434
412
|
"rb-sys-build",
|
435
413
|
]
|
436
414
|
|
437
415
|
[[package]]
|
438
416
|
name = "rb-sys-build"
|
439
|
-
version = "0.9.
|
417
|
+
version = "0.9.94"
|
440
418
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
441
|
-
checksum = "
|
419
|
+
checksum = "164d44950a42f2ba2f94efdcb650e14764270f84d281352aebb261806da0b2ce"
|
442
420
|
dependencies = [
|
443
421
|
"bindgen",
|
444
422
|
"lazy_static",
|
@@ -455,20 +433,11 @@ version = "0.1.2"
|
|
455
433
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
456
434
|
checksum = "a35802679f07360454b418a5d1735c89716bde01d35b1560fc953c1415a0b3bb"
|
457
435
|
|
458
|
-
[[package]]
|
459
|
-
name = "redox_syscall"
|
460
|
-
version = "0.4.1"
|
461
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
462
|
-
checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"
|
463
|
-
dependencies = [
|
464
|
-
"bitflags 1.3.2",
|
465
|
-
]
|
466
|
-
|
467
436
|
[[package]]
|
468
437
|
name = "regex"
|
469
|
-
version = "1.10.
|
438
|
+
version = "1.10.4"
|
470
439
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
471
|
-
checksum = "
|
440
|
+
checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c"
|
472
441
|
dependencies = [
|
473
442
|
"aho-corasick",
|
474
443
|
"memchr",
|
@@ -478,9 +447,9 @@ dependencies = [
|
|
478
447
|
|
479
448
|
[[package]]
|
480
449
|
name = "regex-automata"
|
481
|
-
version = "0.4.
|
450
|
+
version = "0.4.6"
|
482
451
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
483
|
-
checksum = "
|
452
|
+
checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea"
|
484
453
|
dependencies = [
|
485
454
|
"aho-corasick",
|
486
455
|
"memchr",
|
@@ -489,9 +458,9 @@ dependencies = [
|
|
489
458
|
|
490
459
|
[[package]]
|
491
460
|
name = "regex-syntax"
|
492
|
-
version = "0.8.
|
461
|
+
version = "0.8.3"
|
493
462
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
494
|
-
checksum = "
|
463
|
+
checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56"
|
495
464
|
|
496
465
|
[[package]]
|
497
466
|
name = "rtree_rs"
|
@@ -510,11 +479,11 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
|
|
510
479
|
|
511
480
|
[[package]]
|
512
481
|
name = "rustix"
|
513
|
-
version = "0.38.
|
482
|
+
version = "0.38.32"
|
514
483
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
515
|
-
checksum = "
|
484
|
+
checksum = "65e04861e65f21776e67888bfbea442b3642beaa0138fdb1dd7a84a52dffdb89"
|
516
485
|
dependencies = [
|
517
|
-
"bitflags
|
486
|
+
"bitflags",
|
518
487
|
"errno",
|
519
488
|
"libc",
|
520
489
|
"linux-raw-sys",
|
@@ -535,15 +504,15 @@ checksum = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde"
|
|
535
504
|
|
536
505
|
[[package]]
|
537
506
|
name = "shlex"
|
538
|
-
version = "1.
|
507
|
+
version = "1.3.0"
|
539
508
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
540
|
-
checksum = "
|
509
|
+
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
541
510
|
|
542
511
|
[[package]]
|
543
512
|
name = "syn"
|
544
|
-
version = "2.0.
|
513
|
+
version = "2.0.59"
|
545
514
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
546
|
-
checksum = "
|
515
|
+
checksum = "4a6531ffc7b071655e4ce2e04bd464c4830bb585a61cabb96cf808f05172615a"
|
547
516
|
dependencies = [
|
548
517
|
"proc-macro2",
|
549
518
|
"quote",
|
@@ -552,13 +521,12 @@ dependencies = [
|
|
552
521
|
|
553
522
|
[[package]]
|
554
523
|
name = "tempfile"
|
555
|
-
version = "3.
|
524
|
+
version = "3.10.1"
|
556
525
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
557
|
-
checksum = "
|
526
|
+
checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1"
|
558
527
|
dependencies = [
|
559
528
|
"cfg-if",
|
560
529
|
"fastrand",
|
561
|
-
"redox_syscall",
|
562
530
|
"rustix",
|
563
531
|
"windows-sys",
|
564
532
|
]
|
@@ -574,15 +542,15 @@ dependencies = [
|
|
574
542
|
|
575
543
|
[[package]]
|
576
544
|
name = "tzf-rel"
|
577
|
-
version = "0.0.
|
545
|
+
version = "0.0.2024-a"
|
578
546
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
579
|
-
checksum = "
|
547
|
+
checksum = "3da647db441b5aad0454a41573a267edb82b67b82ca3b6a65d11c39ebce74a99"
|
580
548
|
|
581
549
|
[[package]]
|
582
550
|
name = "tzf-rs"
|
583
|
-
version = "0.4.
|
551
|
+
version = "0.4.8"
|
584
552
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
585
|
-
checksum = "
|
553
|
+
checksum = "7f10765037fa5376d5fc3603d3c898d1f579bf5a59b87594b9f6b2b3f0b9c14c"
|
586
554
|
dependencies = [
|
587
555
|
"anyhow",
|
588
556
|
"bytes",
|
@@ -605,58 +573,25 @@ version = "0.11.0+wasi-snapshot-preview1"
|
|
605
573
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
606
574
|
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
|
607
575
|
|
608
|
-
[[package]]
|
609
|
-
name = "which"
|
610
|
-
version = "4.4.2"
|
611
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
612
|
-
checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7"
|
613
|
-
dependencies = [
|
614
|
-
"either",
|
615
|
-
"home",
|
616
|
-
"once_cell",
|
617
|
-
"rustix",
|
618
|
-
]
|
619
|
-
|
620
|
-
[[package]]
|
621
|
-
name = "winapi"
|
622
|
-
version = "0.3.9"
|
623
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
624
|
-
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
625
|
-
dependencies = [
|
626
|
-
"winapi-i686-pc-windows-gnu",
|
627
|
-
"winapi-x86_64-pc-windows-gnu",
|
628
|
-
]
|
629
|
-
|
630
|
-
[[package]]
|
631
|
-
name = "winapi-i686-pc-windows-gnu"
|
632
|
-
version = "0.4.0"
|
633
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
634
|
-
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
635
|
-
|
636
|
-
[[package]]
|
637
|
-
name = "winapi-x86_64-pc-windows-gnu"
|
638
|
-
version = "0.4.0"
|
639
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
640
|
-
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
641
|
-
|
642
576
|
[[package]]
|
643
577
|
name = "windows-sys"
|
644
|
-
version = "0.
|
578
|
+
version = "0.52.0"
|
645
579
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
646
|
-
checksum = "
|
580
|
+
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
|
647
581
|
dependencies = [
|
648
582
|
"windows-targets",
|
649
583
|
]
|
650
584
|
|
651
585
|
[[package]]
|
652
586
|
name = "windows-targets"
|
653
|
-
version = "0.
|
587
|
+
version = "0.52.5"
|
654
588
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
655
|
-
checksum = "
|
589
|
+
checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb"
|
656
590
|
dependencies = [
|
657
591
|
"windows_aarch64_gnullvm",
|
658
592
|
"windows_aarch64_msvc",
|
659
593
|
"windows_i686_gnu",
|
594
|
+
"windows_i686_gnullvm",
|
660
595
|
"windows_i686_msvc",
|
661
596
|
"windows_x86_64_gnu",
|
662
597
|
"windows_x86_64_gnullvm",
|
@@ -665,42 +600,48 @@ dependencies = [
|
|
665
600
|
|
666
601
|
[[package]]
|
667
602
|
name = "windows_aarch64_gnullvm"
|
668
|
-
version = "0.
|
603
|
+
version = "0.52.5"
|
669
604
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
670
|
-
checksum = "
|
605
|
+
checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263"
|
671
606
|
|
672
607
|
[[package]]
|
673
608
|
name = "windows_aarch64_msvc"
|
674
|
-
version = "0.
|
609
|
+
version = "0.52.5"
|
675
610
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
676
|
-
checksum = "
|
611
|
+
checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6"
|
677
612
|
|
678
613
|
[[package]]
|
679
614
|
name = "windows_i686_gnu"
|
680
|
-
version = "0.
|
615
|
+
version = "0.52.5"
|
616
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
617
|
+
checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670"
|
618
|
+
|
619
|
+
[[package]]
|
620
|
+
name = "windows_i686_gnullvm"
|
621
|
+
version = "0.52.5"
|
681
622
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
682
|
-
checksum = "
|
623
|
+
checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9"
|
683
624
|
|
684
625
|
[[package]]
|
685
626
|
name = "windows_i686_msvc"
|
686
|
-
version = "0.
|
627
|
+
version = "0.52.5"
|
687
628
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
688
|
-
checksum = "
|
629
|
+
checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf"
|
689
630
|
|
690
631
|
[[package]]
|
691
632
|
name = "windows_x86_64_gnu"
|
692
|
-
version = "0.
|
633
|
+
version = "0.52.5"
|
693
634
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
694
|
-
checksum = "
|
635
|
+
checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9"
|
695
636
|
|
696
637
|
[[package]]
|
697
638
|
name = "windows_x86_64_gnullvm"
|
698
|
-
version = "0.
|
639
|
+
version = "0.52.5"
|
699
640
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
700
|
-
checksum = "
|
641
|
+
checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596"
|
701
642
|
|
702
643
|
[[package]]
|
703
644
|
name = "windows_x86_64_msvc"
|
704
|
-
version = "0.
|
645
|
+
version = "0.52.5"
|
705
646
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
706
|
-
checksum = "
|
647
|
+
checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0"
|
data/README.md
CHANGED
data/ext/tzf/Cargo.toml
CHANGED
data/ext/tzf/src/lib.rs
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
use lazy_static::lazy_static;
|
2
2
|
use magnus::{define_module, function, prelude::*, Error};
|
3
|
-
use magnus::{RString};
|
4
3
|
|
5
4
|
use tzf_rs::DefaultFinder;
|
6
5
|
|
@@ -9,17 +8,25 @@ lazy_static! {
|
|
9
8
|
}
|
10
9
|
|
11
10
|
#[no_mangle]
|
12
|
-
fn get_tz_name(lat: f64, lng: f64) ->
|
13
|
-
let tz_name =
|
11
|
+
fn get_tz_name(lat: f64, lng: f64) -> &'static str {
|
12
|
+
let tz_name: &str = FINDER.get_tz_name(lng, lat);
|
14
13
|
|
15
14
|
return tz_name;
|
16
15
|
}
|
17
16
|
|
17
|
+
#[no_mangle]
|
18
|
+
fn get_tz_names(lat: f64, lng: f64) -> Vec<&'static str> {
|
19
|
+
let tz_names: Vec<&str> = FINDER.get_tz_names(lng, lat);
|
20
|
+
|
21
|
+
return tz_names;
|
22
|
+
}
|
23
|
+
|
18
24
|
#[magnus::init]
|
19
25
|
fn init() -> Result<(), Error> {
|
20
26
|
let module = define_module("TZF")?;
|
21
27
|
|
22
28
|
module.define_singleton_method("tz_name", function!(get_tz_name, 2))?;
|
29
|
+
module.define_singleton_method("tz_names", function!(get_tz_names, 2))?;
|
23
30
|
|
24
31
|
Ok(())
|
25
32
|
}
|
data/lib/tzf/version.rb
CHANGED
data/tzf.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tzf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin McCormack
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rb_sys
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.9.89
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 0.9.89
|
27
27
|
description: Ruby time zone lookup interface using tzf-rs.
|
28
28
|
email:
|
29
29
|
- kevin@mccormack.tech
|
@@ -52,7 +52,7 @@ metadata:
|
|
52
52
|
homepage_uri: https://github.com/HarlemSquirrel/tzf-rb
|
53
53
|
source_code_uri: https://github.com/HarlemSquirrel/tzf-rb
|
54
54
|
rubygems_mfa_required: 'true'
|
55
|
-
post_install_message:
|
55
|
+
post_install_message:
|
56
56
|
rdoc_options: []
|
57
57
|
require_paths:
|
58
58
|
- lib
|
@@ -67,8 +67,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 3.4.6
|
69
69
|
requirements: []
|
70
|
-
rubygems_version: 3.
|
71
|
-
signing_key:
|
70
|
+
rubygems_version: 3.5.3
|
71
|
+
signing_key:
|
72
72
|
specification_version: 4
|
73
73
|
summary: Ruby time zone lookup interface using tzf-rs
|
74
74
|
test_files: []
|