kcl-lib 0.10.0b2__tar.gz → 0.10.0rc1__tar.gz
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.
Potentially problematic release.
This version of kcl-lib might be problematic. Click here for more details.
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/Cargo.lock +222 -129
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/Cargo.toml +2 -2
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/PKG-INFO +1 -1
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/kcl_lib/api/service.py +13 -53
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/.gitignore +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/Makefile +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/README.md +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/kcl_lib/__init__.py +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/kcl_lib/api/__init__.py +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/kcl_lib/api/spec_pb2.py +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/kcl_lib/api/spec_pb2.pyi +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/kcl_lib/plugin/__init__.py +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/kcl_lib/plugin/plugin.py +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/pyproject.toml +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/src/lib.rs +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/api_test.py +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/plugin_test.py +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/test_data/format_path/test.k +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/test_data/get_schema_ty/aaa/kcl.mod +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/test_data/get_schema_ty/aaa/main.k +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/test_data/get_schema_ty/bbb/kcl.mod +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/test_data/get_schema_ty/bbb/main.k +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/test_data/get_schema_ty/ccc/kcl.mod +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/test_data/get_schema_ty/ccc/main.k +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/test_data/lint_path/test-lint.k +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/test_data/option/main.k +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/test_data/override_file/main.bak +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/test_data/override_file/main.k +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/test_data/parse/kcl.mod +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/test_data/parse/main.k +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/test_data/parse/pkg1/pkg.k +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/test_data/parse/pkg2/pkg.k +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/test_data/plugin.k +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/test_data/rename/main.bak +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/test_data/rename/main.k +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/test_data/schema.k +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/test_data/settings/kcl.yaml +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/test_data/testing/module/kcl.mod +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/test_data/testing/module/pkg/func.k +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/test_data/testing/module/pkg/func_test.k +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/test_data/update_dependencies/kcl.mod +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/test_data/update_dependencies/main.k +0 -0
- {kcl_lib-0.10.0b2 → kcl_lib-0.10.0rc1}/tests/test_data/variables/main.k +0 -0
|
@@ -135,6 +135,12 @@ dependencies = [
|
|
|
135
135
|
"backtrace",
|
|
136
136
|
]
|
|
137
137
|
|
|
138
|
+
[[package]]
|
|
139
|
+
name = "arrayref"
|
|
140
|
+
version = "0.3.8"
|
|
141
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
142
|
+
checksum = "9d151e35f61089500b617991b791fc8bfd237ae50cd5950803758a179b41e67a"
|
|
143
|
+
|
|
138
144
|
[[package]]
|
|
139
145
|
name = "arrayvec"
|
|
140
146
|
version = "0.7.6"
|
|
@@ -160,7 +166,7 @@ checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193"
|
|
|
160
166
|
dependencies = [
|
|
161
167
|
"proc-macro2",
|
|
162
168
|
"quote",
|
|
163
|
-
"syn 2.0.
|
|
169
|
+
"syn 2.0.77",
|
|
164
170
|
]
|
|
165
171
|
|
|
166
172
|
[[package]]
|
|
@@ -238,6 +244,19 @@ dependencies = [
|
|
|
238
244
|
"typenum",
|
|
239
245
|
]
|
|
240
246
|
|
|
247
|
+
[[package]]
|
|
248
|
+
name = "blake3"
|
|
249
|
+
version = "1.5.4"
|
|
250
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
251
|
+
checksum = "d82033247fd8e890df8f740e407ad4d038debb9eb1f40533fffb32e7d17dc6f7"
|
|
252
|
+
dependencies = [
|
|
253
|
+
"arrayref",
|
|
254
|
+
"arrayvec",
|
|
255
|
+
"cc",
|
|
256
|
+
"cfg-if 1.0.0",
|
|
257
|
+
"constant_time_eq",
|
|
258
|
+
]
|
|
259
|
+
|
|
241
260
|
[[package]]
|
|
242
261
|
name = "block-buffer"
|
|
243
262
|
version = "0.7.3"
|
|
@@ -314,9 +333,9 @@ checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50"
|
|
|
314
333
|
|
|
315
334
|
[[package]]
|
|
316
335
|
name = "cc"
|
|
317
|
-
version = "1.1.
|
|
336
|
+
version = "1.1.16"
|
|
318
337
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
319
|
-
checksum = "
|
|
338
|
+
checksum = "e9d013ecb737093c0e86b151a7b837993cf9ec6c502946cfb44bedc392421e0b"
|
|
320
339
|
dependencies = [
|
|
321
340
|
"shlex",
|
|
322
341
|
]
|
|
@@ -350,18 +369,18 @@ dependencies = [
|
|
|
350
369
|
|
|
351
370
|
[[package]]
|
|
352
371
|
name = "clap"
|
|
353
|
-
version = "4.5.
|
|
372
|
+
version = "4.5.17"
|
|
354
373
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
355
|
-
checksum = "
|
|
374
|
+
checksum = "3e5a21b8495e732f1b3c364c9949b201ca7bae518c502c80256c96ad79eaf6ac"
|
|
356
375
|
dependencies = [
|
|
357
376
|
"clap_builder",
|
|
358
377
|
]
|
|
359
378
|
|
|
360
379
|
[[package]]
|
|
361
380
|
name = "clap_builder"
|
|
362
|
-
version = "4.5.
|
|
381
|
+
version = "4.5.17"
|
|
363
382
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
364
|
-
checksum = "
|
|
383
|
+
checksum = "8cf2dd12af7a047ad9d6da2b6b249759a22a7abc0f474c1dae1777afa4b21a73"
|
|
365
384
|
dependencies = [
|
|
366
385
|
"anstream",
|
|
367
386
|
"anstyle",
|
|
@@ -431,6 +450,12 @@ version = "0.4.10"
|
|
|
431
450
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
432
451
|
checksum = "373e9fafaa20882876db20562275ff58d50e0caa2590077fe7ce7bef90211d0d"
|
|
433
452
|
|
|
453
|
+
[[package]]
|
|
454
|
+
name = "constant_time_eq"
|
|
455
|
+
version = "0.3.1"
|
|
456
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
457
|
+
checksum = "7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6"
|
|
458
|
+
|
|
434
459
|
[[package]]
|
|
435
460
|
name = "core-foundation-sys"
|
|
436
461
|
version = "0.8.7"
|
|
@@ -520,7 +545,7 @@ dependencies = [
|
|
|
520
545
|
"proc-macro2",
|
|
521
546
|
"quote",
|
|
522
547
|
"strsim 0.11.1",
|
|
523
|
-
"syn 2.0.
|
|
548
|
+
"syn 2.0.77",
|
|
524
549
|
]
|
|
525
550
|
|
|
526
551
|
[[package]]
|
|
@@ -531,7 +556,7 @@ checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806"
|
|
|
531
556
|
dependencies = [
|
|
532
557
|
"darling_core",
|
|
533
558
|
"quote",
|
|
534
|
-
"syn 2.0.
|
|
559
|
+
"syn 2.0.77",
|
|
535
560
|
]
|
|
536
561
|
|
|
537
562
|
[[package]]
|
|
@@ -558,33 +583,33 @@ dependencies = [
|
|
|
558
583
|
|
|
559
584
|
[[package]]
|
|
560
585
|
name = "derive_builder"
|
|
561
|
-
version = "0.20.
|
|
586
|
+
version = "0.20.1"
|
|
562
587
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
563
|
-
checksum = "
|
|
588
|
+
checksum = "cd33f37ee6a119146a1781d3356a7c26028f83d779b2e04ecd45fdc75c76877b"
|
|
564
589
|
dependencies = [
|
|
565
590
|
"derive_builder_macro",
|
|
566
591
|
]
|
|
567
592
|
|
|
568
593
|
[[package]]
|
|
569
594
|
name = "derive_builder_core"
|
|
570
|
-
version = "0.20.
|
|
595
|
+
version = "0.20.1"
|
|
571
596
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
572
|
-
checksum = "
|
|
597
|
+
checksum = "7431fa049613920234f22c47fdc33e6cf3ee83067091ea4277a3f8c4587aae38"
|
|
573
598
|
dependencies = [
|
|
574
599
|
"darling",
|
|
575
600
|
"proc-macro2",
|
|
576
601
|
"quote",
|
|
577
|
-
"syn 2.0.
|
|
602
|
+
"syn 2.0.77",
|
|
578
603
|
]
|
|
579
604
|
|
|
580
605
|
[[package]]
|
|
581
606
|
name = "derive_builder_macro"
|
|
582
|
-
version = "0.20.
|
|
607
|
+
version = "0.20.1"
|
|
583
608
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
584
|
-
checksum = "
|
|
609
|
+
checksum = "4abae7035bf79b9877b779505d8cf3749285b80c43941eda66604841889451dc"
|
|
585
610
|
dependencies = [
|
|
586
611
|
"derive_builder_core",
|
|
587
|
-
"syn 2.0.
|
|
612
|
+
"syn 2.0.77",
|
|
588
613
|
]
|
|
589
614
|
|
|
590
615
|
[[package]]
|
|
@@ -657,7 +682,7 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
|
|
|
657
682
|
dependencies = [
|
|
658
683
|
"proc-macro2",
|
|
659
684
|
"quote",
|
|
660
|
-
"syn 2.0.
|
|
685
|
+
"syn 2.0.77",
|
|
661
686
|
]
|
|
662
687
|
|
|
663
688
|
[[package]]
|
|
@@ -675,6 +700,70 @@ dependencies = [
|
|
|
675
700
|
"log",
|
|
676
701
|
]
|
|
677
702
|
|
|
703
|
+
[[package]]
|
|
704
|
+
name = "encoding"
|
|
705
|
+
version = "0.2.33"
|
|
706
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
707
|
+
checksum = "6b0d943856b990d12d3b55b359144ff341533e516d94098b1d3fc1ac666d36ec"
|
|
708
|
+
dependencies = [
|
|
709
|
+
"encoding-index-japanese",
|
|
710
|
+
"encoding-index-korean",
|
|
711
|
+
"encoding-index-simpchinese",
|
|
712
|
+
"encoding-index-singlebyte",
|
|
713
|
+
"encoding-index-tradchinese",
|
|
714
|
+
]
|
|
715
|
+
|
|
716
|
+
[[package]]
|
|
717
|
+
name = "encoding-index-japanese"
|
|
718
|
+
version = "1.20141219.5"
|
|
719
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
720
|
+
checksum = "04e8b2ff42e9a05335dbf8b5c6f7567e5591d0d916ccef4e0b1710d32a0d0c91"
|
|
721
|
+
dependencies = [
|
|
722
|
+
"encoding_index_tests",
|
|
723
|
+
]
|
|
724
|
+
|
|
725
|
+
[[package]]
|
|
726
|
+
name = "encoding-index-korean"
|
|
727
|
+
version = "1.20141219.5"
|
|
728
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
729
|
+
checksum = "4dc33fb8e6bcba213fe2f14275f0963fd16f0a02c878e3095ecfdf5bee529d81"
|
|
730
|
+
dependencies = [
|
|
731
|
+
"encoding_index_tests",
|
|
732
|
+
]
|
|
733
|
+
|
|
734
|
+
[[package]]
|
|
735
|
+
name = "encoding-index-simpchinese"
|
|
736
|
+
version = "1.20141219.5"
|
|
737
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
738
|
+
checksum = "d87a7194909b9118fc707194baa434a4e3b0fb6a5a757c73c3adb07aa25031f7"
|
|
739
|
+
dependencies = [
|
|
740
|
+
"encoding_index_tests",
|
|
741
|
+
]
|
|
742
|
+
|
|
743
|
+
[[package]]
|
|
744
|
+
name = "encoding-index-singlebyte"
|
|
745
|
+
version = "1.20141219.5"
|
|
746
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
747
|
+
checksum = "3351d5acffb224af9ca265f435b859c7c01537c0849754d3db3fdf2bfe2ae84a"
|
|
748
|
+
dependencies = [
|
|
749
|
+
"encoding_index_tests",
|
|
750
|
+
]
|
|
751
|
+
|
|
752
|
+
[[package]]
|
|
753
|
+
name = "encoding-index-tradchinese"
|
|
754
|
+
version = "1.20141219.5"
|
|
755
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
756
|
+
checksum = "fd0e20d5688ce3cab59eb3ef3a2083a5c77bf496cb798dc6fcdb75f323890c18"
|
|
757
|
+
dependencies = [
|
|
758
|
+
"encoding_index_tests",
|
|
759
|
+
]
|
|
760
|
+
|
|
761
|
+
[[package]]
|
|
762
|
+
name = "encoding_index_tests"
|
|
763
|
+
version = "0.1.4"
|
|
764
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
765
|
+
checksum = "a246d82be1c9d791c5dfde9a2bd045fc3cbba3fa2b11ad558f27d01712f00569"
|
|
766
|
+
|
|
678
767
|
[[package]]
|
|
679
768
|
name = "enquote"
|
|
680
769
|
version = "1.1.0"
|
|
@@ -745,15 +834,15 @@ dependencies = [
|
|
|
745
834
|
|
|
746
835
|
[[package]]
|
|
747
836
|
name = "fastrand"
|
|
748
|
-
version = "2.1.
|
|
837
|
+
version = "2.1.1"
|
|
749
838
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
750
|
-
checksum = "
|
|
839
|
+
checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6"
|
|
751
840
|
|
|
752
841
|
[[package]]
|
|
753
842
|
name = "filetime"
|
|
754
|
-
version = "0.2.
|
|
843
|
+
version = "0.2.25"
|
|
755
844
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
756
|
-
checksum = "
|
|
845
|
+
checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586"
|
|
757
846
|
dependencies = [
|
|
758
847
|
"cfg-if 1.0.0",
|
|
759
848
|
"libc",
|
|
@@ -769,9 +858,9 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
|
|
|
769
858
|
|
|
770
859
|
[[package]]
|
|
771
860
|
name = "flate2"
|
|
772
|
-
version = "1.0.
|
|
861
|
+
version = "1.0.33"
|
|
773
862
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
774
|
-
checksum = "
|
|
863
|
+
checksum = "324a1be68054ef05ad64b861cc9eaf1d623d2d8cb25b4bf2cb9cdd902b4bf253"
|
|
775
864
|
dependencies = [
|
|
776
865
|
"crc32fast",
|
|
777
866
|
"miniz_oxide 0.8.0",
|
|
@@ -917,7 +1006,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac"
|
|
|
917
1006
|
dependencies = [
|
|
918
1007
|
"proc-macro2",
|
|
919
1008
|
"quote",
|
|
920
|
-
"syn 2.0.
|
|
1009
|
+
"syn 2.0.77",
|
|
921
1010
|
]
|
|
922
1011
|
|
|
923
1012
|
[[package]]
|
|
@@ -1091,9 +1180,9 @@ dependencies = [
|
|
|
1091
1180
|
|
|
1092
1181
|
[[package]]
|
|
1093
1182
|
name = "http-auth"
|
|
1094
|
-
version = "0.1.
|
|
1183
|
+
version = "0.1.10"
|
|
1095
1184
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1096
|
-
checksum = "
|
|
1185
|
+
checksum = "150fa4a9462ef926824cf4519c84ed652ca8f4fbae34cb8af045b5cbcaf98822"
|
|
1097
1186
|
dependencies = [
|
|
1098
1187
|
"memchr",
|
|
1099
1188
|
]
|
|
@@ -1154,9 +1243,9 @@ dependencies = [
|
|
|
1154
1243
|
|
|
1155
1244
|
[[package]]
|
|
1156
1245
|
name = "hyper-rustls"
|
|
1157
|
-
version = "0.27.
|
|
1246
|
+
version = "0.27.3"
|
|
1158
1247
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1159
|
-
checksum = "
|
|
1248
|
+
checksum = "08afdbb5c31130e3034af566421053ab03787c640246a446327f550d11bcb333"
|
|
1160
1249
|
dependencies = [
|
|
1161
1250
|
"futures-util",
|
|
1162
1251
|
"http",
|
|
@@ -1256,9 +1345,9 @@ dependencies = [
|
|
|
1256
1345
|
|
|
1257
1346
|
[[package]]
|
|
1258
1347
|
name = "indexmap"
|
|
1259
|
-
version = "2.
|
|
1348
|
+
version = "2.5.0"
|
|
1260
1349
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1261
|
-
checksum = "
|
|
1350
|
+
checksum = "68b900aa2f7301e21c36462b170ee99994de34dff39a4a6a528e80e7376d07e5"
|
|
1262
1351
|
dependencies = [
|
|
1263
1352
|
"equivalent",
|
|
1264
1353
|
"hashbrown 0.14.5",
|
|
@@ -1430,8 +1519,8 @@ dependencies = [
|
|
|
1430
1519
|
|
|
1431
1520
|
[[package]]
|
|
1432
1521
|
name = "kcl-language-server"
|
|
1433
|
-
version = "0.10.0-
|
|
1434
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
1522
|
+
version = "0.10.0-rc.1"
|
|
1523
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
1435
1524
|
dependencies = [
|
|
1436
1525
|
"anyhow",
|
|
1437
1526
|
"chrono",
|
|
@@ -1474,7 +1563,7 @@ dependencies = [
|
|
|
1474
1563
|
|
|
1475
1564
|
[[package]]
|
|
1476
1565
|
name = "kcl-python-lib"
|
|
1477
|
-
version = "0.10.0-
|
|
1566
|
+
version = "0.10.0-rc.1"
|
|
1478
1567
|
dependencies = [
|
|
1479
1568
|
"kclvm-api",
|
|
1480
1569
|
"pyo3",
|
|
@@ -1482,8 +1571,8 @@ dependencies = [
|
|
|
1482
1571
|
|
|
1483
1572
|
[[package]]
|
|
1484
1573
|
name = "kclvm-api"
|
|
1485
|
-
version = "0.10.0-
|
|
1486
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
1574
|
+
version = "0.10.0-rc.1"
|
|
1575
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
1487
1576
|
dependencies = [
|
|
1488
1577
|
"anyhow",
|
|
1489
1578
|
"futures",
|
|
@@ -1522,8 +1611,8 @@ dependencies = [
|
|
|
1522
1611
|
|
|
1523
1612
|
[[package]]
|
|
1524
1613
|
name = "kclvm-ast"
|
|
1525
|
-
version = "0.10.0-
|
|
1526
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
1614
|
+
version = "0.10.0-rc.1"
|
|
1615
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
1527
1616
|
dependencies = [
|
|
1528
1617
|
"compiler_base_span",
|
|
1529
1618
|
"kclvm-error",
|
|
@@ -1537,8 +1626,8 @@ dependencies = [
|
|
|
1537
1626
|
|
|
1538
1627
|
[[package]]
|
|
1539
1628
|
name = "kclvm-ast-pretty"
|
|
1540
|
-
version = "0.10.0-
|
|
1541
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
1629
|
+
version = "0.10.0-rc.1"
|
|
1630
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
1542
1631
|
dependencies = [
|
|
1543
1632
|
"compiler_base_macros",
|
|
1544
1633
|
"compiler_base_session",
|
|
@@ -1551,8 +1640,8 @@ dependencies = [
|
|
|
1551
1640
|
|
|
1552
1641
|
[[package]]
|
|
1553
1642
|
name = "kclvm-compiler"
|
|
1554
|
-
version = "0.10.0-
|
|
1555
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
1643
|
+
version = "0.10.0-rc.1"
|
|
1644
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
1556
1645
|
dependencies = [
|
|
1557
1646
|
"ahash",
|
|
1558
1647
|
"bit-set",
|
|
@@ -1571,8 +1660,8 @@ dependencies = [
|
|
|
1571
1660
|
|
|
1572
1661
|
[[package]]
|
|
1573
1662
|
name = "kclvm-config"
|
|
1574
|
-
version = "0.10.0-
|
|
1575
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
1663
|
+
version = "0.10.0-rc.1"
|
|
1664
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
1576
1665
|
dependencies = [
|
|
1577
1666
|
"ahash",
|
|
1578
1667
|
"anyhow",
|
|
@@ -1595,13 +1684,13 @@ dependencies = [
|
|
|
1595
1684
|
|
|
1596
1685
|
[[package]]
|
|
1597
1686
|
name = "kclvm-driver"
|
|
1598
|
-
version = "0.10.0-
|
|
1599
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
1687
|
+
version = "0.10.0-rc.1"
|
|
1688
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
1600
1689
|
dependencies = [
|
|
1601
1690
|
"anyhow",
|
|
1602
1691
|
"flate2",
|
|
1603
1692
|
"glob",
|
|
1604
|
-
"indexmap 2.
|
|
1693
|
+
"indexmap 2.5.0",
|
|
1605
1694
|
"kclvm-ast",
|
|
1606
1695
|
"kclvm-config",
|
|
1607
1696
|
"kclvm-parser",
|
|
@@ -1620,8 +1709,8 @@ dependencies = [
|
|
|
1620
1709
|
|
|
1621
1710
|
[[package]]
|
|
1622
1711
|
name = "kclvm-error"
|
|
1623
|
-
version = "0.10.0-
|
|
1624
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
1712
|
+
version = "0.10.0-rc.1"
|
|
1713
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
1625
1714
|
dependencies = [
|
|
1626
1715
|
"annotate-snippets",
|
|
1627
1716
|
"anyhow",
|
|
@@ -1642,8 +1731,8 @@ dependencies = [
|
|
|
1642
1731
|
|
|
1643
1732
|
[[package]]
|
|
1644
1733
|
name = "kclvm-evaluator"
|
|
1645
|
-
version = "0.10.0-
|
|
1646
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
1734
|
+
version = "0.10.0-rc.1"
|
|
1735
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
1647
1736
|
dependencies = [
|
|
1648
1737
|
"anyhow",
|
|
1649
1738
|
"generational-arena",
|
|
@@ -1657,8 +1746,8 @@ dependencies = [
|
|
|
1657
1746
|
|
|
1658
1747
|
[[package]]
|
|
1659
1748
|
name = "kclvm-lexer"
|
|
1660
|
-
version = "0.10.0-
|
|
1661
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
1749
|
+
version = "0.10.0-rc.1"
|
|
1750
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
1662
1751
|
dependencies = [
|
|
1663
1752
|
"kclvm-error",
|
|
1664
1753
|
"rustc_lexer",
|
|
@@ -1667,8 +1756,8 @@ dependencies = [
|
|
|
1667
1756
|
|
|
1668
1757
|
[[package]]
|
|
1669
1758
|
name = "kclvm-loader"
|
|
1670
|
-
version = "0.10.0-
|
|
1671
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
1759
|
+
version = "0.10.0-rc.1"
|
|
1760
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
1672
1761
|
dependencies = [
|
|
1673
1762
|
"anyhow",
|
|
1674
1763
|
"indexmap 1.9.3",
|
|
@@ -1683,8 +1772,8 @@ dependencies = [
|
|
|
1683
1772
|
|
|
1684
1773
|
[[package]]
|
|
1685
1774
|
name = "kclvm-macros"
|
|
1686
|
-
version = "0.10.0-
|
|
1687
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
1775
|
+
version = "0.10.0-rc.1"
|
|
1776
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
1688
1777
|
dependencies = [
|
|
1689
1778
|
"proc-macro2",
|
|
1690
1779
|
"quote",
|
|
@@ -1694,8 +1783,8 @@ dependencies = [
|
|
|
1694
1783
|
|
|
1695
1784
|
[[package]]
|
|
1696
1785
|
name = "kclvm-parser"
|
|
1697
|
-
version = "0.10.0-
|
|
1698
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
1786
|
+
version = "0.10.0-rc.1"
|
|
1787
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
1699
1788
|
dependencies = [
|
|
1700
1789
|
"anyhow",
|
|
1701
1790
|
"bstr",
|
|
@@ -1714,6 +1803,7 @@ dependencies = [
|
|
|
1714
1803
|
"kclvm-span",
|
|
1715
1804
|
"kclvm-utils",
|
|
1716
1805
|
"num-bigint",
|
|
1806
|
+
"parking_lot 0.12.3",
|
|
1717
1807
|
"petgraph",
|
|
1718
1808
|
"regex",
|
|
1719
1809
|
"rustc_lexer",
|
|
@@ -1725,8 +1815,8 @@ dependencies = [
|
|
|
1725
1815
|
|
|
1726
1816
|
[[package]]
|
|
1727
1817
|
name = "kclvm-query"
|
|
1728
|
-
version = "0.10.0-
|
|
1729
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
1818
|
+
version = "0.10.0-rc.1"
|
|
1819
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
1730
1820
|
dependencies = [
|
|
1731
1821
|
"anyhow",
|
|
1732
1822
|
"compiler_base_macros",
|
|
@@ -1745,8 +1835,8 @@ dependencies = [
|
|
|
1745
1835
|
|
|
1746
1836
|
[[package]]
|
|
1747
1837
|
name = "kclvm-runner"
|
|
1748
|
-
version = "0.10.0-
|
|
1749
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
1838
|
+
version = "0.10.0-rc.1"
|
|
1839
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
1750
1840
|
dependencies = [
|
|
1751
1841
|
"anyhow",
|
|
1752
1842
|
"cc",
|
|
@@ -1780,13 +1870,16 @@ dependencies = [
|
|
|
1780
1870
|
|
|
1781
1871
|
[[package]]
|
|
1782
1872
|
name = "kclvm-runtime"
|
|
1783
|
-
version = "0.10.0-
|
|
1784
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
1873
|
+
version = "0.10.0-rc.1"
|
|
1874
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
1785
1875
|
dependencies = [
|
|
1786
1876
|
"ahash",
|
|
1877
|
+
"anyhow",
|
|
1787
1878
|
"base64 0.13.1",
|
|
1879
|
+
"blake3",
|
|
1788
1880
|
"bstr",
|
|
1789
1881
|
"chrono",
|
|
1882
|
+
"encoding",
|
|
1790
1883
|
"fancy-regex",
|
|
1791
1884
|
"generational-arena",
|
|
1792
1885
|
"glob",
|
|
@@ -1814,8 +1907,8 @@ dependencies = [
|
|
|
1814
1907
|
|
|
1815
1908
|
[[package]]
|
|
1816
1909
|
name = "kclvm-sema"
|
|
1817
|
-
version = "0.10.0-
|
|
1818
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
1910
|
+
version = "0.10.0-rc.1"
|
|
1911
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
1819
1912
|
dependencies = [
|
|
1820
1913
|
"ahash",
|
|
1821
1914
|
"anyhow",
|
|
@@ -1848,8 +1941,8 @@ dependencies = [
|
|
|
1848
1941
|
|
|
1849
1942
|
[[package]]
|
|
1850
1943
|
name = "kclvm-span"
|
|
1851
|
-
version = "0.10.0-
|
|
1852
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
1944
|
+
version = "0.10.0-rc.1"
|
|
1945
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
1853
1946
|
dependencies = [
|
|
1854
1947
|
"compiler_base_span",
|
|
1855
1948
|
"kclvm-macros",
|
|
@@ -1859,8 +1952,8 @@ dependencies = [
|
|
|
1859
1952
|
|
|
1860
1953
|
[[package]]
|
|
1861
1954
|
name = "kclvm-tools"
|
|
1862
|
-
version = "0.10.0-
|
|
1863
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
1955
|
+
version = "0.10.0-rc.1"
|
|
1956
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
1864
1957
|
dependencies = [
|
|
1865
1958
|
"anyhow",
|
|
1866
1959
|
"compiler_base_session",
|
|
@@ -1890,8 +1983,8 @@ dependencies = [
|
|
|
1890
1983
|
|
|
1891
1984
|
[[package]]
|
|
1892
1985
|
name = "kclvm-utils"
|
|
1893
|
-
version = "0.10.0-
|
|
1894
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
1986
|
+
version = "0.10.0-rc.1"
|
|
1987
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
1895
1988
|
dependencies = [
|
|
1896
1989
|
"anyhow",
|
|
1897
1990
|
"fslock",
|
|
@@ -1900,8 +1993,8 @@ dependencies = [
|
|
|
1900
1993
|
|
|
1901
1994
|
[[package]]
|
|
1902
1995
|
name = "kclvm-version"
|
|
1903
|
-
version = "0.10.0-
|
|
1904
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
1996
|
+
version = "0.10.0-rc.1"
|
|
1997
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
1905
1998
|
dependencies = [
|
|
1906
1999
|
"vergen-gitcl",
|
|
1907
2000
|
]
|
|
@@ -1909,7 +2002,7 @@ dependencies = [
|
|
|
1909
2002
|
[[package]]
|
|
1910
2003
|
name = "kclvm_runtime_internal_macros"
|
|
1911
2004
|
version = "0.5.0"
|
|
1912
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
2005
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
1913
2006
|
dependencies = [
|
|
1914
2007
|
"proc-macro2",
|
|
1915
2008
|
"quote",
|
|
@@ -2254,9 +2347,9 @@ dependencies = [
|
|
|
2254
2347
|
|
|
2255
2348
|
[[package]]
|
|
2256
2349
|
name = "object"
|
|
2257
|
-
version = "0.36.
|
|
2350
|
+
version = "0.36.4"
|
|
2258
2351
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2259
|
-
checksum = "
|
|
2352
|
+
checksum = "084f1a5821ac4c651660a94a7153d27ac9d8a53736203f58b31945ded098070a"
|
|
2260
2353
|
dependencies = [
|
|
2261
2354
|
"memchr",
|
|
2262
2355
|
]
|
|
@@ -2418,7 +2511,7 @@ dependencies = [
|
|
|
2418
2511
|
"pest_meta",
|
|
2419
2512
|
"proc-macro2",
|
|
2420
2513
|
"quote",
|
|
2421
|
-
"syn 2.0.
|
|
2514
|
+
"syn 2.0.77",
|
|
2422
2515
|
]
|
|
2423
2516
|
|
|
2424
2517
|
[[package]]
|
|
@@ -2439,7 +2532,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
2439
2532
|
checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db"
|
|
2440
2533
|
dependencies = [
|
|
2441
2534
|
"fixedbitset",
|
|
2442
|
-
"indexmap 2.
|
|
2535
|
+
"indexmap 2.5.0",
|
|
2443
2536
|
]
|
|
2444
2537
|
|
|
2445
2538
|
[[package]]
|
|
@@ -2503,7 +2596,7 @@ checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965"
|
|
|
2503
2596
|
dependencies = [
|
|
2504
2597
|
"proc-macro2",
|
|
2505
2598
|
"quote",
|
|
2506
|
-
"syn 2.0.
|
|
2599
|
+
"syn 2.0.77",
|
|
2507
2600
|
]
|
|
2508
2601
|
|
|
2509
2602
|
[[package]]
|
|
@@ -2601,11 +2694,11 @@ dependencies = [
|
|
|
2601
2694
|
[[package]]
|
|
2602
2695
|
name = "proc_macro_crate"
|
|
2603
2696
|
version = "0.1.0"
|
|
2604
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
2697
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
2605
2698
|
dependencies = [
|
|
2606
2699
|
"proc-macro2",
|
|
2607
2700
|
"quote",
|
|
2608
|
-
"syn 2.0.
|
|
2701
|
+
"syn 2.0.77",
|
|
2609
2702
|
]
|
|
2610
2703
|
|
|
2611
2704
|
[[package]]
|
|
@@ -2665,7 +2758,7 @@ dependencies = [
|
|
|
2665
2758
|
[[package]]
|
|
2666
2759
|
name = "prost-wkt"
|
|
2667
2760
|
version = "0.4.1"
|
|
2668
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
2761
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
2669
2762
|
dependencies = [
|
|
2670
2763
|
"chrono",
|
|
2671
2764
|
"inventory",
|
|
@@ -2679,7 +2772,7 @@ dependencies = [
|
|
|
2679
2772
|
[[package]]
|
|
2680
2773
|
name = "prost-wkt-build"
|
|
2681
2774
|
version = "0.4.1"
|
|
2682
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
2775
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
2683
2776
|
dependencies = [
|
|
2684
2777
|
"heck 0.4.1",
|
|
2685
2778
|
"prost",
|
|
@@ -2691,7 +2784,7 @@ dependencies = [
|
|
|
2691
2784
|
[[package]]
|
|
2692
2785
|
name = "prost-wkt-types"
|
|
2693
2786
|
version = "0.4.1"
|
|
2694
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
2787
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
2695
2788
|
dependencies = [
|
|
2696
2789
|
"chrono",
|
|
2697
2790
|
"prost",
|
|
@@ -2802,7 +2895,7 @@ dependencies = [
|
|
|
2802
2895
|
"proc-macro2",
|
|
2803
2896
|
"pyo3-macros-backend",
|
|
2804
2897
|
"quote",
|
|
2805
|
-
"syn 2.0.
|
|
2898
|
+
"syn 2.0.77",
|
|
2806
2899
|
]
|
|
2807
2900
|
|
|
2808
2901
|
[[package]]
|
|
@@ -2815,14 +2908,14 @@ dependencies = [
|
|
|
2815
2908
|
"proc-macro2",
|
|
2816
2909
|
"pyo3-build-config",
|
|
2817
2910
|
"quote",
|
|
2818
|
-
"syn 2.0.
|
|
2911
|
+
"syn 2.0.77",
|
|
2819
2912
|
]
|
|
2820
2913
|
|
|
2821
2914
|
[[package]]
|
|
2822
2915
|
name = "quinn"
|
|
2823
|
-
version = "0.11.
|
|
2916
|
+
version = "0.11.5"
|
|
2824
2917
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2825
|
-
checksum = "
|
|
2918
|
+
checksum = "8c7c5fdde3cdae7203427dc4f0a68fe0ed09833edc525a03456b153b79828684"
|
|
2826
2919
|
dependencies = [
|
|
2827
2920
|
"bytes",
|
|
2828
2921
|
"pin-project-lite",
|
|
@@ -2838,9 +2931,9 @@ dependencies = [
|
|
|
2838
2931
|
|
|
2839
2932
|
[[package]]
|
|
2840
2933
|
name = "quinn-proto"
|
|
2841
|
-
version = "0.11.
|
|
2934
|
+
version = "0.11.8"
|
|
2842
2935
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2843
|
-
checksum = "
|
|
2936
|
+
checksum = "fadfaed2cd7f389d0161bb73eeb07b7b78f8691047a6f3e73caaeae55310a4a6"
|
|
2844
2937
|
dependencies = [
|
|
2845
2938
|
"bytes",
|
|
2846
2939
|
"rand",
|
|
@@ -2855,22 +2948,22 @@ dependencies = [
|
|
|
2855
2948
|
|
|
2856
2949
|
[[package]]
|
|
2857
2950
|
name = "quinn-udp"
|
|
2858
|
-
version = "0.5.
|
|
2951
|
+
version = "0.5.5"
|
|
2859
2952
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2860
|
-
checksum = "
|
|
2953
|
+
checksum = "4fe68c2e9e1a1234e218683dbdf9f9dfcb094113c5ac2b938dfcb9bab4c4140b"
|
|
2861
2954
|
dependencies = [
|
|
2862
2955
|
"libc",
|
|
2863
2956
|
"once_cell",
|
|
2864
2957
|
"socket2",
|
|
2865
2958
|
"tracing",
|
|
2866
|
-
"windows-sys 0.
|
|
2959
|
+
"windows-sys 0.59.0",
|
|
2867
2960
|
]
|
|
2868
2961
|
|
|
2869
2962
|
[[package]]
|
|
2870
2963
|
name = "quote"
|
|
2871
|
-
version = "1.0.
|
|
2964
|
+
version = "1.0.37"
|
|
2872
2965
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2873
|
-
checksum = "
|
|
2966
|
+
checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
|
|
2874
2967
|
dependencies = [
|
|
2875
2968
|
"proc-macro2",
|
|
2876
2969
|
]
|
|
@@ -3057,7 +3150,7 @@ dependencies = [
|
|
|
3057
3150
|
"sync_wrapper",
|
|
3058
3151
|
"tokio",
|
|
3059
3152
|
"tokio-rustls",
|
|
3060
|
-
"tokio-util 0.7.
|
|
3153
|
+
"tokio-util 0.7.12",
|
|
3061
3154
|
"tower-service",
|
|
3062
3155
|
"url",
|
|
3063
3156
|
"wasm-bindgen",
|
|
@@ -3237,18 +3330,18 @@ dependencies = [
|
|
|
3237
3330
|
|
|
3238
3331
|
[[package]]
|
|
3239
3332
|
name = "rustc_version"
|
|
3240
|
-
version = "0.4.
|
|
3333
|
+
version = "0.4.1"
|
|
3241
3334
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3242
|
-
checksum = "
|
|
3335
|
+
checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92"
|
|
3243
3336
|
dependencies = [
|
|
3244
3337
|
"semver 1.0.23",
|
|
3245
3338
|
]
|
|
3246
3339
|
|
|
3247
3340
|
[[package]]
|
|
3248
3341
|
name = "rustix"
|
|
3249
|
-
version = "0.38.
|
|
3342
|
+
version = "0.38.35"
|
|
3250
3343
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3251
|
-
checksum = "
|
|
3344
|
+
checksum = "a85d50532239da68e9addb745ba38ff4612a242c1c7ceea689c4bc7c2f43c36f"
|
|
3252
3345
|
dependencies = [
|
|
3253
3346
|
"bitflags 2.6.0",
|
|
3254
3347
|
"errno",
|
|
@@ -3289,9 +3382,9 @@ checksum = "fc0a2ce646f8655401bb81e7927b812614bd5d91dbc968696be50603510fcaf0"
|
|
|
3289
3382
|
|
|
3290
3383
|
[[package]]
|
|
3291
3384
|
name = "rustls-webpki"
|
|
3292
|
-
version = "0.102.
|
|
3385
|
+
version = "0.102.7"
|
|
3293
3386
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3294
|
-
checksum = "
|
|
3387
|
+
checksum = "84678086bd54edf2b415183ed7a94d0efb049f1b646a33e22a36f3794be6ae56"
|
|
3295
3388
|
dependencies = [
|
|
3296
3389
|
"ring",
|
|
3297
3390
|
"rustls-pki-types",
|
|
@@ -3398,22 +3491,22 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
|
|
|
3398
3491
|
|
|
3399
3492
|
[[package]]
|
|
3400
3493
|
name = "serde"
|
|
3401
|
-
version = "1.0.
|
|
3494
|
+
version = "1.0.209"
|
|
3402
3495
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3403
|
-
checksum = "
|
|
3496
|
+
checksum = "99fce0ffe7310761ca6bf9faf5115afbc19688edd00171d81b1bb1b116c63e09"
|
|
3404
3497
|
dependencies = [
|
|
3405
3498
|
"serde_derive",
|
|
3406
3499
|
]
|
|
3407
3500
|
|
|
3408
3501
|
[[package]]
|
|
3409
3502
|
name = "serde_derive"
|
|
3410
|
-
version = "1.0.
|
|
3503
|
+
version = "1.0.209"
|
|
3411
3504
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3412
|
-
checksum = "
|
|
3505
|
+
checksum = "a5831b979fd7b5439637af1752d535ff49f4860c0f341d1baeb6faf0f4242170"
|
|
3413
3506
|
dependencies = [
|
|
3414
3507
|
"proc-macro2",
|
|
3415
3508
|
"quote",
|
|
3416
|
-
"syn 2.0.
|
|
3509
|
+
"syn 2.0.77",
|
|
3417
3510
|
]
|
|
3418
3511
|
|
|
3419
3512
|
[[package]]
|
|
@@ -3435,7 +3528,7 @@ checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9"
|
|
|
3435
3528
|
dependencies = [
|
|
3436
3529
|
"proc-macro2",
|
|
3437
3530
|
"quote",
|
|
3438
|
-
"syn 2.0.
|
|
3531
|
+
"syn 2.0.77",
|
|
3439
3532
|
]
|
|
3440
3533
|
|
|
3441
3534
|
[[package]]
|
|
@@ -3453,9 +3546,9 @@ dependencies = [
|
|
|
3453
3546
|
[[package]]
|
|
3454
3547
|
name = "serde_yaml"
|
|
3455
3548
|
version = "0.9.34+deprecated"
|
|
3456
|
-
source = "git+https://github.com/kcl-lang/kcl#
|
|
3549
|
+
source = "git+https://github.com/kcl-lang/kcl#def5a5687da4abcbcfcf40673e441da6aff161b5"
|
|
3457
3550
|
dependencies = [
|
|
3458
|
-
"indexmap 2.
|
|
3551
|
+
"indexmap 2.5.0",
|
|
3459
3552
|
"itoa",
|
|
3460
3553
|
"ryu",
|
|
3461
3554
|
"serde",
|
|
@@ -3684,9 +3777,9 @@ dependencies = [
|
|
|
3684
3777
|
|
|
3685
3778
|
[[package]]
|
|
3686
3779
|
name = "syn"
|
|
3687
|
-
version = "2.0.
|
|
3780
|
+
version = "2.0.77"
|
|
3688
3781
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3689
|
-
checksum = "
|
|
3782
|
+
checksum = "9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed"
|
|
3690
3783
|
dependencies = [
|
|
3691
3784
|
"proc-macro2",
|
|
3692
3785
|
"quote",
|
|
@@ -3780,7 +3873,7 @@ checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261"
|
|
|
3780
3873
|
dependencies = [
|
|
3781
3874
|
"proc-macro2",
|
|
3782
3875
|
"quote",
|
|
3783
|
-
"syn 2.0.
|
|
3876
|
+
"syn 2.0.77",
|
|
3784
3877
|
]
|
|
3785
3878
|
|
|
3786
3879
|
[[package]]
|
|
@@ -3899,9 +3992,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
|
|
|
3899
3992
|
|
|
3900
3993
|
[[package]]
|
|
3901
3994
|
name = "tokio"
|
|
3902
|
-
version = "1.
|
|
3995
|
+
version = "1.40.0"
|
|
3903
3996
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3904
|
-
checksum = "
|
|
3997
|
+
checksum = "e2b070231665d27ad9ec9b8df639893f46727666c6767db40317fbe920a5d998"
|
|
3905
3998
|
dependencies = [
|
|
3906
3999
|
"backtrace",
|
|
3907
4000
|
"bytes",
|
|
@@ -3923,7 +4016,7 @@ checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752"
|
|
|
3923
4016
|
dependencies = [
|
|
3924
4017
|
"proc-macro2",
|
|
3925
4018
|
"quote",
|
|
3926
|
-
"syn 2.0.
|
|
4019
|
+
"syn 2.0.77",
|
|
3927
4020
|
]
|
|
3928
4021
|
|
|
3929
4022
|
[[package]]
|
|
@@ -3977,9 +4070,9 @@ dependencies = [
|
|
|
3977
4070
|
|
|
3978
4071
|
[[package]]
|
|
3979
4072
|
name = "tokio-util"
|
|
3980
|
-
version = "0.7.
|
|
4073
|
+
version = "0.7.12"
|
|
3981
4074
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3982
|
-
checksum = "
|
|
4075
|
+
checksum = "61e7c3654c13bcd040d4a03abee2c75b1d14a37b423cf5a813ceae1cc903ec6a"
|
|
3983
4076
|
dependencies = [
|
|
3984
4077
|
"bytes",
|
|
3985
4078
|
"futures-core",
|
|
@@ -4044,7 +4137,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
|
|
|
4044
4137
|
dependencies = [
|
|
4045
4138
|
"proc-macro2",
|
|
4046
4139
|
"quote",
|
|
4047
|
-
"syn 2.0.
|
|
4140
|
+
"syn 2.0.77",
|
|
4048
4141
|
]
|
|
4049
4142
|
|
|
4050
4143
|
[[package]]
|
|
@@ -4104,7 +4197,7 @@ checksum = "70b20a22c42c8f1cd23ce5e34f165d4d37038f5b663ad20fb6adbdf029172483"
|
|
|
4104
4197
|
dependencies = [
|
|
4105
4198
|
"proc-macro2",
|
|
4106
4199
|
"quote",
|
|
4107
|
-
"syn 2.0.
|
|
4200
|
+
"syn 2.0.77",
|
|
4108
4201
|
]
|
|
4109
4202
|
|
|
4110
4203
|
[[package]]
|
|
@@ -4184,7 +4277,7 @@ checksum = "1ed7f4237ba393424195053097c1516bd4590dc82b84f2f97c5c69e12704555b"
|
|
|
4184
4277
|
dependencies = [
|
|
4185
4278
|
"proc-macro-hack",
|
|
4186
4279
|
"quote",
|
|
4187
|
-
"syn 2.0.
|
|
4280
|
+
"syn 2.0.77",
|
|
4188
4281
|
"unic-langid-impl",
|
|
4189
4282
|
]
|
|
4190
4283
|
|
|
@@ -4334,7 +4427,7 @@ checksum = "c32e7318e93a9ac53693b6caccfb05ff22e04a44c7cf8a279051f24c09da286f"
|
|
|
4334
4427
|
dependencies = [
|
|
4335
4428
|
"anyhow",
|
|
4336
4429
|
"derive_builder",
|
|
4337
|
-
"rustc_version 0.4.
|
|
4430
|
+
"rustc_version 0.4.1",
|
|
4338
4431
|
"rustversion",
|
|
4339
4432
|
"vergen-lib",
|
|
4340
4433
|
]
|
|
@@ -4418,7 +4511,7 @@ dependencies = [
|
|
|
4418
4511
|
"once_cell",
|
|
4419
4512
|
"proc-macro2",
|
|
4420
4513
|
"quote",
|
|
4421
|
-
"syn 2.0.
|
|
4514
|
+
"syn 2.0.77",
|
|
4422
4515
|
"wasm-bindgen-shared",
|
|
4423
4516
|
]
|
|
4424
4517
|
|
|
@@ -4452,7 +4545,7 @@ checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836"
|
|
|
4452
4545
|
dependencies = [
|
|
4453
4546
|
"proc-macro2",
|
|
4454
4547
|
"quote",
|
|
4455
|
-
"syn 2.0.
|
|
4548
|
+
"syn 2.0.77",
|
|
4456
4549
|
"wasm-bindgen-backend",
|
|
4457
4550
|
"wasm-bindgen-shared",
|
|
4458
4551
|
]
|
|
@@ -4488,9 +4581,9 @@ dependencies = [
|
|
|
4488
4581
|
|
|
4489
4582
|
[[package]]
|
|
4490
4583
|
name = "webpki-roots"
|
|
4491
|
-
version = "0.26.
|
|
4584
|
+
version = "0.26.5"
|
|
4492
4585
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4493
|
-
checksum = "
|
|
4586
|
+
checksum = "0bd24728e5af82c6c4ec1b66ac4844bdf8156257fccda846ec58b42cd0cdbe6a"
|
|
4494
4587
|
dependencies = [
|
|
4495
4588
|
"rustls-pki-types",
|
|
4496
4589
|
]
|
|
@@ -4859,7 +4952,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
|
|
|
4859
4952
|
dependencies = [
|
|
4860
4953
|
"proc-macro2",
|
|
4861
4954
|
"quote",
|
|
4862
|
-
"syn 2.0.
|
|
4955
|
+
"syn 2.0.77",
|
|
4863
4956
|
]
|
|
4864
4957
|
|
|
4865
4958
|
[[package]]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "kcl-python-lib"
|
|
3
|
-
version = "0.10.0-
|
|
3
|
+
version = "0.10.0-rc.1"
|
|
4
4
|
edition = "2021"
|
|
5
5
|
|
|
6
6
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
@@ -8,5 +8,5 @@ edition = "2021"
|
|
|
8
8
|
crate-type = ["cdylib"]
|
|
9
9
|
|
|
10
10
|
[dependencies]
|
|
11
|
-
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-
|
|
11
|
+
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-rc.1" }
|
|
12
12
|
pyo3 = "0.20.1"
|
|
@@ -50,14 +50,15 @@ from google.protobuf import message as _message
|
|
|
50
50
|
class API:
|
|
51
51
|
"""KCL APIs
|
|
52
52
|
|
|
53
|
-
Examples
|
|
54
|
-
|
|
53
|
+
## Examples
|
|
54
|
+
|
|
55
|
+
Python Code
|
|
56
|
+
|
|
55
57
|
```python
|
|
56
58
|
import kcl_lib.api as api
|
|
57
|
-
# Call the `exec_program` method with appropriate arguments
|
|
58
59
|
args = api.ExecProgram_Args(k_filename_list=["a.k"])
|
|
59
|
-
# Usage
|
|
60
60
|
api = api.API()
|
|
61
|
+
|
|
61
62
|
result = api.exec_program(args)
|
|
62
63
|
print(result.yaml_result)
|
|
63
64
|
```
|
|
@@ -78,10 +79,9 @@ class API:
|
|
|
78
79
|
|
|
79
80
|
```python
|
|
80
81
|
schema AppConfig:
|
|
81
|
-
|
|
82
|
-
|
|
82
|
+
replicas: int
|
|
83
83
|
app: AppConfig {
|
|
84
|
-
|
|
84
|
+
replicas: 2
|
|
85
85
|
}
|
|
86
86
|
```
|
|
87
87
|
|
|
@@ -109,7 +109,6 @@ class API:
|
|
|
109
109
|
```python
|
|
110
110
|
schema AppConfig:
|
|
111
111
|
replicas: int
|
|
112
|
-
|
|
113
112
|
app: AppConfig {
|
|
114
113
|
replicas: 2
|
|
115
114
|
}
|
|
@@ -129,7 +128,6 @@ class API:
|
|
|
129
128
|
|
|
130
129
|
```python
|
|
131
130
|
import kcl_lib.api as api
|
|
132
|
-
|
|
133
131
|
try:
|
|
134
132
|
args = api.ExecProgram_Args(k_filename_list=["file_not_found"])
|
|
135
133
|
api = api.API()
|
|
@@ -141,12 +139,6 @@ class API:
|
|
|
141
139
|
"""
|
|
142
140
|
return self.call("KclvmService.ExecProgram", args)
|
|
143
141
|
|
|
144
|
-
def build_program(self, args: BuildProgram_Args) -> BuildProgram_Result:
|
|
145
|
-
return self.call("KclvmService.BuildProgram", args)
|
|
146
|
-
|
|
147
|
-
def exec_artifact(self, args: ExecArtifact_Args) -> ExecProgram_Result:
|
|
148
|
-
return self.call("KclvmService.ExecArtifact", args)
|
|
149
|
-
|
|
150
142
|
def parse_file(self, args: ParseFile_Args) -> ParseFile_Result:
|
|
151
143
|
"""Parse KCL single file to Module AST JSON string with import dependencies and parse errors.
|
|
152
144
|
|
|
@@ -157,7 +149,6 @@ class API:
|
|
|
157
149
|
```python
|
|
158
150
|
schema AppConfig:
|
|
159
151
|
replicas: int
|
|
160
|
-
|
|
161
152
|
app: AppConfig {
|
|
162
153
|
replicas: 2
|
|
163
154
|
}
|
|
@@ -187,7 +178,6 @@ class API:
|
|
|
187
178
|
```python
|
|
188
179
|
schema AppConfig:
|
|
189
180
|
replicas: int
|
|
190
|
-
|
|
191
181
|
app: AppConfig {
|
|
192
182
|
replicas: 2
|
|
193
183
|
}
|
|
@@ -217,7 +207,6 @@ class API:
|
|
|
217
207
|
```python
|
|
218
208
|
schema AppConfig:
|
|
219
209
|
replicas: int
|
|
220
|
-
|
|
221
210
|
app: AppConfig {
|
|
222
211
|
replicas: 2
|
|
223
212
|
}
|
|
@@ -227,7 +216,6 @@ class API:
|
|
|
227
216
|
|
|
228
217
|
```python
|
|
229
218
|
import kcl_lib.api as api
|
|
230
|
-
|
|
231
219
|
args = api.LoadPackage_Args(
|
|
232
220
|
parse_args=api.ParseProgram_Args(paths=["schema.k"]), resolve_ast=True
|
|
233
221
|
)
|
|
@@ -279,7 +267,6 @@ class API:
|
|
|
279
267
|
```python
|
|
280
268
|
schema AppConfig:
|
|
281
269
|
replicas: int
|
|
282
|
-
|
|
283
270
|
app: AppConfig {
|
|
284
271
|
replicas: 2
|
|
285
272
|
}
|
|
@@ -300,35 +287,18 @@ class API:
|
|
|
300
287
|
def format_code(self, args: FormatCode_Args) -> FormatCode_Result:
|
|
301
288
|
"""Format the code source.
|
|
302
289
|
|
|
303
|
-
|
|
304
|
-
<p>
|
|
290
|
+
## Example
|
|
305
291
|
|
|
306
292
|
Python Code
|
|
307
293
|
|
|
308
294
|
```python
|
|
309
295
|
import kcl_lib.api as api
|
|
310
|
-
|
|
311
|
-
source_code = \"\"\"schema Person:
|
|
312
|
-
name: str
|
|
313
|
-
age: int
|
|
314
|
-
|
|
315
|
-
check:
|
|
316
|
-
0 < age < 120
|
|
317
|
-
\"\"\"
|
|
296
|
+
source_code = "a = 1"
|
|
318
297
|
args = api.FormatCode_Args(source=source_code)
|
|
319
298
|
api_instance = api.API()
|
|
320
|
-
result = api_instance.format_code(args)
|
|
321
|
-
assert (
|
|
322
|
-
result.formatted.decode()
|
|
323
|
-
== \"\"\"schema Person:
|
|
324
|
-
name: str
|
|
325
|
-
age: int
|
|
326
|
-
|
|
327
|
-
check:
|
|
328
|
-
0 < age < 120
|
|
329
299
|
|
|
330
|
-
|
|
331
|
-
)
|
|
300
|
+
result = api_instance.format_code(args)
|
|
301
|
+
assert result.formatted.decode(), "a = 1"
|
|
332
302
|
```
|
|
333
303
|
"""
|
|
334
304
|
return self.call("KclvmService.FormatCode", args)
|
|
@@ -344,7 +314,6 @@ class API:
|
|
|
344
314
|
schema Person:
|
|
345
315
|
name: str
|
|
346
316
|
age: int
|
|
347
|
-
|
|
348
317
|
check:
|
|
349
318
|
0 < age < 120
|
|
350
319
|
```
|
|
@@ -372,7 +341,6 @@ class API:
|
|
|
372
341
|
```python
|
|
373
342
|
import math
|
|
374
343
|
|
|
375
|
-
a = 1
|
|
376
344
|
```
|
|
377
345
|
|
|
378
346
|
Python Code
|
|
@@ -396,7 +364,6 @@ class API:
|
|
|
396
364
|
|
|
397
365
|
```python
|
|
398
366
|
a = 1
|
|
399
|
-
|
|
400
367
|
b = {
|
|
401
368
|
"a": 1
|
|
402
369
|
"b": 2
|
|
@@ -441,7 +408,6 @@ class API:
|
|
|
441
408
|
```python
|
|
442
409
|
schema AppConfig:
|
|
443
410
|
replicas: int
|
|
444
|
-
|
|
445
411
|
app: AppConfig {
|
|
446
412
|
replicas: 2
|
|
447
413
|
}
|
|
@@ -474,7 +440,6 @@ class API:
|
|
|
474
440
|
schema Person:
|
|
475
441
|
name: str
|
|
476
442
|
age: int
|
|
477
|
-
|
|
478
443
|
check:
|
|
479
444
|
0 < age < 120
|
|
480
445
|
\"\"\"
|
|
@@ -510,7 +475,6 @@ class API:
|
|
|
510
475
|
|
|
511
476
|
```python
|
|
512
477
|
import kcl_lib.api as api
|
|
513
|
-
|
|
514
478
|
args = api.LoadSettingsFiles_Args(
|
|
515
479
|
work_dir=".", files=["kcl.yaml"]
|
|
516
480
|
)
|
|
@@ -530,9 +494,10 @@ class API:
|
|
|
530
494
|
|
|
531
495
|
## Example
|
|
532
496
|
|
|
533
|
-
The content of
|
|
497
|
+
The content of main.k is
|
|
534
498
|
|
|
535
499
|
```python
|
|
500
|
+
|
|
536
501
|
a = 1
|
|
537
502
|
b = a
|
|
538
503
|
```
|
|
@@ -541,7 +506,6 @@ class API:
|
|
|
541
506
|
|
|
542
507
|
```python
|
|
543
508
|
import kcl_lib.api as api
|
|
544
|
-
|
|
545
509
|
args = api.Rename_Args(
|
|
546
510
|
package_root=".",
|
|
547
511
|
symbol_path="a",
|
|
@@ -563,7 +527,6 @@ class API:
|
|
|
563
527
|
|
|
564
528
|
```python
|
|
565
529
|
import kcl_lib.api as api
|
|
566
|
-
|
|
567
530
|
args = api.RenameCode_Args(
|
|
568
531
|
package_root="/mock/path",
|
|
569
532
|
symbol_path="a",
|
|
@@ -619,7 +582,6 @@ class API:
|
|
|
619
582
|
|
|
620
583
|
```python
|
|
621
584
|
import kcl_lib.api as api
|
|
622
|
-
|
|
623
585
|
args = api.UpdateDependencies_Args(
|
|
624
586
|
manifest_path="module"
|
|
625
587
|
)
|
|
@@ -651,7 +613,6 @@ class API:
|
|
|
651
613
|
```python
|
|
652
614
|
import helloworld
|
|
653
615
|
import flask
|
|
654
|
-
|
|
655
616
|
a = helloworld.The_first_kcl_program
|
|
656
617
|
```
|
|
657
618
|
|
|
@@ -659,7 +620,6 @@ class API:
|
|
|
659
620
|
|
|
660
621
|
```python
|
|
661
622
|
import kcl_lib.api as api
|
|
662
|
-
|
|
663
623
|
args = api.UpdateDependencies_Args(
|
|
664
624
|
manifest_path="module"
|
|
665
625
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|