smbcloud-auth 0.7.5 → 0.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Cargo.lock +198 -199
- data/Rakefile +2 -18
- data/ext/auth/Cargo.toml +2 -2
- data/ext/auth/extconf.rb +0 -12
- data/ext/auth/src/lib.rs +10 -4
- data/lib/auth/version.rb +1 -1
- data/lib/auth.rb +8 -1
- metadata +10 -7
- data/.rubocop.yml +0 -21
- data/.ruby-version +0 -1
- data/ext/auth/build.rs +0 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3c90910b56180c3fa4bed6bc8ed3a78984686b4bc989ca0e07a05a269e774319
|
|
4
|
+
data.tar.gz: fd1033c1b8d1e14c35e68d4771a22bab9f5665f3e369e46d5a3254c87bbcfbfd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8b6254233c0e2f8e84724df785a7e732f5d2d2391681cf587c005f72ea42e08371d2557d8c7649b22f78bbe82407d2fde67101dcd8b0436555bb1d3119013f67
|
|
7
|
+
data.tar.gz: 74b4fcdd21980b48252c4efebafb92f9c057f7fb774db8ac3ea3db6acb74d041dc54e1d16b8bfd9c3eb810416692232a4f4a77b8af97437ebbb4db6d03cc690a
|
data/Cargo.lock
CHANGED
|
@@ -4,18 +4,18 @@ version = 4
|
|
|
4
4
|
|
|
5
5
|
[[package]]
|
|
6
6
|
name = "aho-corasick"
|
|
7
|
-
version = "1.1.
|
|
7
|
+
version = "1.1.5"
|
|
8
8
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
-
checksum = "
|
|
9
|
+
checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba"
|
|
10
10
|
dependencies = [
|
|
11
11
|
"memchr",
|
|
12
12
|
]
|
|
13
13
|
|
|
14
14
|
[[package]]
|
|
15
15
|
name = "android_system_properties"
|
|
16
|
-
version = "0.1.
|
|
16
|
+
version = "0.1.6"
|
|
17
17
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
18
|
-
checksum = "
|
|
18
|
+
checksum = "ae221649c9976a6f6c56ae1facf410f3ddb33cc661c4b7b61020a912d4237fbc"
|
|
19
19
|
dependencies = [
|
|
20
20
|
"libc",
|
|
21
21
|
]
|
|
@@ -98,7 +98,7 @@ dependencies = [
|
|
|
98
98
|
|
|
99
99
|
[[package]]
|
|
100
100
|
name = "auth"
|
|
101
|
-
version = "0.7.
|
|
101
|
+
version = "0.7.6"
|
|
102
102
|
dependencies = [
|
|
103
103
|
"magnus",
|
|
104
104
|
"serde",
|
|
@@ -121,13 +121,19 @@ version = "0.22.1"
|
|
|
121
121
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
122
122
|
checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
|
|
123
123
|
|
|
124
|
+
[[package]]
|
|
125
|
+
name = "base64"
|
|
126
|
+
version = "0.23.1"
|
|
127
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
128
|
+
checksum = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5"
|
|
129
|
+
|
|
124
130
|
[[package]]
|
|
125
131
|
name = "bindgen"
|
|
126
132
|
version = "0.72.1"
|
|
127
133
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
128
134
|
checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895"
|
|
129
135
|
dependencies = [
|
|
130
|
-
"bitflags 2.13.
|
|
136
|
+
"bitflags 2.13.2",
|
|
131
137
|
"cexpr",
|
|
132
138
|
"clang-sys",
|
|
133
139
|
"itertools",
|
|
@@ -147,9 +153,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
|
|
147
153
|
|
|
148
154
|
[[package]]
|
|
149
155
|
name = "bitflags"
|
|
150
|
-
version = "2.13.
|
|
156
|
+
version = "2.13.2"
|
|
151
157
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
152
|
-
checksum = "
|
|
158
|
+
checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
|
|
153
159
|
|
|
154
160
|
[[package]]
|
|
155
161
|
name = "block-buffer"
|
|
@@ -174,9 +180,9 @@ checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04"
|
|
|
174
180
|
|
|
175
181
|
[[package]]
|
|
176
182
|
name = "cc"
|
|
177
|
-
version = "1.
|
|
183
|
+
version = "1.10.0"
|
|
178
184
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
179
|
-
checksum = "
|
|
185
|
+
checksum = "86e055fa6e3e40ad6187ba25b6855eeb635d5271f8e0f0e1e9a5826b8d75bea0"
|
|
180
186
|
dependencies = [
|
|
181
187
|
"find-msvc-tools",
|
|
182
188
|
"shlex 2.0.1",
|
|
@@ -193,9 +199,9 @@ dependencies = [
|
|
|
193
199
|
|
|
194
200
|
[[package]]
|
|
195
201
|
name = "cfg-if"
|
|
196
|
-
version = "1.0.
|
|
202
|
+
version = "1.0.5"
|
|
197
203
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
198
|
-
checksum = "
|
|
204
|
+
checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
|
|
199
205
|
|
|
200
206
|
[[package]]
|
|
201
207
|
name = "cfg_aliases"
|
|
@@ -205,12 +211,12 @@ checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527"
|
|
|
205
211
|
|
|
206
212
|
[[package]]
|
|
207
213
|
name = "chacha20"
|
|
208
|
-
version = "0.10.
|
|
214
|
+
version = "0.10.2"
|
|
209
215
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
210
|
-
checksum = "
|
|
216
|
+
checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06"
|
|
211
217
|
dependencies = [
|
|
212
218
|
"cfg-if",
|
|
213
|
-
"cpufeatures 0.3.
|
|
219
|
+
"cpufeatures 0.3.1",
|
|
214
220
|
"rand_core",
|
|
215
221
|
]
|
|
216
222
|
|
|
@@ -230,9 +236,9 @@ dependencies = [
|
|
|
230
236
|
|
|
231
237
|
[[package]]
|
|
232
238
|
name = "clang-sys"
|
|
233
|
-
version = "1.
|
|
239
|
+
version = "1.9.1"
|
|
234
240
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
235
|
-
checksum = "
|
|
241
|
+
checksum = "157a8ba7b480713b56f4c09fd13fc3e0a22a5dfab8097ba61cbc5feef950788a"
|
|
236
242
|
dependencies = [
|
|
237
243
|
"glob",
|
|
238
244
|
"libc",
|
|
@@ -256,9 +262,9 @@ dependencies = [
|
|
|
256
262
|
|
|
257
263
|
[[package]]
|
|
258
264
|
name = "clap"
|
|
259
|
-
version = "4.6.
|
|
265
|
+
version = "4.6.7"
|
|
260
266
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
261
|
-
checksum = "
|
|
267
|
+
checksum = "aa8876b300ab35ba921adea3dfd70157a46249b33f95c9084ae5709785478946"
|
|
262
268
|
dependencies = [
|
|
263
269
|
"clap_builder",
|
|
264
270
|
"clap_derive",
|
|
@@ -266,9 +272,9 @@ dependencies = [
|
|
|
266
272
|
|
|
267
273
|
[[package]]
|
|
268
274
|
name = "clap_builder"
|
|
269
|
-
version = "4.6.
|
|
275
|
+
version = "4.6.7"
|
|
270
276
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
271
|
-
checksum = "
|
|
277
|
+
checksum = "ec0797fb7aeb1406c84efac526901f7ec3ead2124f946b494e72879d4b54704d"
|
|
272
278
|
dependencies = [
|
|
273
279
|
"anstream",
|
|
274
280
|
"anstyle",
|
|
@@ -278,21 +284,21 @@ dependencies = [
|
|
|
278
284
|
|
|
279
285
|
[[package]]
|
|
280
286
|
name = "clap_derive"
|
|
281
|
-
version = "4.6.
|
|
287
|
+
version = "4.6.7"
|
|
282
288
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
283
|
-
checksum = "
|
|
289
|
+
checksum = "f9c751b79415d4e559e3d1fcf128e09e720eb673a06d26cf6f392d37d75b66e0"
|
|
284
290
|
dependencies = [
|
|
285
291
|
"heck 0.5.0",
|
|
286
292
|
"proc-macro2",
|
|
287
293
|
"quote",
|
|
288
|
-
"syn 3.0.
|
|
294
|
+
"syn 3.0.9",
|
|
289
295
|
]
|
|
290
296
|
|
|
291
297
|
[[package]]
|
|
292
298
|
name = "clap_lex"
|
|
293
|
-
version = "1.1.
|
|
299
|
+
version = "1.1.1"
|
|
294
300
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
295
|
-
checksum = "
|
|
301
|
+
checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486"
|
|
296
302
|
|
|
297
303
|
[[package]]
|
|
298
304
|
name = "colorchoice"
|
|
@@ -336,9 +342,9 @@ dependencies = [
|
|
|
336
342
|
|
|
337
343
|
[[package]]
|
|
338
344
|
name = "cpufeatures"
|
|
339
|
-
version = "0.3.
|
|
345
|
+
version = "0.3.1"
|
|
340
346
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
341
|
-
checksum = "
|
|
347
|
+
checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566"
|
|
342
348
|
dependencies = [
|
|
343
349
|
"libc",
|
|
344
350
|
]
|
|
@@ -365,26 +371,26 @@ dependencies = [
|
|
|
365
371
|
|
|
366
372
|
[[package]]
|
|
367
373
|
name = "displaydoc"
|
|
368
|
-
version = "0.2.
|
|
374
|
+
version = "0.2.7"
|
|
369
375
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
370
|
-
checksum = "
|
|
376
|
+
checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8"
|
|
371
377
|
dependencies = [
|
|
372
378
|
"proc-macro2",
|
|
373
379
|
"quote",
|
|
374
|
-
"syn
|
|
380
|
+
"syn 3.0.9",
|
|
375
381
|
]
|
|
376
382
|
|
|
377
383
|
[[package]]
|
|
378
384
|
name = "either"
|
|
379
|
-
version = "1.
|
|
385
|
+
version = "1.19.0"
|
|
380
386
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
381
|
-
checksum = "
|
|
387
|
+
checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
|
|
382
388
|
|
|
383
389
|
[[package]]
|
|
384
390
|
name = "find-msvc-tools"
|
|
385
|
-
version = "0.1.
|
|
391
|
+
version = "0.1.15"
|
|
386
392
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
387
|
-
checksum = "
|
|
393
|
+
checksum = "1c66915cc5391097de7a2b0b972e8505aa33c0df401fd3a6811dbdb32881ba48"
|
|
388
394
|
|
|
389
395
|
[[package]]
|
|
390
396
|
name = "form_urlencoded"
|
|
@@ -397,30 +403,30 @@ dependencies = [
|
|
|
397
403
|
|
|
398
404
|
[[package]]
|
|
399
405
|
name = "futures-channel"
|
|
400
|
-
version = "0.3.
|
|
406
|
+
version = "0.3.34"
|
|
401
407
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
402
|
-
checksum = "
|
|
408
|
+
checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4"
|
|
403
409
|
dependencies = [
|
|
404
410
|
"futures-core",
|
|
405
411
|
]
|
|
406
412
|
|
|
407
413
|
[[package]]
|
|
408
414
|
name = "futures-core"
|
|
409
|
-
version = "0.3.
|
|
415
|
+
version = "0.3.34"
|
|
410
416
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
411
|
-
checksum = "
|
|
417
|
+
checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e"
|
|
412
418
|
|
|
413
419
|
[[package]]
|
|
414
420
|
name = "futures-task"
|
|
415
|
-
version = "0.3.
|
|
421
|
+
version = "0.3.34"
|
|
416
422
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
417
|
-
checksum = "
|
|
423
|
+
checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd"
|
|
418
424
|
|
|
419
425
|
[[package]]
|
|
420
426
|
name = "futures-util"
|
|
421
|
-
version = "0.3.
|
|
427
|
+
version = "0.3.34"
|
|
422
428
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
423
|
-
checksum = "
|
|
429
|
+
checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc"
|
|
424
430
|
dependencies = [
|
|
425
431
|
"futures-core",
|
|
426
432
|
"futures-task",
|
|
@@ -516,9 +522,9 @@ dependencies = [
|
|
|
516
522
|
|
|
517
523
|
[[package]]
|
|
518
524
|
name = "http"
|
|
519
|
-
version = "1.
|
|
525
|
+
version = "1.5.0"
|
|
520
526
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
521
|
-
checksum = "
|
|
527
|
+
checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0"
|
|
522
528
|
dependencies = [
|
|
523
529
|
"bytes",
|
|
524
530
|
"itoa",
|
|
@@ -536,9 +542,9 @@ dependencies = [
|
|
|
536
542
|
|
|
537
543
|
[[package]]
|
|
538
544
|
name = "http-body-util"
|
|
539
|
-
version = "0.1.
|
|
545
|
+
version = "0.1.5"
|
|
540
546
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
541
|
-
checksum = "
|
|
547
|
+
checksum = "23169fe34a5fbcdd3f3862e78fb9b6fccd5f02a6dc6f732547005d45631ce71c"
|
|
542
548
|
dependencies = [
|
|
543
549
|
"bytes",
|
|
544
550
|
"futures-core",
|
|
@@ -555,13 +561,12 @@ checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
|
|
|
555
561
|
|
|
556
562
|
[[package]]
|
|
557
563
|
name = "hyper"
|
|
558
|
-
version = "1.
|
|
564
|
+
version = "1.12.0"
|
|
559
565
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
560
|
-
checksum = "
|
|
566
|
+
checksum = "2c3e324da4c95177d6291d4c8730197c0d1822f8a9766814a4a44fa5ab797c9c"
|
|
561
567
|
dependencies = [
|
|
562
568
|
"atomic-waker",
|
|
563
569
|
"bytes",
|
|
564
|
-
"futures-channel",
|
|
565
570
|
"futures-core",
|
|
566
571
|
"http",
|
|
567
572
|
"http-body",
|
|
@@ -575,9 +580,9 @@ dependencies = [
|
|
|
575
580
|
|
|
576
581
|
[[package]]
|
|
577
582
|
name = "hyper-rustls"
|
|
578
|
-
version = "0.27.
|
|
583
|
+
version = "0.27.10"
|
|
579
584
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
580
|
-
checksum = "
|
|
585
|
+
checksum = "dfa8e654703247911e29c23fbeaa261834bd9bb74efba2f9acddc37bfb127f53"
|
|
581
586
|
dependencies = [
|
|
582
587
|
"http",
|
|
583
588
|
"hyper",
|
|
@@ -591,16 +596,17 @@ dependencies = [
|
|
|
591
596
|
|
|
592
597
|
[[package]]
|
|
593
598
|
name = "hyper-util"
|
|
594
|
-
version = "0.1.
|
|
599
|
+
version = "0.1.21"
|
|
595
600
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
596
|
-
checksum = "
|
|
601
|
+
checksum = "ddc03d96684f9226b8a787cdb71488417b53ab5ea8fdb1dac946cb9431cc8bff"
|
|
597
602
|
dependencies = [
|
|
598
|
-
"base64",
|
|
603
|
+
"base64 0.23.1",
|
|
599
604
|
"bytes",
|
|
600
605
|
"futures-channel",
|
|
601
606
|
"futures-util",
|
|
602
607
|
"http",
|
|
603
608
|
"http-body",
|
|
609
|
+
"httparse",
|
|
604
610
|
"hyper",
|
|
605
611
|
"ipnet",
|
|
606
612
|
"libc",
|
|
@@ -638,9 +644,9 @@ dependencies = [
|
|
|
638
644
|
|
|
639
645
|
[[package]]
|
|
640
646
|
name = "icu_collections"
|
|
641
|
-
version = "2.
|
|
647
|
+
version = "2.4.0"
|
|
642
648
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
643
|
-
checksum = "
|
|
649
|
+
checksum = "fe090a42a0d3140fed8c63263ed1fecc02422cb2f4bfe55cd8de2de1b8e105dd"
|
|
644
650
|
dependencies = [
|
|
645
651
|
"displaydoc",
|
|
646
652
|
"potential_utf",
|
|
@@ -652,9 +658,9 @@ dependencies = [
|
|
|
652
658
|
|
|
653
659
|
[[package]]
|
|
654
660
|
name = "icu_locale_core"
|
|
655
|
-
version = "2.
|
|
661
|
+
version = "2.4.0"
|
|
656
662
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
657
|
-
checksum = "
|
|
663
|
+
checksum = "25d29b57c17c6528d0dc4c2141cfa2d08200465acb537a3909c8b9b8a4a984c0"
|
|
658
664
|
dependencies = [
|
|
659
665
|
"displaydoc",
|
|
660
666
|
"litemap",
|
|
@@ -665,9 +671,9 @@ dependencies = [
|
|
|
665
671
|
|
|
666
672
|
[[package]]
|
|
667
673
|
name = "icu_normalizer"
|
|
668
|
-
version = "2.
|
|
674
|
+
version = "2.4.0"
|
|
669
675
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
670
|
-
checksum = "
|
|
676
|
+
checksum = "404a3b8c486f205c87fe7f23ab6894d84a4ad76d6e4671ae1981ba7def87c599"
|
|
671
677
|
dependencies = [
|
|
672
678
|
"icu_collections",
|
|
673
679
|
"icu_normalizer_data",
|
|
@@ -679,16 +685,17 @@ dependencies = [
|
|
|
679
685
|
|
|
680
686
|
[[package]]
|
|
681
687
|
name = "icu_normalizer_data"
|
|
682
|
-
version = "2.
|
|
688
|
+
version = "2.4.0"
|
|
683
689
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
684
|
-
checksum = "
|
|
690
|
+
checksum = "20f0088bfb7441f7a37fa0c9e20cb1e9cba1cac6b9ce8cd2a6dc44294f8e8cbc"
|
|
685
691
|
|
|
686
692
|
[[package]]
|
|
687
693
|
name = "icu_properties"
|
|
688
|
-
version = "2.
|
|
694
|
+
version = "2.4.0"
|
|
689
695
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
690
|
-
checksum = "
|
|
696
|
+
checksum = "2ea83d991c56158f7cf898bf86436c1dfe7c07ee82fe88951f2695c9f37a379f"
|
|
691
697
|
dependencies = [
|
|
698
|
+
"displaydoc",
|
|
692
699
|
"icu_collections",
|
|
693
700
|
"icu_locale_core",
|
|
694
701
|
"icu_properties_data",
|
|
@@ -699,15 +706,15 @@ dependencies = [
|
|
|
699
706
|
|
|
700
707
|
[[package]]
|
|
701
708
|
name = "icu_properties_data"
|
|
702
|
-
version = "2.
|
|
709
|
+
version = "2.4.0"
|
|
703
710
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
704
|
-
checksum = "
|
|
711
|
+
checksum = "b98f29af82d02b163fe50161388350e743bb3107cc8e8c2f7314cb505faddfcf"
|
|
705
712
|
|
|
706
713
|
[[package]]
|
|
707
714
|
name = "icu_provider"
|
|
708
|
-
version = "2.
|
|
715
|
+
version = "2.4.0"
|
|
709
716
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
710
|
-
checksum = "
|
|
717
|
+
checksum = "413099315636c588ee8f011190b329b971a09a8fae9d157e01dcae8379468514"
|
|
711
718
|
dependencies = [
|
|
712
719
|
"displaydoc",
|
|
713
720
|
"icu_locale_core",
|
|
@@ -741,9 +748,9 @@ dependencies = [
|
|
|
741
748
|
|
|
742
749
|
[[package]]
|
|
743
750
|
name = "ipnet"
|
|
744
|
-
version = "2.12.
|
|
751
|
+
version = "2.12.2"
|
|
745
752
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
746
|
-
checksum = "
|
|
753
|
+
checksum = "791930b43c0d5973160d90a8f3894509f2b273430f5c5c73b668636d0287c5c0"
|
|
747
754
|
|
|
748
755
|
[[package]]
|
|
749
756
|
name = "is_terminal_polyfill"
|
|
@@ -768,9 +775,9 @@ checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
|
|
|
768
775
|
|
|
769
776
|
[[package]]
|
|
770
777
|
name = "js-sys"
|
|
771
|
-
version = "0.3.
|
|
778
|
+
version = "0.3.106"
|
|
772
779
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
773
|
-
checksum = "
|
|
780
|
+
checksum = "7883d941dae510fb2d978fc3fe018c71c9e2892fd38854de3e8b92c2e5ad9cc5"
|
|
774
781
|
dependencies = [
|
|
775
782
|
"cfg-if",
|
|
776
783
|
"futures-util",
|
|
@@ -779,15 +786,15 @@ dependencies = [
|
|
|
779
786
|
|
|
780
787
|
[[package]]
|
|
781
788
|
name = "lazy_static"
|
|
782
|
-
version = "1.5.
|
|
789
|
+
version = "1.5.1"
|
|
783
790
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
784
|
-
checksum = "
|
|
791
|
+
checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb"
|
|
785
792
|
|
|
786
793
|
[[package]]
|
|
787
794
|
name = "libc"
|
|
788
|
-
version = "0.2.
|
|
795
|
+
version = "0.2.191"
|
|
789
796
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
790
|
-
checksum = "
|
|
797
|
+
checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
|
|
791
798
|
|
|
792
799
|
[[package]]
|
|
793
800
|
name = "libloading"
|
|
@@ -801,15 +808,15 @@ dependencies = [
|
|
|
801
808
|
|
|
802
809
|
[[package]]
|
|
803
810
|
name = "litemap"
|
|
804
|
-
version = "0.8.
|
|
811
|
+
version = "0.8.3"
|
|
805
812
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
806
|
-
checksum = "
|
|
813
|
+
checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae"
|
|
807
814
|
|
|
808
815
|
[[package]]
|
|
809
816
|
name = "log"
|
|
810
|
-
version = "0.4.
|
|
817
|
+
version = "0.4.34"
|
|
811
818
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
812
|
-
checksum = "
|
|
819
|
+
checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6"
|
|
813
820
|
|
|
814
821
|
[[package]]
|
|
815
822
|
name = "loom"
|
|
@@ -828,15 +835,15 @@ dependencies = [
|
|
|
828
835
|
|
|
829
836
|
[[package]]
|
|
830
837
|
name = "lru-slab"
|
|
831
|
-
version = "0.1.
|
|
838
|
+
version = "0.1.3"
|
|
832
839
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
833
|
-
checksum = "
|
|
840
|
+
checksum = "4050469837a6ff301cd14c1f8f24f88549e6d548f24f64e2148eb0f72cebc51f"
|
|
834
841
|
|
|
835
842
|
[[package]]
|
|
836
843
|
name = "magnus"
|
|
837
|
-
version = "0.
|
|
844
|
+
version = "0.8.4"
|
|
838
845
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
839
|
-
checksum = "
|
|
846
|
+
checksum = "e76237a607e1dea288dd0ef0c6c8f49037df2152d14bb52b3542c46522d9e6fc"
|
|
840
847
|
dependencies = [
|
|
841
848
|
"magnus-macros",
|
|
842
849
|
"rb-sys",
|
|
@@ -846,9 +853,9 @@ dependencies = [
|
|
|
846
853
|
|
|
847
854
|
[[package]]
|
|
848
855
|
name = "magnus-macros"
|
|
849
|
-
version = "0.
|
|
856
|
+
version = "0.8.0"
|
|
850
857
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
851
|
-
checksum = "
|
|
858
|
+
checksum = "47607461fd8e1513cb4f2076c197d8092d921a1ea75bd08af97398f593751892"
|
|
852
859
|
dependencies = [
|
|
853
860
|
"proc-macro2",
|
|
854
861
|
"quote",
|
|
@@ -884,9 +891,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
|
|
|
884
891
|
|
|
885
892
|
[[package]]
|
|
886
893
|
name = "mio"
|
|
887
|
-
version = "1.2.
|
|
894
|
+
version = "1.2.4"
|
|
888
895
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
889
|
-
checksum = "
|
|
896
|
+
checksum = "1788edb87fdc09c7e26304471e2f5be8cdefb1b6930d6e3985fc02ff53bf86ee"
|
|
890
897
|
dependencies = [
|
|
891
898
|
"libc",
|
|
892
899
|
"wasi",
|
|
@@ -953,9 +960,9 @@ checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
|
|
|
953
960
|
|
|
954
961
|
[[package]]
|
|
955
962
|
name = "potential_utf"
|
|
956
|
-
version = "0.1.
|
|
963
|
+
version = "0.1.6"
|
|
957
964
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
958
|
-
checksum = "
|
|
965
|
+
checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661"
|
|
959
966
|
dependencies = [
|
|
960
967
|
"zerovec",
|
|
961
968
|
]
|
|
@@ -995,9 +1002,9 @@ dependencies = [
|
|
|
995
1002
|
|
|
996
1003
|
[[package]]
|
|
997
1004
|
name = "quinn"
|
|
998
|
-
version = "0.11.
|
|
1005
|
+
version = "0.11.12"
|
|
999
1006
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1000
|
-
checksum = "
|
|
1007
|
+
checksum = "4051e23e9185c255a7e33ef59cdbca87a22d359052eecd22fc6b901fb37d9d11"
|
|
1001
1008
|
dependencies = [
|
|
1002
1009
|
"bytes",
|
|
1003
1010
|
"cfg_aliases",
|
|
@@ -1015,9 +1022,9 @@ dependencies = [
|
|
|
1015
1022
|
|
|
1016
1023
|
[[package]]
|
|
1017
1024
|
name = "quinn-proto"
|
|
1018
|
-
version = "0.11.
|
|
1025
|
+
version = "0.11.19"
|
|
1019
1026
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1020
|
-
checksum = "
|
|
1027
|
+
checksum = "0e750cca55fe4f0439a15d0bb529da9651e79993e8e72c61a899a36d462befbe"
|
|
1021
1028
|
dependencies = [
|
|
1022
1029
|
"bytes",
|
|
1023
1030
|
"getrandom 0.4.3",
|
|
@@ -1037,9 +1044,9 @@ dependencies = [
|
|
|
1037
1044
|
|
|
1038
1045
|
[[package]]
|
|
1039
1046
|
name = "quinn-udp"
|
|
1040
|
-
version = "0.5.
|
|
1047
|
+
version = "0.5.16"
|
|
1041
1048
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1042
|
-
checksum = "
|
|
1049
|
+
checksum = "af66907df18639dcf4db56ca65490cabc4b27a97dbadd96f2926cca73298f016"
|
|
1043
1050
|
dependencies = [
|
|
1044
1051
|
"cfg_aliases",
|
|
1045
1052
|
"libc",
|
|
@@ -1066,9 +1073,9 @@ checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
|
|
|
1066
1073
|
|
|
1067
1074
|
[[package]]
|
|
1068
1075
|
name = "rand"
|
|
1069
|
-
version = "0.10.
|
|
1076
|
+
version = "0.10.3"
|
|
1070
1077
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1071
|
-
checksum = "
|
|
1078
|
+
checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af"
|
|
1072
1079
|
dependencies = [
|
|
1073
1080
|
"chacha20",
|
|
1074
1081
|
"getrandom 0.4.3",
|
|
@@ -1092,18 +1099,18 @@ dependencies = [
|
|
|
1092
1099
|
|
|
1093
1100
|
[[package]]
|
|
1094
1101
|
name = "rb-sys"
|
|
1095
|
-
version = "0.9.
|
|
1102
|
+
version = "0.9.130"
|
|
1096
1103
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1097
|
-
checksum = "
|
|
1104
|
+
checksum = "02faf625bb10ba893e3ae620f19c9fb1b5f8fcae0fe4eb86bb3f2230fad75edb"
|
|
1098
1105
|
dependencies = [
|
|
1099
1106
|
"rb-sys-build",
|
|
1100
1107
|
]
|
|
1101
1108
|
|
|
1102
1109
|
[[package]]
|
|
1103
1110
|
name = "rb-sys-build"
|
|
1104
|
-
version = "0.9.
|
|
1111
|
+
version = "0.9.130"
|
|
1105
1112
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1106
|
-
checksum = "
|
|
1113
|
+
checksum = "05be6f9c86fe5482808162826f6c047d093b3670582296c770de1d94f8066694"
|
|
1107
1114
|
dependencies = [
|
|
1108
1115
|
"bindgen",
|
|
1109
1116
|
"lazy_static",
|
|
@@ -1116,9 +1123,9 @@ dependencies = [
|
|
|
1116
1123
|
|
|
1117
1124
|
[[package]]
|
|
1118
1125
|
name = "rb-sys-env"
|
|
1119
|
-
version = "0.
|
|
1126
|
+
version = "0.2.3"
|
|
1120
1127
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1121
|
-
checksum = "
|
|
1128
|
+
checksum = "cca7ad6a7e21e72151d56fe2495a259b5670e204c3adac41ee7ef676ea08117a"
|
|
1122
1129
|
|
|
1123
1130
|
[[package]]
|
|
1124
1131
|
name = "regex"
|
|
@@ -1134,9 +1141,9 @@ dependencies = [
|
|
|
1134
1141
|
|
|
1135
1142
|
[[package]]
|
|
1136
1143
|
name = "regex-automata"
|
|
1137
|
-
version = "0.4.
|
|
1144
|
+
version = "0.4.18"
|
|
1138
1145
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1139
|
-
checksum = "
|
|
1146
|
+
checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
|
|
1140
1147
|
dependencies = [
|
|
1141
1148
|
"aho-corasick",
|
|
1142
1149
|
"memchr",
|
|
@@ -1155,7 +1162,7 @@ version = "0.12.28"
|
|
|
1155
1162
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1156
1163
|
checksum = "eddd3ca559203180a307f12d114c268abf583f59b03cb906fd0b3ff8646c1147"
|
|
1157
1164
|
dependencies = [
|
|
1158
|
-
"base64",
|
|
1165
|
+
"base64 0.22.1",
|
|
1159
1166
|
"bytes",
|
|
1160
1167
|
"futures-core",
|
|
1161
1168
|
"http",
|
|
@@ -1209,9 +1216,9 @@ checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
|
|
|
1209
1216
|
|
|
1210
1217
|
[[package]]
|
|
1211
1218
|
name = "rustls"
|
|
1212
|
-
version = "0.23.
|
|
1219
|
+
version = "0.23.46"
|
|
1213
1220
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1214
|
-
checksum = "
|
|
1221
|
+
checksum = "48e13bd8c0e9365c43cfa5c9e8f9ad49d3c8444926c9aac819e0e4dc503c8fdf"
|
|
1215
1222
|
dependencies = [
|
|
1216
1223
|
"once_cell",
|
|
1217
1224
|
"ring",
|
|
@@ -1223,9 +1230,9 @@ dependencies = [
|
|
|
1223
1230
|
|
|
1224
1231
|
[[package]]
|
|
1225
1232
|
name = "rustls-native-certs"
|
|
1226
|
-
version = "0.8.
|
|
1233
|
+
version = "0.8.5"
|
|
1227
1234
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1228
|
-
checksum = "
|
|
1235
|
+
checksum = "4a073f5dc7469f984c52ad2752b63b0807745133b6de880b7b64c1ac4c48aec4"
|
|
1229
1236
|
dependencies = [
|
|
1230
1237
|
"openssl-probe",
|
|
1231
1238
|
"rustls-pki-types",
|
|
@@ -1235,9 +1242,9 @@ dependencies = [
|
|
|
1235
1242
|
|
|
1236
1243
|
[[package]]
|
|
1237
1244
|
name = "rustls-pki-types"
|
|
1238
|
-
version = "1.15.
|
|
1245
|
+
version = "1.15.1"
|
|
1239
1246
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1240
|
-
checksum = "
|
|
1247
|
+
checksum = "2f4925028c7eb5d1fcdaf196971378ed9d2c1c4efc7dc5d011256f76c99c0a96"
|
|
1241
1248
|
dependencies = [
|
|
1242
1249
|
"web-time",
|
|
1243
1250
|
"zeroize",
|
|
@@ -1245,9 +1252,9 @@ dependencies = [
|
|
|
1245
1252
|
|
|
1246
1253
|
[[package]]
|
|
1247
1254
|
name = "rustls-webpki"
|
|
1248
|
-
version = "0.103.
|
|
1255
|
+
version = "0.103.16"
|
|
1249
1256
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1250
|
-
checksum = "
|
|
1257
|
+
checksum = "4443b1b6d39d7c663139942cc4558262562d2c84123bb6282ef177009ca8b281"
|
|
1251
1258
|
dependencies = [
|
|
1252
1259
|
"ring",
|
|
1253
1260
|
"rustls-pki-types",
|
|
@@ -1277,9 +1284,9 @@ dependencies = [
|
|
|
1277
1284
|
|
|
1278
1285
|
[[package]]
|
|
1279
1286
|
name = "schannel"
|
|
1280
|
-
version = "0.1.
|
|
1287
|
+
version = "0.1.30"
|
|
1281
1288
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1282
|
-
checksum = "
|
|
1289
|
+
checksum = "9cb23c424d8ee841bb4d813677ca237e2a610067d594fec130f87d6093495ab5"
|
|
1283
1290
|
dependencies = [
|
|
1284
1291
|
"windows-sys 0.61.2",
|
|
1285
1292
|
]
|
|
@@ -1296,7 +1303,7 @@ version = "3.7.0"
|
|
|
1296
1303
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1297
1304
|
checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d"
|
|
1298
1305
|
dependencies = [
|
|
1299
|
-
"bitflags 2.13.
|
|
1306
|
+
"bitflags 2.13.2",
|
|
1300
1307
|
"core-foundation",
|
|
1301
1308
|
"core-foundation-sys",
|
|
1302
1309
|
"libc",
|
|
@@ -1346,14 +1353,14 @@ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
|
1346
1353
|
dependencies = [
|
|
1347
1354
|
"proc-macro2",
|
|
1348
1355
|
"quote",
|
|
1349
|
-
"syn 3.0.
|
|
1356
|
+
"syn 3.0.9",
|
|
1350
1357
|
]
|
|
1351
1358
|
|
|
1352
1359
|
[[package]]
|
|
1353
1360
|
name = "serde_json"
|
|
1354
|
-
version = "1.0.
|
|
1361
|
+
version = "1.0.154"
|
|
1355
1362
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1356
|
-
checksum = "
|
|
1363
|
+
checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6"
|
|
1357
1364
|
dependencies = [
|
|
1358
1365
|
"itoa",
|
|
1359
1366
|
"memchr",
|
|
@@ -1370,7 +1377,7 @@ checksum = "8d3b1629de253c70a0508c3899572da79ca359fdab27c7920ff00406df418906"
|
|
|
1370
1377
|
dependencies = [
|
|
1371
1378
|
"proc-macro2",
|
|
1372
1379
|
"quote",
|
|
1373
|
-
"syn 3.0.
|
|
1380
|
+
"syn 3.0.9",
|
|
1374
1381
|
]
|
|
1375
1382
|
|
|
1376
1383
|
[[package]]
|
|
@@ -1431,17 +1438,17 @@ checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
|
|
|
1431
1438
|
|
|
1432
1439
|
[[package]]
|
|
1433
1440
|
name = "smallvec"
|
|
1434
|
-
version = "1.
|
|
1441
|
+
version = "1.16.4"
|
|
1435
1442
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1436
|
-
checksum = "
|
|
1443
|
+
checksum = "d0d5d4b1981b8bbbb7aed204cae5726d683d5d6ac7e74ec54122ea28f315e7c8"
|
|
1437
1444
|
|
|
1438
1445
|
[[package]]
|
|
1439
1446
|
name = "smbcloud-auth-sdk"
|
|
1440
|
-
version = "0.7.
|
|
1447
|
+
version = "0.7.6"
|
|
1441
1448
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1442
|
-
checksum = "
|
|
1449
|
+
checksum = "5f9aed45e778d884261c22ad70fe8f18ac32f29b849f55f0fb4c82064d111f88"
|
|
1443
1450
|
dependencies = [
|
|
1444
|
-
"base64",
|
|
1451
|
+
"base64 0.22.1",
|
|
1445
1452
|
"reqwest",
|
|
1446
1453
|
"serde",
|
|
1447
1454
|
"serde_json",
|
|
@@ -1454,9 +1461,9 @@ dependencies = [
|
|
|
1454
1461
|
|
|
1455
1462
|
[[package]]
|
|
1456
1463
|
name = "smbcloud-model"
|
|
1457
|
-
version = "0.7.
|
|
1464
|
+
version = "0.7.6"
|
|
1458
1465
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1459
|
-
checksum = "
|
|
1466
|
+
checksum = "c622460c12691c7318a93eaf0b8d56d3365de8ccf8a1391cd1cc4cbad5077ba7"
|
|
1460
1467
|
dependencies = [
|
|
1461
1468
|
"chrono",
|
|
1462
1469
|
"log",
|
|
@@ -1472,11 +1479,11 @@ dependencies = [
|
|
|
1472
1479
|
|
|
1473
1480
|
[[package]]
|
|
1474
1481
|
name = "smbcloud-network"
|
|
1475
|
-
version = "0.7.
|
|
1482
|
+
version = "0.7.6"
|
|
1476
1483
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1477
|
-
checksum = "
|
|
1484
|
+
checksum = "dae0c7939392a434d1a099cb7091a4b440f13656a3d7901448e190f32746a23d"
|
|
1478
1485
|
dependencies = [
|
|
1479
|
-
"clap 4.6.
|
|
1486
|
+
"clap 4.6.7",
|
|
1480
1487
|
"log",
|
|
1481
1488
|
"reqwest",
|
|
1482
1489
|
"serde",
|
|
@@ -1627,9 +1634,9 @@ dependencies = [
|
|
|
1627
1634
|
|
|
1628
1635
|
[[package]]
|
|
1629
1636
|
name = "syn"
|
|
1630
|
-
version = "3.0.
|
|
1637
|
+
version = "3.0.9"
|
|
1631
1638
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1632
|
-
checksum = "
|
|
1639
|
+
checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b"
|
|
1633
1640
|
dependencies = [
|
|
1634
1641
|
"proc-macro2",
|
|
1635
1642
|
"quote",
|
|
@@ -1647,13 +1654,13 @@ dependencies = [
|
|
|
1647
1654
|
|
|
1648
1655
|
[[package]]
|
|
1649
1656
|
name = "synstructure"
|
|
1650
|
-
version = "0.
|
|
1657
|
+
version = "0.14.0"
|
|
1651
1658
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1652
|
-
checksum = "
|
|
1659
|
+
checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02"
|
|
1653
1660
|
dependencies = [
|
|
1654
1661
|
"proc-macro2",
|
|
1655
1662
|
"quote",
|
|
1656
|
-
"syn
|
|
1663
|
+
"syn 3.0.9",
|
|
1657
1664
|
]
|
|
1658
1665
|
|
|
1659
1666
|
[[package]]
|
|
@@ -1667,22 +1674,22 @@ dependencies = [
|
|
|
1667
1674
|
|
|
1668
1675
|
[[package]]
|
|
1669
1676
|
name = "thiserror"
|
|
1670
|
-
version = "2.0.
|
|
1677
|
+
version = "2.0.21"
|
|
1671
1678
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1672
|
-
checksum = "
|
|
1679
|
+
checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e"
|
|
1673
1680
|
dependencies = [
|
|
1674
1681
|
"thiserror-impl",
|
|
1675
1682
|
]
|
|
1676
1683
|
|
|
1677
1684
|
[[package]]
|
|
1678
1685
|
name = "thiserror-impl"
|
|
1679
|
-
version = "2.0.
|
|
1686
|
+
version = "2.0.21"
|
|
1680
1687
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1681
|
-
checksum = "
|
|
1688
|
+
checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"
|
|
1682
1689
|
dependencies = [
|
|
1683
1690
|
"proc-macro2",
|
|
1684
1691
|
"quote",
|
|
1685
|
-
"syn 3.0.
|
|
1692
|
+
"syn 3.0.9",
|
|
1686
1693
|
]
|
|
1687
1694
|
|
|
1688
1695
|
[[package]]
|
|
@@ -1696,9 +1703,9 @@ dependencies = [
|
|
|
1696
1703
|
|
|
1697
1704
|
[[package]]
|
|
1698
1705
|
name = "tinystr"
|
|
1699
|
-
version = "0.8.
|
|
1706
|
+
version = "0.8.5"
|
|
1700
1707
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1701
|
-
checksum = "
|
|
1708
|
+
checksum = "abc840c238154d58f9e86b2792261edfde565a17696e1cda1a449de27979801a"
|
|
1702
1709
|
dependencies = [
|
|
1703
1710
|
"displaydoc",
|
|
1704
1711
|
"zerovec",
|
|
@@ -1706,24 +1713,15 @@ dependencies = [
|
|
|
1706
1713
|
|
|
1707
1714
|
[[package]]
|
|
1708
1715
|
name = "tinyvec"
|
|
1709
|
-
version = "1.
|
|
1710
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1711
|
-
checksum = "bb4ebadaa0af04fab11ae01eb5f9fdb5f9c5b875506e210e71c07873528baa7f"
|
|
1712
|
-
dependencies = [
|
|
1713
|
-
"tinyvec_macros",
|
|
1714
|
-
]
|
|
1715
|
-
|
|
1716
|
-
[[package]]
|
|
1717
|
-
name = "tinyvec_macros"
|
|
1718
|
-
version = "0.1.1"
|
|
1716
|
+
version = "1.13.3"
|
|
1719
1717
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1720
|
-
checksum = "
|
|
1718
|
+
checksum = "fd3ca314f692efd6c868f8408f53fe444634a845f96c028b97d35f6a1f79f0ee"
|
|
1721
1719
|
|
|
1722
1720
|
[[package]]
|
|
1723
1721
|
name = "tokio"
|
|
1724
|
-
version = "1.
|
|
1722
|
+
version = "1.54.1"
|
|
1725
1723
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1726
|
-
checksum = "
|
|
1724
|
+
checksum = "b52fd3255258d26fac7264ab5a76b53c13367136dc011d3d6ad4f8ed070396a3"
|
|
1727
1725
|
dependencies = [
|
|
1728
1726
|
"bytes",
|
|
1729
1727
|
"libc",
|
|
@@ -1735,9 +1733,9 @@ dependencies = [
|
|
|
1735
1733
|
|
|
1736
1734
|
[[package]]
|
|
1737
1735
|
name = "tokio-rustls"
|
|
1738
|
-
version = "0.26.
|
|
1736
|
+
version = "0.26.6"
|
|
1739
1737
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1740
|
-
checksum = "
|
|
1738
|
+
checksum = "c9cc2678c2cdd569ef8215e2afd7954ada2ae20b4fdd2c5fe6139a3b02d105db"
|
|
1741
1739
|
dependencies = [
|
|
1742
1740
|
"rustls",
|
|
1743
1741
|
"tokio",
|
|
@@ -1764,7 +1762,7 @@ version = "0.6.11"
|
|
|
1764
1762
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1765
1763
|
checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840"
|
|
1766
1764
|
dependencies = [
|
|
1767
|
-
"bitflags 2.13.
|
|
1765
|
+
"bitflags 2.13.2",
|
|
1768
1766
|
"bytes",
|
|
1769
1767
|
"futures-util",
|
|
1770
1768
|
"http",
|
|
@@ -1885,9 +1883,9 @@ checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
|
|
|
1885
1883
|
|
|
1886
1884
|
[[package]]
|
|
1887
1885
|
name = "unicode-ident"
|
|
1888
|
-
version = "1.0.
|
|
1886
|
+
version = "1.0.27"
|
|
1889
1887
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1890
|
-
checksum = "
|
|
1888
|
+
checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
|
|
1891
1889
|
|
|
1892
1890
|
[[package]]
|
|
1893
1891
|
name = "unicode-segmentation"
|
|
@@ -1939,9 +1937,9 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
|
|
|
1939
1937
|
|
|
1940
1938
|
[[package]]
|
|
1941
1939
|
name = "uuid"
|
|
1942
|
-
version = "1.
|
|
1940
|
+
version = "1.29.0"
|
|
1943
1941
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1944
|
-
checksum = "
|
|
1942
|
+
checksum = "4a0e2d11620c50695fe12bbbfde96b3477fe606e7284c22d505c12ce51214514"
|
|
1945
1943
|
dependencies = [
|
|
1946
1944
|
"getrandom 0.4.3",
|
|
1947
1945
|
"js-sys",
|
|
@@ -1978,9 +1976,9 @@ dependencies = [
|
|
|
1978
1976
|
|
|
1979
1977
|
[[package]]
|
|
1980
1978
|
name = "want"
|
|
1981
|
-
version = "0.3.
|
|
1979
|
+
version = "0.3.2"
|
|
1982
1980
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1983
|
-
checksum = "
|
|
1981
|
+
checksum = "ec4cdd0dd910afe868b7ef477227d8d538b46b3075031afee8a9f2acb0a2ed0b"
|
|
1984
1982
|
dependencies = [
|
|
1985
1983
|
"try-lock",
|
|
1986
1984
|
]
|
|
@@ -1993,9 +1991,9 @@ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
|
|
|
1993
1991
|
|
|
1994
1992
|
[[package]]
|
|
1995
1993
|
name = "wasm-bindgen"
|
|
1996
|
-
version = "0.2.
|
|
1994
|
+
version = "0.2.129"
|
|
1997
1995
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1998
|
-
checksum = "
|
|
1996
|
+
checksum = "9bb54f33acc68fd454578d9820b0bde1a1a3d17aa17bb7b6595806d02886d409"
|
|
1999
1997
|
dependencies = [
|
|
2000
1998
|
"cfg-if",
|
|
2001
1999
|
"once_cell",
|
|
@@ -2006,19 +2004,20 @@ dependencies = [
|
|
|
2006
2004
|
|
|
2007
2005
|
[[package]]
|
|
2008
2006
|
name = "wasm-bindgen-futures"
|
|
2009
|
-
version = "0.4.
|
|
2007
|
+
version = "0.4.79"
|
|
2010
2008
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2011
|
-
checksum = "
|
|
2009
|
+
checksum = "3cbab34de2d982e9b48e18d216d04c4a6f641066ff19ffb699980f591ee3610e"
|
|
2012
2010
|
dependencies = [
|
|
2013
2011
|
"js-sys",
|
|
2012
|
+
"tokio",
|
|
2014
2013
|
"wasm-bindgen",
|
|
2015
2014
|
]
|
|
2016
2015
|
|
|
2017
2016
|
[[package]]
|
|
2018
2017
|
name = "wasm-bindgen-macro"
|
|
2019
|
-
version = "0.2.
|
|
2018
|
+
version = "0.2.129"
|
|
2020
2019
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2021
|
-
checksum = "
|
|
2020
|
+
checksum = "2e29d0c35b16e224a7eeb5cd2d25e3e1968fbd65604117b44d3b789d00ee8535"
|
|
2022
2021
|
dependencies = [
|
|
2023
2022
|
"quote",
|
|
2024
2023
|
"wasm-bindgen-macro-support",
|
|
@@ -2026,31 +2025,31 @@ dependencies = [
|
|
|
2026
2025
|
|
|
2027
2026
|
[[package]]
|
|
2028
2027
|
name = "wasm-bindgen-macro-support"
|
|
2029
|
-
version = "0.2.
|
|
2028
|
+
version = "0.2.129"
|
|
2030
2029
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2031
|
-
checksum = "
|
|
2030
|
+
checksum = "6f501a8bc3719dba86ef8ae4728879c08001bea749eb1333ac5b91e040e2a6b7"
|
|
2032
2031
|
dependencies = [
|
|
2033
2032
|
"bumpalo",
|
|
2034
2033
|
"proc-macro2",
|
|
2035
2034
|
"quote",
|
|
2036
|
-
"syn
|
|
2035
|
+
"syn 3.0.9",
|
|
2037
2036
|
"wasm-bindgen-shared",
|
|
2038
2037
|
]
|
|
2039
2038
|
|
|
2040
2039
|
[[package]]
|
|
2041
2040
|
name = "wasm-bindgen-shared"
|
|
2042
|
-
version = "0.2.
|
|
2041
|
+
version = "0.2.129"
|
|
2043
2042
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2044
|
-
checksum = "
|
|
2043
|
+
checksum = "23f0c9c52aa7cd7d77769a4cfe2a9adb1b331f489a41d912ce14513d5ab995c6"
|
|
2045
2044
|
dependencies = [
|
|
2046
2045
|
"unicode-ident",
|
|
2047
2046
|
]
|
|
2048
2047
|
|
|
2049
2048
|
[[package]]
|
|
2050
2049
|
name = "web-sys"
|
|
2051
|
-
version = "0.3.
|
|
2050
|
+
version = "0.3.106"
|
|
2052
2051
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2053
|
-
checksum = "
|
|
2052
|
+
checksum = "88261b9deccee56594c11a3460c462c41f58d148598fe70ad77070126a68aba4"
|
|
2054
2053
|
dependencies = [
|
|
2055
2054
|
"js-sys",
|
|
2056
2055
|
"wasm-bindgen",
|
|
@@ -2306,15 +2305,15 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
|
|
2306
2305
|
|
|
2307
2306
|
[[package]]
|
|
2308
2307
|
name = "writeable"
|
|
2309
|
-
version = "0.6.
|
|
2308
|
+
version = "0.6.4"
|
|
2310
2309
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2311
|
-
checksum = "
|
|
2310
|
+
checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc"
|
|
2312
2311
|
|
|
2313
2312
|
[[package]]
|
|
2314
2313
|
name = "yoke"
|
|
2315
|
-
version = "0.8.
|
|
2314
|
+
version = "0.8.4"
|
|
2316
2315
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2317
|
-
checksum = "
|
|
2316
|
+
checksum = "417ef3fcf6c300b7dbd25c85531a746931c02ad536f3cf4786ed1e88223340b3"
|
|
2318
2317
|
dependencies = [
|
|
2319
2318
|
"stable_deref_trait",
|
|
2320
2319
|
"yoke-derive",
|
|
@@ -2323,13 +2322,13 @@ dependencies = [
|
|
|
2323
2322
|
|
|
2324
2323
|
[[package]]
|
|
2325
2324
|
name = "yoke-derive"
|
|
2326
|
-
version = "0.8.
|
|
2325
|
+
version = "0.8.4"
|
|
2327
2326
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2328
|
-
checksum = "
|
|
2327
|
+
checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71"
|
|
2329
2328
|
dependencies = [
|
|
2330
2329
|
"proc-macro2",
|
|
2331
2330
|
"quote",
|
|
2332
|
-
"syn
|
|
2331
|
+
"syn 3.0.9",
|
|
2333
2332
|
"synstructure",
|
|
2334
2333
|
]
|
|
2335
2334
|
|
|
@@ -2344,27 +2343,27 @@ dependencies = [
|
|
|
2344
2343
|
|
|
2345
2344
|
[[package]]
|
|
2346
2345
|
name = "zerofrom-derive"
|
|
2347
|
-
version = "0.1.
|
|
2346
|
+
version = "0.1.8"
|
|
2348
2347
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2349
|
-
checksum = "
|
|
2348
|
+
checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a"
|
|
2350
2349
|
dependencies = [
|
|
2351
2350
|
"proc-macro2",
|
|
2352
2351
|
"quote",
|
|
2353
|
-
"syn
|
|
2352
|
+
"syn 3.0.9",
|
|
2354
2353
|
"synstructure",
|
|
2355
2354
|
]
|
|
2356
2355
|
|
|
2357
2356
|
[[package]]
|
|
2358
2357
|
name = "zeroize"
|
|
2359
|
-
version = "1.9.
|
|
2358
|
+
version = "1.9.1"
|
|
2360
2359
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2361
|
-
checksum = "
|
|
2360
|
+
checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879"
|
|
2362
2361
|
|
|
2363
2362
|
[[package]]
|
|
2364
2363
|
name = "zerotrie"
|
|
2365
|
-
version = "0.2.
|
|
2364
|
+
version = "0.2.5"
|
|
2366
2365
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2367
|
-
checksum = "
|
|
2366
|
+
checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f"
|
|
2368
2367
|
dependencies = [
|
|
2369
2368
|
"displaydoc",
|
|
2370
2369
|
"yoke",
|
|
@@ -2373,9 +2372,9 @@ dependencies = [
|
|
|
2373
2372
|
|
|
2374
2373
|
[[package]]
|
|
2375
2374
|
name = "zerovec"
|
|
2376
|
-
version = "0.11.
|
|
2375
|
+
version = "0.11.9"
|
|
2377
2376
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2378
|
-
checksum = "
|
|
2377
|
+
checksum = "f58a2799cfe9a1670c7ea8edbd52ef8edb93cb37a7f83bf31ba9e35d9dae6a40"
|
|
2379
2378
|
dependencies = [
|
|
2380
2379
|
"yoke",
|
|
2381
2380
|
"zerofrom",
|
|
@@ -2384,13 +2383,13 @@ dependencies = [
|
|
|
2384
2383
|
|
|
2385
2384
|
[[package]]
|
|
2386
2385
|
name = "zerovec-derive"
|
|
2387
|
-
version = "0.11.
|
|
2386
|
+
version = "0.11.7"
|
|
2388
2387
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2389
|
-
checksum = "
|
|
2388
|
+
checksum = "c3743ddbf47738d929cd1ae2e199d40d0162979dfe31aef8ae646d2bf00bf97a"
|
|
2390
2389
|
dependencies = [
|
|
2391
2390
|
"proc-macro2",
|
|
2392
2391
|
"quote",
|
|
2393
|
-
"syn
|
|
2392
|
+
"syn 3.0.9",
|
|
2394
2393
|
]
|
|
2395
2394
|
|
|
2396
2395
|
[[package]]
|
data/Rakefile
CHANGED
|
@@ -9,24 +9,8 @@ GEMSPEC = Gem::Specification.load('auth.gemspec')
|
|
|
9
9
|
|
|
10
10
|
RbSys::ExtensionTask.new('auth', GEMSPEC) do |ext|
|
|
11
11
|
ext.lib_dir = 'lib/auth'
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
# macOS: the rb_sys/rake-compiler build emits the bundle as an MH_DYLIB with an
|
|
15
|
-
# empty LC_ID_DYLIB install name (a plain `cargo build` does not). dyld on macOS
|
|
16
|
-
# 15+/Tahoe rejects that with "load command string extends beyond end of load
|
|
17
|
-
# command", so the gem fails to load. Stamp a valid install name onto every
|
|
18
|
-
# bundle the build produces by enhancing the bundle file tasks themselves (which
|
|
19
|
-
# is what `rake native gem` runs, not the top-level `compile`). install_name_tool
|
|
20
|
-
# re-signs ad-hoc, ships on the macOS gem-build runners, and works across archs
|
|
21
|
-
# (cross-built x86_64 bundles too). Idempotent.
|
|
22
|
-
if RbConfig::CONFIG['host_os'] =~ /darwin/
|
|
23
|
-
Rake::Task.tasks.each do |t|
|
|
24
|
-
next unless t.name.end_with?('auth.bundle')
|
|
25
|
-
|
|
26
|
-
t.enhance do
|
|
27
|
-
sh 'install_name_tool', '-id', '@rpath/auth.bundle', t.name if File.exist?(t.name)
|
|
28
|
-
end
|
|
29
|
-
end
|
|
12
|
+
ext.cross_compile = true
|
|
13
|
+
ext.cross_platform = %w[x86_64-linux aarch64-linux arm64-darwin x86_64-darwin]
|
|
30
14
|
end
|
|
31
15
|
|
|
32
16
|
task default: :compile
|
data/ext/auth/Cargo.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "auth"
|
|
3
|
-
version = "0.7.
|
|
3
|
+
version = "0.7.6"
|
|
4
4
|
edition = "2024"
|
|
5
5
|
authors = ["Seto Elkahfi <seto@smbcloud.xyz>"]
|
|
6
6
|
publish = false
|
|
@@ -9,7 +9,7 @@ publish = false
|
|
|
9
9
|
crate-type = ["cdylib"]
|
|
10
10
|
|
|
11
11
|
[dependencies]
|
|
12
|
-
magnus = { version = "0.
|
|
12
|
+
magnus = { version = "0.8" }
|
|
13
13
|
serde = { version = "1", features = ["derive"] }
|
|
14
14
|
serde_json = "1"
|
|
15
15
|
tokio = { version = "1", features = ["rt-multi-thread"] }
|
data/ext/auth/extconf.rb
CHANGED
|
@@ -4,15 +4,3 @@ require 'mkmf'
|
|
|
4
4
|
require 'rb_sys/mkmf'
|
|
5
5
|
|
|
6
6
|
create_rust_makefile('auth/auth')
|
|
7
|
-
|
|
8
|
-
# rb-sys (fixup_libnames) appends `install_name_tool -id "" $(DLLIB)` to the
|
|
9
|
-
# generated Makefile, blanking the bundle's LC_ID_DYLIB install name. dyld on
|
|
10
|
-
# macOS 26/27 rejects an empty dylib-ID string ("load command string extends
|
|
11
|
-
# beyond end of load command"), so the extension fails to dlopen. Rewrite that
|
|
12
|
-
# step to stamp a valid @rpath id instead. This covers the `gem install`
|
|
13
|
-
# (extconf) build path; the Rakefile covers `rake native gem` builds.
|
|
14
|
-
if RUBY_PLATFORM.include?('darwin') && File.exist?('Makefile')
|
|
15
|
-
makefile = File.read('Makefile')
|
|
16
|
-
patched = makefile.gsub('install_name_tool -id ""', 'install_name_tool -id "@rpath/auth.bundle"')
|
|
17
|
-
File.write('Makefile', patched) if patched != makefile
|
|
18
|
-
end
|
data/ext/auth/src/lib.rs
CHANGED
|
@@ -17,10 +17,16 @@ struct LoginPayload {
|
|
|
17
17
|
message: Option<String>,
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
// Every helper here runs on the Ruby thread that called into the extension
|
|
21
|
+
// (tokio's `block_on` stays on the calling thread), so the handle is available.
|
|
22
|
+
fn ruby() -> Ruby {
|
|
23
|
+
Ruby::get().expect("smbcloud-auth called outside a Ruby thread")
|
|
24
|
+
}
|
|
25
|
+
|
|
20
26
|
fn parse_environment(value: String) -> Result<Environment, Error> {
|
|
21
27
|
value.parse().map_err(|_| {
|
|
22
28
|
Error::new(
|
|
23
|
-
|
|
29
|
+
ruby().exception_arg_error(),
|
|
24
30
|
format!("invalid environment `{value}`, expected `dev` or `production`"),
|
|
25
31
|
)
|
|
26
32
|
})
|
|
@@ -32,7 +38,7 @@ where
|
|
|
32
38
|
{
|
|
33
39
|
let runtime = Runtime::new().map_err(|err| {
|
|
34
40
|
Error::new(
|
|
35
|
-
|
|
41
|
+
ruby().exception_runtime_error(),
|
|
36
42
|
format!("failed to initialize tokio runtime: {err}"),
|
|
37
43
|
)
|
|
38
44
|
})?;
|
|
@@ -42,7 +48,7 @@ where
|
|
|
42
48
|
fn to_json<T: Serialize>(value: &T) -> Result<String, Error> {
|
|
43
49
|
serde_json::to_string(value).map_err(|err| {
|
|
44
50
|
Error::new(
|
|
45
|
-
|
|
51
|
+
ruby().exception_runtime_error(),
|
|
46
52
|
format!("failed to serialize response: {err}"),
|
|
47
53
|
)
|
|
48
54
|
})
|
|
@@ -52,7 +58,7 @@ fn raise_error_response(error: ErrorResponse) -> Error {
|
|
|
52
58
|
let payload = serde_json::to_string(&error).unwrap_or_else(|_| {
|
|
53
59
|
"{\"error\":{\"error_code\":0,\"message\":\"Unknown error.\"}}".to_string()
|
|
54
60
|
});
|
|
55
|
-
Error::new(
|
|
61
|
+
Error::new(ruby().exception_runtime_error(), payload)
|
|
56
62
|
}
|
|
57
63
|
|
|
58
64
|
fn login_payload(status: AccountStatus) -> LoginPayload {
|
data/lib/auth/version.rb
CHANGED
data/lib/auth.rb
CHANGED
|
@@ -2,7 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
require 'json'
|
|
4
4
|
require_relative 'auth/version'
|
|
5
|
-
|
|
5
|
+
# Fat native gems ship one extension per Ruby minor (lib/auth/3.4/auth.bundle);
|
|
6
|
+
# source and single-ABI builds put it directly under lib/auth/.
|
|
7
|
+
begin
|
|
8
|
+
RUBY_VERSION =~ /(\d+\.\d+)/
|
|
9
|
+
require_relative "auth/#{Regexp.last_match(1)}/auth"
|
|
10
|
+
rescue LoadError
|
|
11
|
+
require_relative 'auth/auth'
|
|
12
|
+
end
|
|
6
13
|
|
|
7
14
|
module Auth
|
|
8
15
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: smbcloud-auth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Seto Elkahfi
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-10-
|
|
10
|
+
date: 2026-10-24 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: json
|
|
@@ -29,14 +29,20 @@ dependencies:
|
|
|
29
29
|
requirements:
|
|
30
30
|
- - "~>"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 0.9
|
|
32
|
+
version: '0.9'
|
|
33
|
+
- - ">="
|
|
34
|
+
- !ruby/object:Gem::Version
|
|
35
|
+
version: 0.9.130
|
|
33
36
|
type: :runtime
|
|
34
37
|
prerelease: false
|
|
35
38
|
version_requirements: !ruby/object:Gem::Requirement
|
|
36
39
|
requirements:
|
|
37
40
|
- - "~>"
|
|
38
41
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: 0.9
|
|
42
|
+
version: '0.9'
|
|
43
|
+
- - ">="
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: 0.9.130
|
|
40
46
|
description: Ruby bindings for smbCloud Auth, powered by the shared Rust SDK and a
|
|
41
47
|
native Magnus extension.
|
|
42
48
|
email:
|
|
@@ -46,8 +52,6 @@ extensions:
|
|
|
46
52
|
- ext/auth/extconf.rb
|
|
47
53
|
extra_rdoc_files: []
|
|
48
54
|
files:
|
|
49
|
-
- ".rubocop.yml"
|
|
50
|
-
- ".ruby-version"
|
|
51
55
|
- CHANGELOG.md
|
|
52
56
|
- Cargo.lock
|
|
53
57
|
- Cargo.toml
|
|
@@ -55,7 +59,6 @@ files:
|
|
|
55
59
|
- Rakefile
|
|
56
60
|
- ext/.keep
|
|
57
61
|
- ext/auth/Cargo.toml
|
|
58
|
-
- ext/auth/build.rs
|
|
59
62
|
- ext/auth/extconf.rb
|
|
60
63
|
- ext/auth/src/lib.rs
|
|
61
64
|
- lib/auth.rb
|
data/.rubocop.yml
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
AllCops:
|
|
2
|
-
TargetRubyVersion: 3.1
|
|
3
|
-
NewCops: enable
|
|
4
|
-
Exclude:
|
|
5
|
-
- "vendor/**/*"
|
|
6
|
-
- "tmp/**/*"
|
|
7
|
-
- "target/**/*"
|
|
8
|
-
- "pkg/**/*"
|
|
9
|
-
|
|
10
|
-
# Native extension wrapper gems use a bare `module Auth; end` stub at the
|
|
11
|
-
# top level so Magnus can register the native methods into the right namespace.
|
|
12
|
-
# Having both that stub and the real `SmbCloud::Auth` implementation in one
|
|
13
|
-
# file is intentional — splitting them would break the require chain.
|
|
14
|
-
Style/OneClassPerFile:
|
|
15
|
-
Enabled: false
|
|
16
|
-
|
|
17
|
-
# Yard / CHANGELOG serve as the documentation source for this gem.
|
|
18
|
-
# Requiring top-level doc comments on every module and class adds noise
|
|
19
|
-
# without benefit for a thin wrapper library.
|
|
20
|
-
Style/Documentation:
|
|
21
|
-
Enabled: false
|
data/.ruby-version
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
../../../.ruby-version
|
data/ext/auth/build.rs
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
fn main() {
|
|
2
|
-
// On macOS, a Rust `cdylib` is emitted with an empty LC_ID_DYLIB install
|
|
3
|
-
// name. The dyld in macOS 15+/Tahoe (Darwin 27) validates this strictly and
|
|
4
|
-
// refuses to load the resulting `.bundle` with:
|
|
5
|
-
// "load command #4 string extends beyond end of load command"
|
|
6
|
-
// Give the dylib a valid install name at link time so the Ruby extension
|
|
7
|
-
// loads on the stricter loader.
|
|
8
|
-
if std::env::var("CARGO_CFG_TARGET_OS").as_deref() == Ok("macos") {
|
|
9
|
-
println!("cargo:rustc-cdylib-link-arg=-Wl,-install_name,@rpath/auth.bundle");
|
|
10
|
-
}
|
|
11
|
-
}
|