toolapi 0.1.3__tar.gz → 0.4.2__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.
@@ -110,9 +110,9 @@ jobs:
110
110
  # - runner: windows-latest
111
111
  # target: x86
112
112
  # python_arch: x86
113
- - runner: windows-11-arm
114
- target: aarch64
115
- python_arch: arm64
113
+ # - runner: windows-11-arm
114
+ # target: aarch64
115
+ # python_arch: arm64
116
116
  steps:
117
117
  - uses: actions/checkout@v6
118
118
  - uses: actions/setup-python@v6
@@ -2,6 +2,17 @@
2
2
  # It is not intended for manual editing.
3
3
  version = 4
4
4
 
5
+ [[package]]
6
+ name = "async_io_stream"
7
+ version = "0.3.3"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "b6d7b9decdf35d8908a7e3ef02f64c5e9b1695e230154c0e8de3969142d9b94c"
10
+ dependencies = [
11
+ "futures",
12
+ "pharos",
13
+ "rustc_version",
14
+ ]
15
+
5
16
  [[package]]
6
17
  name = "atomic-waker"
7
18
  version = "1.1.2"
@@ -84,6 +95,12 @@ dependencies = [
84
95
  "generic-array",
85
96
  ]
86
97
 
98
+ [[package]]
99
+ name = "bumpalo"
100
+ version = "3.19.1"
101
+ source = "registry+https://github.com/rust-lang/crates.io-index"
102
+ checksum = "5dd9dc738b7a8311c7ade152424974d8115f2cdad61e8dab8dac9f2362298510"
103
+
87
104
  [[package]]
88
105
  name = "bytes"
89
106
  version = "1.11.1"
@@ -97,8 +114,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
97
114
  checksum = "47b26a0954ae34af09b50f0de26458fa95369a0d478d8236d3f93082b219bd29"
98
115
  dependencies = [
99
116
  "find-msvc-tools",
100
- "jobserver",
101
- "libc",
102
117
  "shlex",
103
118
  ]
104
119
 
@@ -158,6 +173,21 @@ dependencies = [
158
173
  "percent-encoding",
159
174
  ]
160
175
 
176
+ [[package]]
177
+ name = "futures"
178
+ version = "0.3.31"
179
+ source = "registry+https://github.com/rust-lang/crates.io-index"
180
+ checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876"
181
+ dependencies = [
182
+ "futures-channel",
183
+ "futures-core",
184
+ "futures-executor",
185
+ "futures-io",
186
+ "futures-sink",
187
+ "futures-task",
188
+ "futures-util",
189
+ ]
190
+
161
191
  [[package]]
162
192
  name = "futures-channel"
163
193
  version = "0.3.31"
@@ -165,6 +195,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
165
195
  checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10"
166
196
  dependencies = [
167
197
  "futures-core",
198
+ "futures-sink",
168
199
  ]
169
200
 
170
201
  [[package]]
@@ -173,6 +204,34 @@ version = "0.3.31"
173
204
  source = "registry+https://github.com/rust-lang/crates.io-index"
174
205
  checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e"
175
206
 
207
+ [[package]]
208
+ name = "futures-executor"
209
+ version = "0.3.31"
210
+ source = "registry+https://github.com/rust-lang/crates.io-index"
211
+ checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f"
212
+ dependencies = [
213
+ "futures-core",
214
+ "futures-task",
215
+ "futures-util",
216
+ ]
217
+
218
+ [[package]]
219
+ name = "futures-io"
220
+ version = "0.3.32"
221
+ source = "registry+https://github.com/rust-lang/crates.io-index"
222
+ checksum = "cecba35d7ad927e23624b22ad55235f2239cfa44fd10428eecbeba6d6a717718"
223
+
224
+ [[package]]
225
+ name = "futures-macro"
226
+ version = "0.3.31"
227
+ source = "registry+https://github.com/rust-lang/crates.io-index"
228
+ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650"
229
+ dependencies = [
230
+ "proc-macro2",
231
+ "quote",
232
+ "syn",
233
+ ]
234
+
176
235
  [[package]]
177
236
  name = "futures-sink"
178
237
  version = "0.3.31"
@@ -191,9 +250,13 @@ version = "0.3.31"
191
250
  source = "registry+https://github.com/rust-lang/crates.io-index"
192
251
  checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81"
193
252
  dependencies = [
253
+ "futures-channel",
194
254
  "futures-core",
255
+ "futures-io",
256
+ "futures-macro",
195
257
  "futures-sink",
196
258
  "futures-task",
259
+ "memchr",
197
260
  "pin-project-lite",
198
261
  "pin-utils",
199
262
  "slab",
@@ -216,8 +279,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
216
279
  checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
217
280
  dependencies = [
218
281
  "cfg-if",
282
+ "js-sys",
219
283
  "libc",
220
284
  "wasi",
285
+ "wasm-bindgen",
221
286
  ]
222
287
 
223
288
  [[package]]
@@ -227,9 +292,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
227
292
  checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
228
293
  dependencies = [
229
294
  "cfg-if",
295
+ "js-sys",
230
296
  "libc",
231
297
  "r-efi",
232
298
  "wasip2",
299
+ "wasm-bindgen",
233
300
  ]
234
301
 
235
302
  [[package]]
@@ -335,13 +402,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
335
402
  checksum = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2"
336
403
 
337
404
  [[package]]
338
- name = "jobserver"
339
- version = "0.1.34"
405
+ name = "js-sys"
406
+ version = "0.3.85"
340
407
  source = "registry+https://github.com/rust-lang/crates.io-index"
341
- checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33"
408
+ checksum = "8c942ebf8e95485ca0d52d97da7c5a2c387d0e7f0ba4c35e93bfcaee045955b3"
342
409
  dependencies = [
343
- "getrandom 0.3.4",
344
- "libc",
410
+ "once_cell",
411
+ "wasm-bindgen",
345
412
  ]
346
413
 
347
414
  [[package]]
@@ -425,6 +492,16 @@ version = "2.3.2"
425
492
  source = "registry+https://github.com/rust-lang/crates.io-index"
426
493
  checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
427
494
 
495
+ [[package]]
496
+ name = "pharos"
497
+ version = "0.5.3"
498
+ source = "registry+https://github.com/rust-lang/crates.io-index"
499
+ checksum = "e9567389417feee6ce15dd6527a8a1ecac205ef62c2932bcf3d9f6fc5b78b414"
500
+ dependencies = [
501
+ "futures",
502
+ "rustc_version",
503
+ ]
504
+
428
505
  [[package]]
429
506
  name = "pin-project-lite"
430
507
  version = "0.2.16"
@@ -437,12 +514,6 @@ version = "0.1.0"
437
514
  source = "registry+https://github.com/rust-lang/crates.io-index"
438
515
  checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
439
516
 
440
- [[package]]
441
- name = "pkg-config"
442
- version = "0.3.32"
443
- source = "registry+https://github.com/rust-lang/crates.io-index"
444
- checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c"
445
-
446
517
  [[package]]
447
518
  name = "portable-atomic"
448
519
  version = "1.13.1"
@@ -606,6 +677,15 @@ dependencies = [
606
677
  "serde",
607
678
  ]
608
679
 
680
+ [[package]]
681
+ name = "rustc_version"
682
+ version = "0.4.1"
683
+ source = "registry+https://github.com/rust-lang/crates.io-index"
684
+ checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92"
685
+ dependencies = [
686
+ "semver",
687
+ ]
688
+
609
689
  [[package]]
610
690
  name = "rustls"
611
691
  version = "0.23.36"
@@ -646,12 +726,33 @@ version = "1.0.22"
646
726
  source = "registry+https://github.com/rust-lang/crates.io-index"
647
727
  checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
648
728
 
729
+ [[package]]
730
+ name = "ruzstd"
731
+ version = "0.8.2"
732
+ source = "registry+https://github.com/rust-lang/crates.io-index"
733
+ checksum = "e5ff0cc5e135c8870a775d3320910cd9b564ec036b4dc0b8741629020be63f01"
734
+ dependencies = [
735
+ "twox-hash",
736
+ ]
737
+
649
738
  [[package]]
650
739
  name = "ryu"
651
740
  version = "1.0.22"
652
741
  source = "registry+https://github.com/rust-lang/crates.io-index"
653
742
  checksum = "a50f4cf475b65d88e057964e0e9bb1f0aa9bbb2036dc65c64596b42932536984"
654
743
 
744
+ [[package]]
745
+ name = "semver"
746
+ version = "1.0.27"
747
+ source = "registry+https://github.com/rust-lang/crates.io-index"
748
+ checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2"
749
+
750
+ [[package]]
751
+ name = "send_wrapper"
752
+ version = "0.6.0"
753
+ source = "registry+https://github.com/rust-lang/crates.io-index"
754
+ checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73"
755
+
655
756
  [[package]]
656
757
  name = "serde"
657
758
  version = "1.0.228"
@@ -860,25 +961,30 @@ dependencies = [
860
961
 
861
962
  [[package]]
862
963
  name = "toolapi"
863
- version = "0.1.3"
964
+ version = "0.4.2"
864
965
  source = "registry+https://github.com/rust-lang/crates.io-index"
865
- checksum = "8e27bd3ba762132f7379b461f273d268e22379075025bf7b73c2e3ae93c8ff27"
966
+ checksum = "91435d6c60b8b2962687d5e379e1c240ac2d17e49f03397da6272666843db522"
866
967
  dependencies = [
867
968
  "axum",
969
+ "futures",
970
+ "getrandom 0.2.17",
971
+ "getrandom 0.3.4",
868
972
  "num-complex",
973
+ "pyo3",
869
974
  "rmp-serde",
870
975
  "rustls",
976
+ "ruzstd",
871
977
  "serde",
872
978
  "thiserror",
873
979
  "tokio",
874
980
  "tokio-tungstenite",
875
981
  "tungstenite",
876
- "zstd",
982
+ "ws_stream_wasm",
877
983
  ]
878
984
 
879
985
  [[package]]
880
986
  name = "toolapi-py"
881
- version = "0.1.3"
987
+ version = "0.4.2"
882
988
  dependencies = [
883
989
  "num-complex",
884
990
  "pyo3",
@@ -953,6 +1059,12 @@ dependencies = [
953
1059
  "webpki-roots 0.26.11",
954
1060
  ]
955
1061
 
1062
+ [[package]]
1063
+ name = "twox-hash"
1064
+ version = "2.1.2"
1065
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1066
+ checksum = "9ea3136b675547379c4bd395ca6b938e5ad3c3d20fad76e7fe85f9e0d011419c"
1067
+
956
1068
  [[package]]
957
1069
  name = "typenum"
958
1070
  version = "1.19.0"
@@ -1004,6 +1116,75 @@ dependencies = [
1004
1116
  "wit-bindgen",
1005
1117
  ]
1006
1118
 
1119
+ [[package]]
1120
+ name = "wasm-bindgen"
1121
+ version = "0.2.108"
1122
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1123
+ checksum = "64024a30ec1e37399cf85a7ffefebdb72205ca1c972291c51512360d90bd8566"
1124
+ dependencies = [
1125
+ "cfg-if",
1126
+ "once_cell",
1127
+ "rustversion",
1128
+ "wasm-bindgen-macro",
1129
+ "wasm-bindgen-shared",
1130
+ ]
1131
+
1132
+ [[package]]
1133
+ name = "wasm-bindgen-futures"
1134
+ version = "0.4.58"
1135
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1136
+ checksum = "70a6e77fd0ae8029c9ea0063f87c46fde723e7d887703d74ad2616d792e51e6f"
1137
+ dependencies = [
1138
+ "cfg-if",
1139
+ "futures-util",
1140
+ "js-sys",
1141
+ "once_cell",
1142
+ "wasm-bindgen",
1143
+ "web-sys",
1144
+ ]
1145
+
1146
+ [[package]]
1147
+ name = "wasm-bindgen-macro"
1148
+ version = "0.2.108"
1149
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1150
+ checksum = "008b239d9c740232e71bd39e8ef6429d27097518b6b30bdf9086833bd5b6d608"
1151
+ dependencies = [
1152
+ "quote",
1153
+ "wasm-bindgen-macro-support",
1154
+ ]
1155
+
1156
+ [[package]]
1157
+ name = "wasm-bindgen-macro-support"
1158
+ version = "0.2.108"
1159
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1160
+ checksum = "5256bae2d58f54820e6490f9839c49780dff84c65aeab9e772f15d5f0e913a55"
1161
+ dependencies = [
1162
+ "bumpalo",
1163
+ "proc-macro2",
1164
+ "quote",
1165
+ "syn",
1166
+ "wasm-bindgen-shared",
1167
+ ]
1168
+
1169
+ [[package]]
1170
+ name = "wasm-bindgen-shared"
1171
+ version = "0.2.108"
1172
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1173
+ checksum = "1f01b580c9ac74c8d8f0c0e4afb04eeef2acf145458e52c03845ee9cd23e3d12"
1174
+ dependencies = [
1175
+ "unicode-ident",
1176
+ ]
1177
+
1178
+ [[package]]
1179
+ name = "web-sys"
1180
+ version = "0.3.85"
1181
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1182
+ checksum = "312e32e551d92129218ea9a2452120f4aabc03529ef03e4d0d82fb2780608598"
1183
+ dependencies = [
1184
+ "js-sys",
1185
+ "wasm-bindgen",
1186
+ ]
1187
+
1007
1188
  [[package]]
1008
1189
  name = "webpki-roots"
1009
1190
  version = "0.26.11"
@@ -1190,6 +1371,25 @@ version = "0.51.0"
1190
1371
  source = "registry+https://github.com/rust-lang/crates.io-index"
1191
1372
  checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5"
1192
1373
 
1374
+ [[package]]
1375
+ name = "ws_stream_wasm"
1376
+ version = "0.7.5"
1377
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1378
+ checksum = "6c173014acad22e83f16403ee360115b38846fe754e735c5d9d3803fe70c6abc"
1379
+ dependencies = [
1380
+ "async_io_stream",
1381
+ "futures",
1382
+ "js-sys",
1383
+ "log",
1384
+ "pharos",
1385
+ "rustc_version",
1386
+ "send_wrapper",
1387
+ "thiserror",
1388
+ "wasm-bindgen",
1389
+ "wasm-bindgen-futures",
1390
+ "web-sys",
1391
+ ]
1392
+
1193
1393
  [[package]]
1194
1394
  name = "zerocopy"
1195
1395
  version = "0.8.37"
@@ -1221,31 +1421,3 @@ name = "zmij"
1221
1421
  version = "1.0.19"
1222
1422
  source = "registry+https://github.com/rust-lang/crates.io-index"
1223
1423
  checksum = "3ff05f8caa9038894637571ae6b9e29466c1f4f829d26c9b28f869a29cbe3445"
1224
-
1225
- [[package]]
1226
- name = "zstd"
1227
- version = "0.13.3"
1228
- source = "registry+https://github.com/rust-lang/crates.io-index"
1229
- checksum = "e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a"
1230
- dependencies = [
1231
- "zstd-safe",
1232
- ]
1233
-
1234
- [[package]]
1235
- name = "zstd-safe"
1236
- version = "7.2.4"
1237
- source = "registry+https://github.com/rust-lang/crates.io-index"
1238
- checksum = "8f49c4d5f0abb602a93fb8736af2a4f4dd9512e36f7f570d66e65ff867ed3b9d"
1239
- dependencies = [
1240
- "zstd-sys",
1241
- ]
1242
-
1243
- [[package]]
1244
- name = "zstd-sys"
1245
- version = "2.0.16+zstd.1.5.7"
1246
- source = "registry+https://github.com/rust-lang/crates.io-index"
1247
- checksum = "91e19ebc2adc8f83e43039e79776e3fda8ca919132d68a1fed6a5faca2683748"
1248
- dependencies = [
1249
- "cc",
1250
- "pkg-config",
1251
- ]
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "toolapi-py"
3
- version = "0.1.3"
3
+ version = "0.4.2"
4
4
  edition = "2024"
5
5
  readme = "README.md"
6
6
 
@@ -12,4 +12,4 @@ crate-type = ["cdylib"]
12
12
  [dependencies]
13
13
  num-complex = "0.4.6"
14
14
  pyo3 = { version = "0.27.1", features = ["extension-module", "abi3-py39", "num-complex"] }
15
- toolapi = "0.1"
15
+ toolapi = { version = "0.4.2", features = ["client", "pyo3"] }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: toolapi
3
- Version: 0.1.3
3
+ Version: 0.4.2
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy