smbcloud-model 0.3.19 → 0.3.31

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ecba959fe2004b658d42778679b34d6d8463d15eadaacb3c8418e9f338bb43d
4
- data.tar.gz: 2dfe53c367e42ebc1f023557cfd9515cf7b139328eb73b5b0751193ec387b615
3
+ metadata.gz: 25dfc7f916d730548186b0c7d82fa23dfb04911e085619a48c87cf1e359ec375
4
+ data.tar.gz: 7ab01b1a768eb24bcc93c7b41516b09975e0fcbacfc4e852fa6975d391d90ed9
5
5
  SHA512:
6
- metadata.gz: dc42260a30cff151231af553a962f577b7ccbcef0a8ea46aecdaeafb871844ceb1197c961548299bfe7d034c8c3f3942527d0811b6ef997fdae4958b0cb40a8c
7
- data.tar.gz: 1fed03c2333997abe54a1c3023e96477bf9ba1ad18c457543387f93824f0ffc884f6deb5b8a10e08e58b837fac8a3e5674ea9d581eac53bb88d6f1e0ad75d4f8
6
+ metadata.gz: e3c77214c6c26f64ac22b4d6412a14fa02c8bbbde247fa564c6eb1b4f7ddd8fc11126732dce2f6611f8e3304b6f17eeb01800d49b876d308aca8011ca38f65eb
7
+ data.tar.gz: 7d0a9e656fec0ba9982890247aed27ececf47e1c8f15db04f6fa6217101c5a0ea52d9088af789d5ff8d9f320c4d9b07f602a803207de644463425a9469a887b3
data/Cargo.lock CHANGED
@@ -26,6 +26,26 @@ dependencies = [
26
26
  "libc",
27
27
  ]
28
28
 
29
+ [[package]]
30
+ name = "ansi_term"
31
+ version = "0.12.1"
32
+ source = "registry+https://github.com/rust-lang/crates.io-index"
33
+ checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2"
34
+ dependencies = [
35
+ "winapi",
36
+ ]
37
+
38
+ [[package]]
39
+ name = "atty"
40
+ version = "0.2.14"
41
+ source = "registry+https://github.com/rust-lang/crates.io-index"
42
+ checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
43
+ dependencies = [
44
+ "hermit-abi",
45
+ "libc",
46
+ "winapi",
47
+ ]
48
+
29
49
  [[package]]
30
50
  name = "autocfg"
31
51
  version = "1.4.0"
@@ -38,7 +58,7 @@ version = "0.69.5"
38
58
  source = "registry+https://github.com/rust-lang/crates.io-index"
39
59
  checksum = "271383c67ccabffb7381723dea0672a673f292304fcb45c01cc648c7a8d58088"
40
60
  dependencies = [
41
- "bitflags",
61
+ "bitflags 2.9.1",
42
62
  "cexpr",
43
63
  "clang-sys",
44
64
  "itertools",
@@ -52,6 +72,12 @@ dependencies = [
52
72
  "syn 2.0.101",
53
73
  ]
54
74
 
75
+ [[package]]
76
+ name = "bitflags"
77
+ version = "1.3.2"
78
+ source = "registry+https://github.com/rust-lang/crates.io-index"
79
+ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
80
+
55
81
  [[package]]
56
82
  name = "bitflags"
57
83
  version = "2.9.1"
@@ -100,7 +126,7 @@ dependencies = [
100
126
  "num-traits",
101
127
  "serde",
102
128
  "wasm-bindgen",
103
- "windows-link",
129
+ "windows-link 0.1.1",
104
130
  ]
105
131
 
106
132
  [[package]]
@@ -114,6 +140,30 @@ dependencies = [
114
140
  "libloading",
115
141
  ]
116
142
 
143
+ [[package]]
144
+ name = "clap"
145
+ version = "2.34.0"
146
+ source = "registry+https://github.com/rust-lang/crates.io-index"
147
+ checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c"
148
+ dependencies = [
149
+ "ansi_term",
150
+ "atty",
151
+ "bitflags 1.3.2",
152
+ "strsim",
153
+ "textwrap",
154
+ "unicode-width",
155
+ "vec_map",
156
+ ]
157
+
158
+ [[package]]
159
+ name = "convert_case"
160
+ version = "0.6.0"
161
+ source = "registry+https://github.com/rust-lang/crates.io-index"
162
+ checksum = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca"
163
+ dependencies = [
164
+ "unicode-segmentation",
165
+ ]
166
+
117
167
  [[package]]
118
168
  name = "core-foundation-sys"
119
169
  version = "0.8.7"
@@ -126,12 +176,34 @@ version = "1.15.0"
126
176
  source = "registry+https://github.com/rust-lang/crates.io-index"
127
177
  checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
128
178
 
179
+ [[package]]
180
+ name = "generator"
181
+ version = "0.7.5"
182
+ source = "registry+https://github.com/rust-lang/crates.io-index"
183
+ checksum = "5cc16584ff22b460a382b7feec54b23d2908d858152e5739a120b949293bd74e"
184
+ dependencies = [
185
+ "cc",
186
+ "libc",
187
+ "log",
188
+ "rustversion",
189
+ "windows",
190
+ ]
191
+
129
192
  [[package]]
130
193
  name = "glob"
131
194
  version = "0.3.2"
132
195
  source = "registry+https://github.com/rust-lang/crates.io-index"
133
196
  checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2"
134
197
 
198
+ [[package]]
199
+ name = "heck"
200
+ version = "0.3.3"
201
+ source = "registry+https://github.com/rust-lang/crates.io-index"
202
+ checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c"
203
+ dependencies = [
204
+ "unicode-segmentation",
205
+ ]
206
+
135
207
  [[package]]
136
208
  name = "heck"
137
209
  version = "0.4.1"
@@ -144,6 +216,15 @@ version = "0.5.0"
144
216
  source = "registry+https://github.com/rust-lang/crates.io-index"
145
217
  checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
146
218
 
219
+ [[package]]
220
+ name = "hermit-abi"
221
+ version = "0.1.19"
222
+ source = "registry+https://github.com/rust-lang/crates.io-index"
223
+ checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
224
+ dependencies = [
225
+ "libc",
226
+ ]
227
+
147
228
  [[package]]
148
229
  name = "iana-time-zone"
149
230
  version = "0.1.63"
@@ -218,7 +299,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
218
299
  checksum = "07033963ba89ebaf1584d767badaa2e8fcec21aedea6b8c0346d487d49c28667"
219
300
  dependencies = [
220
301
  "cfg-if",
221
- "windows-targets",
302
+ "windows-targets 0.53.0",
222
303
  ]
223
304
 
224
305
  [[package]]
@@ -227,6 +308,21 @@ version = "0.4.27"
227
308
  source = "registry+https://github.com/rust-lang/crates.io-index"
228
309
  checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
229
310
 
311
+ [[package]]
312
+ name = "loom"
313
+ version = "0.5.6"
314
+ source = "registry+https://github.com/rust-lang/crates.io-index"
315
+ checksum = "ff50ecb28bb86013e935fb6683ab1f6d3a20016f123c76fd4c27470076ac30f5"
316
+ dependencies = [
317
+ "cfg-if",
318
+ "generator",
319
+ "scoped-tls",
320
+ "serde",
321
+ "serde_json",
322
+ "tracing",
323
+ "tracing-subscriber",
324
+ ]
325
+
230
326
  [[package]]
231
327
  name = "magnus"
232
328
  version = "0.7.1"
@@ -256,6 +352,15 @@ version = "1.0.2"
256
352
  source = "registry+https://github.com/rust-lang/crates.io-index"
257
353
  checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d"
258
354
 
355
+ [[package]]
356
+ name = "matchers"
357
+ version = "0.2.0"
358
+ source = "registry+https://github.com/rust-lang/crates.io-index"
359
+ checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9"
360
+ dependencies = [
361
+ "regex-automata",
362
+ ]
363
+
259
364
  [[package]]
260
365
  name = "memchr"
261
366
  version = "2.7.4"
@@ -270,7 +375,7 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
270
375
 
271
376
  [[package]]
272
377
  name = "model"
273
- version = "0.1.0"
378
+ version = "1.0.0"
274
379
  dependencies = [
275
380
  "magnus",
276
381
  "smbcloud-model",
@@ -287,6 +392,15 @@ dependencies = [
287
392
  "minimal-lexical",
288
393
  ]
289
394
 
395
+ [[package]]
396
+ name = "nu-ansi-term"
397
+ version = "0.50.3"
398
+ source = "registry+https://github.com/rust-lang/crates.io-index"
399
+ checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5"
400
+ dependencies = [
401
+ "windows-sys",
402
+ ]
403
+
290
404
  [[package]]
291
405
  name = "num-traits"
292
406
  version = "0.2.19"
@@ -302,6 +416,36 @@ version = "1.21.3"
302
416
  source = "registry+https://github.com/rust-lang/crates.io-index"
303
417
  checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
304
418
 
419
+ [[package]]
420
+ name = "pin-project-lite"
421
+ version = "0.2.16"
422
+ source = "registry+https://github.com/rust-lang/crates.io-index"
423
+ checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
424
+
425
+ [[package]]
426
+ name = "proc-macro-error"
427
+ version = "1.0.4"
428
+ source = "registry+https://github.com/rust-lang/crates.io-index"
429
+ checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
430
+ dependencies = [
431
+ "proc-macro-error-attr",
432
+ "proc-macro2",
433
+ "quote",
434
+ "syn 1.0.109",
435
+ "version_check",
436
+ ]
437
+
438
+ [[package]]
439
+ name = "proc-macro-error-attr"
440
+ version = "1.0.4"
441
+ source = "registry+https://github.com/rust-lang/crates.io-index"
442
+ checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
443
+ dependencies = [
444
+ "proc-macro2",
445
+ "quote",
446
+ "version_check",
447
+ ]
448
+
305
449
  [[package]]
306
450
  name = "proc-macro2"
307
451
  version = "1.0.95"
@@ -397,6 +541,21 @@ version = "1.0.20"
397
541
  source = "registry+https://github.com/rust-lang/crates.io-index"
398
542
  checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
399
543
 
544
+ [[package]]
545
+ name = "same-file"
546
+ version = "1.0.6"
547
+ source = "registry+https://github.com/rust-lang/crates.io-index"
548
+ checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
549
+ dependencies = [
550
+ "winapi-util",
551
+ ]
552
+
553
+ [[package]]
554
+ name = "scoped-tls"
555
+ version = "1.0.1"
556
+ source = "registry+https://github.com/rust-lang/crates.io-index"
557
+ checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294"
558
+
400
559
  [[package]]
401
560
  name = "seq-macro"
402
561
  version = "0.3.6"
@@ -446,6 +605,15 @@ dependencies = [
446
605
  "syn 2.0.101",
447
606
  ]
448
607
 
608
+ [[package]]
609
+ name = "sharded-slab"
610
+ version = "0.1.7"
611
+ source = "registry+https://github.com/rust-lang/crates.io-index"
612
+ checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6"
613
+ dependencies = [
614
+ "lazy_static",
615
+ ]
616
+
449
617
  [[package]]
450
618
  name = "shell-words"
451
619
  version = "1.1.0"
@@ -458,11 +626,17 @@ version = "1.3.0"
458
626
  source = "registry+https://github.com/rust-lang/crates.io-index"
459
627
  checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
460
628
 
629
+ [[package]]
630
+ name = "smallvec"
631
+ version = "1.15.1"
632
+ source = "registry+https://github.com/rust-lang/crates.io-index"
633
+ checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
634
+
461
635
  [[package]]
462
636
  name = "smbcloud-model"
463
- version = "0.3.19"
637
+ version = "0.3.31"
464
638
  source = "registry+https://github.com/rust-lang/crates.io-index"
465
- checksum = "b9e9b76b207db1890fd6093b35504665c2305ad6905062dd14b0b6e6b61b0f0b"
639
+ checksum = "f7c3a98cf1cf811f62668298ef53d9b3f41b93e22064f7c5178f11187d3797a1"
466
640
  dependencies = [
467
641
  "chrono",
468
642
  "log",
@@ -473,6 +647,7 @@ dependencies = [
473
647
  "strum 0.27.1",
474
648
  "strum_macros 0.27.1",
475
649
  "thiserror",
650
+ "tsync",
476
651
  ]
477
652
 
478
653
  [[package]]
@@ -486,6 +661,45 @@ dependencies = [
486
661
  "strum 0.24.1",
487
662
  ]
488
663
 
664
+ [[package]]
665
+ name = "state"
666
+ version = "0.6.0"
667
+ source = "registry+https://github.com/rust-lang/crates.io-index"
668
+ checksum = "2b8c4a4445d81357df8b1a650d0d0d6fbbbfe99d064aa5e02f3e4022061476d8"
669
+ dependencies = [
670
+ "loom",
671
+ ]
672
+
673
+ [[package]]
674
+ name = "strsim"
675
+ version = "0.8.0"
676
+ source = "registry+https://github.com/rust-lang/crates.io-index"
677
+ checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
678
+
679
+ [[package]]
680
+ name = "structopt"
681
+ version = "0.3.26"
682
+ source = "registry+https://github.com/rust-lang/crates.io-index"
683
+ checksum = "0c6b5c64445ba8094a6ab0c3cd2ad323e07171012d9c98b0b15651daf1787a10"
684
+ dependencies = [
685
+ "clap",
686
+ "lazy_static",
687
+ "structopt-derive",
688
+ ]
689
+
690
+ [[package]]
691
+ name = "structopt-derive"
692
+ version = "0.4.18"
693
+ source = "registry+https://github.com/rust-lang/crates.io-index"
694
+ checksum = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0"
695
+ dependencies = [
696
+ "heck 0.3.3",
697
+ "proc-macro-error",
698
+ "proc-macro2",
699
+ "quote",
700
+ "syn 1.0.109",
701
+ ]
702
+
489
703
  [[package]]
490
704
  name = "strum"
491
705
  version = "0.24.1"
@@ -549,6 +763,15 @@ dependencies = [
549
763
  "unicode-ident",
550
764
  ]
551
765
 
766
+ [[package]]
767
+ name = "textwrap"
768
+ version = "0.11.0"
769
+ source = "registry+https://github.com/rust-lang/crates.io-index"
770
+ checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
771
+ dependencies = [
772
+ "unicode-width",
773
+ ]
774
+
552
775
  [[package]]
553
776
  name = "thiserror"
554
777
  version = "2.0.12"
@@ -569,12 +792,144 @@ dependencies = [
569
792
  "syn 2.0.101",
570
793
  ]
571
794
 
795
+ [[package]]
796
+ name = "thread_local"
797
+ version = "1.1.9"
798
+ source = "registry+https://github.com/rust-lang/crates.io-index"
799
+ checksum = "f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185"
800
+ dependencies = [
801
+ "cfg-if",
802
+ ]
803
+
804
+ [[package]]
805
+ name = "tracing"
806
+ version = "0.1.44"
807
+ source = "registry+https://github.com/rust-lang/crates.io-index"
808
+ checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100"
809
+ dependencies = [
810
+ "pin-project-lite",
811
+ "tracing-attributes",
812
+ "tracing-core",
813
+ ]
814
+
815
+ [[package]]
816
+ name = "tracing-attributes"
817
+ version = "0.1.31"
818
+ source = "registry+https://github.com/rust-lang/crates.io-index"
819
+ checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da"
820
+ dependencies = [
821
+ "proc-macro2",
822
+ "quote",
823
+ "syn 2.0.101",
824
+ ]
825
+
826
+ [[package]]
827
+ name = "tracing-core"
828
+ version = "0.1.36"
829
+ source = "registry+https://github.com/rust-lang/crates.io-index"
830
+ checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a"
831
+ dependencies = [
832
+ "once_cell",
833
+ "valuable",
834
+ ]
835
+
836
+ [[package]]
837
+ name = "tracing-log"
838
+ version = "0.2.0"
839
+ source = "registry+https://github.com/rust-lang/crates.io-index"
840
+ checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3"
841
+ dependencies = [
842
+ "log",
843
+ "once_cell",
844
+ "tracing-core",
845
+ ]
846
+
847
+ [[package]]
848
+ name = "tracing-subscriber"
849
+ version = "0.3.22"
850
+ source = "registry+https://github.com/rust-lang/crates.io-index"
851
+ checksum = "2f30143827ddab0d256fd843b7a66d164e9f271cfa0dde49142c5ca0ca291f1e"
852
+ dependencies = [
853
+ "matchers",
854
+ "nu-ansi-term",
855
+ "once_cell",
856
+ "regex-automata",
857
+ "sharded-slab",
858
+ "smallvec",
859
+ "thread_local",
860
+ "tracing",
861
+ "tracing-core",
862
+ "tracing-log",
863
+ ]
864
+
865
+ [[package]]
866
+ name = "tsync"
867
+ version = "2.2.1"
868
+ source = "registry+https://github.com/rust-lang/crates.io-index"
869
+ checksum = "4fc20a25899c5ae43735253244214f3d5eb75dd28d9cc8491732294a985adb8c"
870
+ dependencies = [
871
+ "convert_case",
872
+ "proc-macro2",
873
+ "quote",
874
+ "state",
875
+ "structopt",
876
+ "syn 2.0.101",
877
+ "tsync-macro",
878
+ "walkdir",
879
+ ]
880
+
881
+ [[package]]
882
+ name = "tsync-macro"
883
+ version = "0.1.0"
884
+ source = "registry+https://github.com/rust-lang/crates.io-index"
885
+ checksum = "8acc9e35a3072d9ea375093f321b3738ea3ac4fdebc18d2789b01581e5c2e4ae"
886
+
572
887
  [[package]]
573
888
  name = "unicode-ident"
574
889
  version = "1.0.18"
575
890
  source = "registry+https://github.com/rust-lang/crates.io-index"
576
891
  checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
577
892
 
893
+ [[package]]
894
+ name = "unicode-segmentation"
895
+ version = "1.12.0"
896
+ source = "registry+https://github.com/rust-lang/crates.io-index"
897
+ checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493"
898
+
899
+ [[package]]
900
+ name = "unicode-width"
901
+ version = "0.1.14"
902
+ source = "registry+https://github.com/rust-lang/crates.io-index"
903
+ checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af"
904
+
905
+ [[package]]
906
+ name = "valuable"
907
+ version = "0.1.1"
908
+ source = "registry+https://github.com/rust-lang/crates.io-index"
909
+ checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65"
910
+
911
+ [[package]]
912
+ name = "vec_map"
913
+ version = "0.8.2"
914
+ source = "registry+https://github.com/rust-lang/crates.io-index"
915
+ checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
916
+
917
+ [[package]]
918
+ name = "version_check"
919
+ version = "0.9.5"
920
+ source = "registry+https://github.com/rust-lang/crates.io-index"
921
+ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
922
+
923
+ [[package]]
924
+ name = "walkdir"
925
+ version = "2.5.0"
926
+ source = "registry+https://github.com/rust-lang/crates.io-index"
927
+ checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
928
+ dependencies = [
929
+ "same-file",
930
+ "winapi-util",
931
+ ]
932
+
578
933
  [[package]]
579
934
  name = "wasm-bindgen"
580
935
  version = "0.2.100"
@@ -633,6 +988,46 @@ dependencies = [
633
988
  "unicode-ident",
634
989
  ]
635
990
 
991
+ [[package]]
992
+ name = "winapi"
993
+ version = "0.3.9"
994
+ source = "registry+https://github.com/rust-lang/crates.io-index"
995
+ checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
996
+ dependencies = [
997
+ "winapi-i686-pc-windows-gnu",
998
+ "winapi-x86_64-pc-windows-gnu",
999
+ ]
1000
+
1001
+ [[package]]
1002
+ name = "winapi-i686-pc-windows-gnu"
1003
+ version = "0.4.0"
1004
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1005
+ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
1006
+
1007
+ [[package]]
1008
+ name = "winapi-util"
1009
+ version = "0.1.11"
1010
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1011
+ checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
1012
+ dependencies = [
1013
+ "windows-sys",
1014
+ ]
1015
+
1016
+ [[package]]
1017
+ name = "winapi-x86_64-pc-windows-gnu"
1018
+ version = "0.4.0"
1019
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1020
+ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
1021
+
1022
+ [[package]]
1023
+ name = "windows"
1024
+ version = "0.48.0"
1025
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1026
+ checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f"
1027
+ dependencies = [
1028
+ "windows-targets 0.48.5",
1029
+ ]
1030
+
636
1031
  [[package]]
637
1032
  name = "windows-core"
638
1033
  version = "0.61.2"
@@ -641,7 +1036,7 @@ checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3"
641
1036
  dependencies = [
642
1037
  "windows-implement",
643
1038
  "windows-interface",
644
- "windows-link",
1039
+ "windows-link 0.1.1",
645
1040
  "windows-result",
646
1041
  "windows-strings",
647
1042
  ]
@@ -674,13 +1069,19 @@ version = "0.1.1"
674
1069
  source = "registry+https://github.com/rust-lang/crates.io-index"
675
1070
  checksum = "76840935b766e1b0a05c0066835fb9ec80071d4c09a16f6bd5f7e655e3c14c38"
676
1071
 
1072
+ [[package]]
1073
+ name = "windows-link"
1074
+ version = "0.2.1"
1075
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1076
+ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
1077
+
677
1078
  [[package]]
678
1079
  name = "windows-result"
679
1080
  version = "0.3.4"
680
1081
  source = "registry+https://github.com/rust-lang/crates.io-index"
681
1082
  checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6"
682
1083
  dependencies = [
683
- "windows-link",
1084
+ "windows-link 0.1.1",
684
1085
  ]
685
1086
 
686
1087
  [[package]]
@@ -689,7 +1090,31 @@ version = "0.4.2"
689
1090
  source = "registry+https://github.com/rust-lang/crates.io-index"
690
1091
  checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57"
691
1092
  dependencies = [
692
- "windows-link",
1093
+ "windows-link 0.1.1",
1094
+ ]
1095
+
1096
+ [[package]]
1097
+ name = "windows-sys"
1098
+ version = "0.61.2"
1099
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1100
+ checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
1101
+ dependencies = [
1102
+ "windows-link 0.2.1",
1103
+ ]
1104
+
1105
+ [[package]]
1106
+ name = "windows-targets"
1107
+ version = "0.48.5"
1108
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1109
+ checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
1110
+ dependencies = [
1111
+ "windows_aarch64_gnullvm 0.48.5",
1112
+ "windows_aarch64_msvc 0.48.5",
1113
+ "windows_i686_gnu 0.48.5",
1114
+ "windows_i686_msvc 0.48.5",
1115
+ "windows_x86_64_gnu 0.48.5",
1116
+ "windows_x86_64_gnullvm 0.48.5",
1117
+ "windows_x86_64_msvc 0.48.5",
693
1118
  ]
694
1119
 
695
1120
  [[package]]
@@ -698,28 +1123,46 @@ version = "0.53.0"
698
1123
  source = "registry+https://github.com/rust-lang/crates.io-index"
699
1124
  checksum = "b1e4c7e8ceaaf9cb7d7507c974735728ab453b67ef8f18febdd7c11fe59dca8b"
700
1125
  dependencies = [
701
- "windows_aarch64_gnullvm",
702
- "windows_aarch64_msvc",
703
- "windows_i686_gnu",
1126
+ "windows_aarch64_gnullvm 0.53.0",
1127
+ "windows_aarch64_msvc 0.53.0",
1128
+ "windows_i686_gnu 0.53.0",
704
1129
  "windows_i686_gnullvm",
705
- "windows_i686_msvc",
706
- "windows_x86_64_gnu",
707
- "windows_x86_64_gnullvm",
708
- "windows_x86_64_msvc",
1130
+ "windows_i686_msvc 0.53.0",
1131
+ "windows_x86_64_gnu 0.53.0",
1132
+ "windows_x86_64_gnullvm 0.53.0",
1133
+ "windows_x86_64_msvc 0.53.0",
709
1134
  ]
710
1135
 
1136
+ [[package]]
1137
+ name = "windows_aarch64_gnullvm"
1138
+ version = "0.48.5"
1139
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1140
+ checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
1141
+
711
1142
  [[package]]
712
1143
  name = "windows_aarch64_gnullvm"
713
1144
  version = "0.53.0"
714
1145
  source = "registry+https://github.com/rust-lang/crates.io-index"
715
1146
  checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764"
716
1147
 
1148
+ [[package]]
1149
+ name = "windows_aarch64_msvc"
1150
+ version = "0.48.5"
1151
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1152
+ checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
1153
+
717
1154
  [[package]]
718
1155
  name = "windows_aarch64_msvc"
719
1156
  version = "0.53.0"
720
1157
  source = "registry+https://github.com/rust-lang/crates.io-index"
721
1158
  checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c"
722
1159
 
1160
+ [[package]]
1161
+ name = "windows_i686_gnu"
1162
+ version = "0.48.5"
1163
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1164
+ checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
1165
+
723
1166
  [[package]]
724
1167
  name = "windows_i686_gnu"
725
1168
  version = "0.53.0"
@@ -732,24 +1175,48 @@ version = "0.53.0"
732
1175
  source = "registry+https://github.com/rust-lang/crates.io-index"
733
1176
  checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11"
734
1177
 
1178
+ [[package]]
1179
+ name = "windows_i686_msvc"
1180
+ version = "0.48.5"
1181
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1182
+ checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
1183
+
735
1184
  [[package]]
736
1185
  name = "windows_i686_msvc"
737
1186
  version = "0.53.0"
738
1187
  source = "registry+https://github.com/rust-lang/crates.io-index"
739
1188
  checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d"
740
1189
 
1190
+ [[package]]
1191
+ name = "windows_x86_64_gnu"
1192
+ version = "0.48.5"
1193
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1194
+ checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
1195
+
741
1196
  [[package]]
742
1197
  name = "windows_x86_64_gnu"
743
1198
  version = "0.53.0"
744
1199
  source = "registry+https://github.com/rust-lang/crates.io-index"
745
1200
  checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba"
746
1201
 
1202
+ [[package]]
1203
+ name = "windows_x86_64_gnullvm"
1204
+ version = "0.48.5"
1205
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1206
+ checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
1207
+
747
1208
  [[package]]
748
1209
  name = "windows_x86_64_gnullvm"
749
1210
  version = "0.53.0"
750
1211
  source = "registry+https://github.com/rust-lang/crates.io-index"
751
1212
  checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57"
752
1213
 
1214
+ [[package]]
1215
+ name = "windows_x86_64_msvc"
1216
+ version = "0.48.5"
1217
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1218
+ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
1219
+
753
1220
  [[package]]
754
1221
  name = "windows_x86_64_msvc"
755
1222
  version = "0.53.0"
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
1
  # smbcloud-model Gem
2
2
 
3
- Ruby Gem version of `smbcloud-model`.
3
+ Ruby Gem version of `smbcloud-model`.
4
+
5
+ [Docs](./docs/gems.md).
data/Rakefile CHANGED
@@ -1,14 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "bundler/gem_tasks"
4
- require "rb_sys/extensiontask"
3
+ require 'bundler/gem_tasks'
4
+ require 'rb_sys/extensiontask'
5
5
 
6
6
  task build: :compile
7
7
 
8
- GEMSPEC = Gem::Specification.load("model.gemspec")
8
+ GEMSPEC = Gem::Specification.load('model.gemspec')
9
9
 
10
- RbSys::ExtensionTask.new("model", GEMSPEC) do |ext|
11
- ext.lib_dir = "lib/model"
10
+ RbSys::ExtensionTask.new('model', GEMSPEC) do |ext|
11
+ ext.lib_dir = 'lib/model'
12
12
  end
13
13
 
14
14
  task default: :compile
data/ext/.keep ADDED
File without changes
data/ext/model/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "model"
3
- version = "0.1.0"
3
+ version = "1.0.0"
4
4
  edition = "2021"
5
5
  authors = ["paydii <hej@setoelkahfi.se>"]
6
6
  publish = false
@@ -12,5 +12,5 @@ crate-type = ["cdylib"]
12
12
  magnus = { version = "0.7.1" }
13
13
  strum = "0.27"
14
14
  # Local crates
15
- smbcloud-model = "0.3.19"
16
- #smbcloud-model = { path = "./../../../../crates/smbcloud-model"}
15
+ smbcloud-model = "0.3"
16
+ # smbcloud-model = { path = "./../../../../crates/smbcloud-model"}
data/ext/model/extconf.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "mkmf"
4
- require "rb_sys/mkmf"
3
+ require 'mkmf'
4
+ require 'rb_sys/mkmf'
5
5
 
6
- create_rust_makefile("model/model")
6
+ create_rust_makefile('model/model')
data/ext/model/src/lib.rs CHANGED
@@ -1,6 +1,8 @@
1
- use magnus::{function, prelude::*, Error, Ruby};
2
- use smbcloud_model::error_codes::ErrorCode;
3
- use strum::IntoEnumIterator;
1
+ use {
2
+ magnus::{function, prelude::*, Error, Ruby},
3
+ smbcloud_model::error_codes::ErrorCode,
4
+ strum::IntoEnumIterator,
5
+ };
4
6
 
5
7
  fn t(e: i32, l: Option<String>) -> String {
6
8
  ErrorCode::from_i32(e).message(l).to_string()
data/lib/model/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Model
4
- VERSION = "0.3.19"
4
+ VERSION = '0.3.31'
5
5
  end
data/lib/model.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "model/version"
4
- require_relative "model/model"
3
+ require_relative 'model/version'
4
+ require_relative 'model/model'
5
5
 
6
6
  module Model
7
7
  class Error < StandardError; end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smbcloud-model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.19
4
+ version: 0.3.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - paydii
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-06-09 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: rb_sys
@@ -37,6 +37,7 @@ files:
37
37
  - Cargo.toml
38
38
  - README.md
39
39
  - Rakefile
40
+ - ext/.keep
40
41
  - ext/model/Cargo.toml
41
42
  - ext/model/extconf.rb
42
43
  - ext/model/src/lib.rs
@@ -65,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
66
  - !ruby/object:Gem::Version
66
67
  version: 3.3.11
67
68
  requirements: []
68
- rubygems_version: 3.6.2
69
+ rubygems_version: 3.7.2
69
70
  specification_version: 4
70
71
  summary: Ruby binding for smbcloud-cli model.
71
72
  test_files: []