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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ffdcf17d22e1d7a296386c304ff5f225fa09fb7b461ec8bba53477b02ae39c0
4
- data.tar.gz: ff290d229e162b4ea391d466ff174b57d6c9774c80cd87183a416a6196fdaddf
3
+ metadata.gz: 166429c75003a6972ce36bac099f513ca70e29473cb5cb43ba7c469b23734399
4
+ data.tar.gz: fe5c3bbe54320a96b795b5422ed9cb2f76123b688a48fdc41e49722f1017173e
5
5
  SHA512:
6
- metadata.gz: f8442688be9dde1b65dbd734240a6d3ffdb42dabe6c17597a63b379f626d6cd29d03cf136f19b1c8c8692b87a72c56bade9d62290800bbbfc5f216d1232b4d02
7
- data.tar.gz: 40028486e1667d01271ac03ac20021fe5ff15404a4d56e5da262121976116e9899a4352a760250ec267841bdbaf0ae6d958ed28a7d40f1b6dc56b215687a1a3a
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.2"
7
+ version = "1.1.3"
8
8
  source = "registry+https://github.com/rust-lang/crates.io-index"
9
- checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0"
9
+ checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
10
10
  dependencies = [
11
11
  "memchr",
12
12
  ]
13
13
 
14
14
  [[package]]
15
15
  name = "anyhow"
16
- version = "1.0.75"
16
+ version = "1.0.82"
17
17
  source = "registry+https://github.com/rust-lang/crates.io-index"
18
- checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6"
18
+ checksum = "f538837af36e6f6a9be0faa67f9a314f8119e4e4b5867c6ab40ed60360142519"
19
19
 
20
20
  [[package]]
21
21
  name = "bindgen"
22
- version = "0.66.1"
22
+ version = "0.69.4"
23
23
  source = "registry+https://github.com/rust-lang/crates.io-index"
24
- checksum = "f2b84e06fc203107bfbad243f4aba2af864eb7db3b1cf46ea0a023b0b433d2a7"
24
+ checksum = "a00dc851838a2120612785d195287475a3ac45514741da670b735818822129a0"
25
25
  dependencies = [
26
- "bitflags 2.4.1",
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 = "1.3.2"
42
+ version = "2.5.0"
43
43
  source = "registry+https://github.com/rust-lang/crates.io-index"
44
- checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
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.5.0"
48
+ version = "1.6.0"
55
49
  source = "registry+https://github.com/rust-lang/crates.io-index"
56
- checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223"
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.6.1"
69
+ version = "1.7.0"
76
70
  source = "registry+https://github.com/rust-lang/crates.io-index"
77
- checksum = "c688fc74432808e3eb684cae8830a86be1d66a2bd58e1f248ed0960a590baf6f"
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.9.0"
80
+ version = "1.11.0"
87
81
  source = "registry+https://github.com/rust-lang/crates.io-index"
88
- checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07"
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.5"
92
+ version = "0.3.8"
99
93
  source = "registry+https://github.com/rust-lang/crates.io-index"
100
- checksum = "ac3e13f66a2f95e32a39eaa81f6b95d42878ca0e1db0c7543723dfe12557e860"
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.1"
102
+ version = "2.0.2"
109
103
  source = "registry+https://github.com/rust-lang/crates.io-index"
110
- checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5"
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.10"
130
+ version = "0.2.14"
137
131
  source = "registry+https://github.com/rust-lang/crates.io-index"
138
- checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427"
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.2"
147
+ version = "0.14.3"
154
148
  source = "registry+https://github.com/rust-lang/crates.io-index"
155
- checksum = "f93e7192158dbcda357bdec5fb5788eebf8bbac027f3f33e719d29135ae84156"
149
+ checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604"
156
150
 
157
151
  [[package]]
158
152
  name = "heck"
159
- version = "0.4.1"
153
+ version = "0.5.0"
160
154
  source = "registry+https://github.com/rust-lang/crates.io-index"
161
- checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
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.1.0"
159
+ version = "2.2.6"
175
160
  source = "registry+https://github.com/rust-lang/crates.io-index"
176
- checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f"
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.10.5"
169
+ version = "0.12.1"
185
170
  source = "registry+https://github.com/rust-lang/crates.io-index"
186
- checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
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.149"
190
+ version = "0.2.153"
206
191
  source = "registry+https://github.com/rust-lang/crates.io-index"
207
- checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b"
192
+ checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
208
193
 
209
194
  [[package]]
210
195
  name = "libloading"
211
- version = "0.7.4"
196
+ version = "0.8.3"
212
197
  source = "registry+https://github.com/rust-lang/crates.io-index"
213
- checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f"
198
+ checksum = "0c2a198fb6b0eada2a8df47933734e6d35d350665a33a3593d7164fa52c75c19"
214
199
  dependencies = [
215
200
  "cfg-if",
216
- "winapi",
201
+ "windows-targets",
217
202
  ]
218
203
 
219
204
  [[package]]
220
205
  name = "linux-raw-sys"
221
- version = "0.4.10"
206
+ version = "0.4.13"
222
207
  source = "registry+https://github.com/rust-lang/crates.io-index"
223
- checksum = "da2479e8c062e40bf0066ffa0bc823de0a9368974af99c9f6df941d2c231e03f"
208
+ checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c"
224
209
 
225
210
  [[package]]
226
211
  name = "log"
227
- version = "0.4.20"
212
+ version = "0.4.21"
228
213
  source = "registry+https://github.com/rust-lang/crates.io-index"
229
- checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f"
214
+ checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c"
230
215
 
231
216
  [[package]]
232
217
  name = "magnus"
233
- version = "0.6.2"
218
+ version = "0.6.4"
234
219
  source = "registry+https://github.com/rust-lang/crates.io-index"
235
- checksum = "4778544796676e8428e9c622460ebf284bea52d8b10db3aeb449d8b5e61b3a13"
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.6.4"
241
+ version = "2.7.2"
257
242
  source = "registry+https://github.com/rust-lang/crates.io-index"
258
- checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167"
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.8.3"
253
+ version = "0.10.0"
269
254
  source = "registry+https://github.com/rust-lang/crates.io-index"
270
- checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a"
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.18.0"
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 = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099"
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.15"
297
+ version = "0.2.19"
319
298
  source = "registry+https://github.com/rust-lang/crates.io-index"
320
- checksum = "ae005bd773ab59b4725093fd7df83fd7892f7d8eafb48dbd7de6e024e4215f9d"
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.69"
307
+ version = "1.0.80"
329
308
  source = "registry+https://github.com/rust-lang/crates.io-index"
330
- checksum = "134c189feb4956b20f6f547d2cf727d4c0fe06722b20a0eec87ed445a97f92da"
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.3"
316
+ version = "0.12.4"
338
317
  source = "registry+https://github.com/rust-lang/crates.io-index"
339
- checksum = "146c289cda302b98a28d40c8b3b90498d6e526dd24ac2ecea73e4e491685b94a"
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.3"
326
+ version = "0.12.4"
348
327
  source = "registry+https://github.com/rust-lang/crates.io-index"
349
- checksum = "c55e02e35260070b6f716a2423c2ff1c3bb1642ddca6f99e1f26d06268a0e2d2"
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.3"
347
+ version = "0.12.4"
370
348
  source = "registry+https://github.com/rust-lang/crates.io-index"
371
- checksum = "efb6c9a1dd1def8e2124d17e83a20af56f1570d6c2d2bd9e266ccb768df3840e"
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.3"
360
+ version = "0.12.4"
383
361
  source = "registry+https://github.com/rust-lang/crates.io-index"
384
- checksum = "193898f59edcf43c26227dcd4c8427f00d99d61e95dcde58dabd49fa291d470e"
362
+ checksum = "3235c33eb02c1f1e212abdbe34c78b264b038fb58ca612664343271e36e55ffe"
385
363
  dependencies = [
386
364
  "prost",
387
365
  ]
388
366
 
389
367
  [[package]]
390
368
  name = "quote"
391
- version = "1.0.33"
369
+ version = "1.0.36"
392
370
  source = "registry+https://github.com/rust-lang/crates.io-index"
393
- checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae"
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.82"
408
+ version = "0.9.94"
431
409
  source = "registry+https://github.com/rust-lang/crates.io-index"
432
- checksum = "a3e6bf79bf4c711917cacfaf46dfab4314dbfdd89a8ee3ec4b98336cd23f1ebf"
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.82"
417
+ version = "0.9.94"
440
418
  source = "registry+https://github.com/rust-lang/crates.io-index"
441
- checksum = "5482a1ed4cde58dddaf162b6aebcb5c25645822547832b8be101f2acd40bcdd6"
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.2"
438
+ version = "1.10.4"
470
439
  source = "registry+https://github.com/rust-lang/crates.io-index"
471
- checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343"
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.3"
450
+ version = "0.4.6"
482
451
  source = "registry+https://github.com/rust-lang/crates.io-index"
483
- checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f"
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.2"
461
+ version = "0.8.3"
493
462
  source = "registry+https://github.com/rust-lang/crates.io-index"
494
- checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f"
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.21"
482
+ version = "0.38.32"
514
483
  source = "registry+https://github.com/rust-lang/crates.io-index"
515
- checksum = "2b426b0506e5d50a7d8dafcf2e81471400deb602392c7dd110815afb4eaf02a3"
484
+ checksum = "65e04861e65f21776e67888bfbea442b3642beaa0138fdb1dd7a84a52dffdb89"
516
485
  dependencies = [
517
- "bitflags 2.4.1",
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.2.0"
507
+ version = "1.3.0"
539
508
  source = "registry+https://github.com/rust-lang/crates.io-index"
540
- checksum = "a7cee0529a6d40f580e7a5e6c495c8fbfe21b7b52795ed4bb5e62cdf92bc6380"
509
+ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
541
510
 
542
511
  [[package]]
543
512
  name = "syn"
544
- version = "2.0.38"
513
+ version = "2.0.59"
545
514
  source = "registry+https://github.com/rust-lang/crates.io-index"
546
- checksum = "e96b79aaa137db8f61e26363a0c9b47d8b4ec75da28b7d1d614c2303e232408b"
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.8.1"
524
+ version = "3.10.1"
556
525
  source = "registry+https://github.com/rust-lang/crates.io-index"
557
- checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5"
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.2023-d"
545
+ version = "0.0.2024-a"
578
546
  source = "registry+https://github.com/rust-lang/crates.io-index"
579
- checksum = "6f07a0f286fe439ee06a322c948699f4f40c68e877cf9614aac251d4c6d35a11"
547
+ checksum = "3da647db441b5aad0454a41573a267edb82b67b82ca3b6a65d11c39ebce74a99"
580
548
 
581
549
  [[package]]
582
550
  name = "tzf-rs"
583
- version = "0.4.5"
551
+ version = "0.4.8"
584
552
  source = "registry+https://github.com/rust-lang/crates.io-index"
585
- checksum = "fbc15ed27f426b211b681ed770481f147fd7d412ce2e6b83156e14bf18650cea"
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.48.0"
578
+ version = "0.52.0"
645
579
  source = "registry+https://github.com/rust-lang/crates.io-index"
646
- checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
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.48.5"
587
+ version = "0.52.5"
654
588
  source = "registry+https://github.com/rust-lang/crates.io-index"
655
- checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
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.48.5"
603
+ version = "0.52.5"
669
604
  source = "registry+https://github.com/rust-lang/crates.io-index"
670
- checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
605
+ checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263"
671
606
 
672
607
  [[package]]
673
608
  name = "windows_aarch64_msvc"
674
- version = "0.48.5"
609
+ version = "0.52.5"
675
610
  source = "registry+https://github.com/rust-lang/crates.io-index"
676
- checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
611
+ checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6"
677
612
 
678
613
  [[package]]
679
614
  name = "windows_i686_gnu"
680
- version = "0.48.5"
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 = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
623
+ checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9"
683
624
 
684
625
  [[package]]
685
626
  name = "windows_i686_msvc"
686
- version = "0.48.5"
627
+ version = "0.52.5"
687
628
  source = "registry+https://github.com/rust-lang/crates.io-index"
688
- checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
629
+ checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf"
689
630
 
690
631
  [[package]]
691
632
  name = "windows_x86_64_gnu"
692
- version = "0.48.5"
633
+ version = "0.52.5"
693
634
  source = "registry+https://github.com/rust-lang/crates.io-index"
694
- checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
635
+ checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9"
695
636
 
696
637
  [[package]]
697
638
  name = "windows_x86_64_gnullvm"
698
- version = "0.48.5"
639
+ version = "0.52.5"
699
640
  source = "registry+https://github.com/rust-lang/crates.io-index"
700
- checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
641
+ checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596"
701
642
 
702
643
  [[package]]
703
644
  name = "windows_x86_64_msvc"
704
- version = "0.48.5"
645
+ version = "0.52.5"
705
646
  source = "registry+https://github.com/rust-lang/crates.io-index"
706
- checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
647
+ checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0"
data/README.md CHANGED
@@ -28,6 +28,9 @@ require 'tzf'
28
28
 
29
29
  TZF.tz_name(40.74771675713742, -73.99350390136448)
30
30
  # => "America/New_York"
31
+
32
+ TZF.tz_names(40.74771675713742, -73.99350390136448)
33
+ # => ["America/New_York"]
31
34
  ```
32
35
 
33
36
  ## Development
data/ext/tzf/Cargo.toml CHANGED
@@ -12,4 +12,4 @@ crate-type = ["cdylib"]
12
12
  [dependencies]
13
13
  lazy_static = "1.4.0"
14
14
  magnus = { version = "0.6" }
15
- tzf-rs = { version = "0.4.5", default-features = false }
15
+ tzf-rs = { version = "0.4.8", default-features = false }
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) -> RString {
13
- let tz_name = RString::new(FINDER.get_tz_name(lng, lat));
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TZF
4
- VERSION = "0.4.5"
4
+ VERSION = "1.0.0"
5
5
  end
data/tzf.gemspec CHANGED
@@ -35,5 +35,5 @@ Gem::Specification.new do |spec|
35
35
 
36
36
  spec.metadata["rubygems_mfa_required"] = "true"
37
37
 
38
- spec.add_dependency("rb_sys", "~> 0.9")
38
+ spec.add_dependency("rb_sys", "~> 0.9.89")
39
39
  end
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.5
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-01-02 00:00:00.000000000 Z
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: '0.9'
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: '0.9'
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.4.14
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: []