act-cli 0.4.0__tar.gz → 0.5.1__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.
Files changed (29) hide show
  1. {act_cli-0.4.0 → act_cli-0.5.1}/Cargo.lock +109 -140
  2. {act_cli-0.4.0 → act_cli-0.5.1}/Cargo.toml +2 -2
  3. {act_cli-0.4.0 → act_cli-0.5.1}/PKG-INFO +1 -1
  4. {act_cli-0.4.0 → act_cli-0.5.1}/act-cli/Cargo.toml +14 -4
  5. act_cli-0.5.1/act-cli/build.rs +16 -0
  6. act_cli-0.5.1/act-cli/src/config.rs +445 -0
  7. {act_cli-0.4.0 → act_cli-0.5.1}/act-cli/src/format.rs +1 -0
  8. {act_cli-0.4.0 → act_cli-0.5.1}/act-cli/src/main.rs +55 -23
  9. act_cli-0.5.1/act-cli/src/runtime/effective.rs +483 -0
  10. act_cli-0.5.1/act-cli/src/runtime/fs_matcher.rs +344 -0
  11. act_cli-0.5.1/act-cli/src/runtime/fs_policy.rs +599 -0
  12. act_cli-0.5.1/act-cli/src/runtime/http_client.rs +868 -0
  13. act_cli-0.5.1/act-cli/src/runtime/http_policy.rs +436 -0
  14. act_cli-0.4.0/act-cli/src/runtime.rs → act_cli-0.5.1/act-cli/src/runtime/mod.rs +92 -28
  15. act_cli-0.5.1/act-cli/src/runtime/network.rs +430 -0
  16. act_cli-0.4.0/act-cli/src/config.rs +0 -594
  17. {act_cli-0.4.0 → act_cli-0.5.1}/README.md +0 -0
  18. {act_cli-0.4.0 → act_cli-0.5.1}/act-cli/README.md +0 -0
  19. {act_cli-0.4.0 → act_cli-0.5.1}/act-cli/src/http.rs +0 -0
  20. {act_cli-0.4.0 → act_cli-0.5.1}/act-cli/src/mcp.rs +0 -0
  21. {act_cli-0.4.0 → act_cli-0.5.1}/act-cli/src/resolve.rs +0 -0
  22. {act_cli-0.4.0/act-cli/src → act_cli-0.5.1/act-cli/src/runtime}/bindings/mod.rs +0 -0
  23. {act_cli-0.4.0 → act_cli-0.5.1}/act-cli/wit/deps/act-core/act-core.wit +0 -0
  24. {act_cli-0.4.0 → act_cli-0.5.1}/act-cli/wit/deps/act-core/act-events.wit +0 -0
  25. {act_cli-0.4.0 → act_cli-0.5.1}/act-cli/wit/deps/act-core/act-resources.wit +0 -0
  26. {act_cli-0.4.0 → act_cli-0.5.1}/act-cli/wit/deps.lock +0 -0
  27. {act_cli-0.4.0 → act_cli-0.5.1}/act-cli/wit/deps.toml +0 -0
  28. {act_cli-0.4.0 → act_cli-0.5.1}/act-cli/wit/world.wit +0 -0
  29. {act_cli-0.4.0 → act_cli-0.5.1}/pyproject.toml +0 -0
@@ -4,12 +4,13 @@ version = 4
4
4
 
5
5
  [[package]]
6
6
  name = "act-build"
7
- version = "0.4.0"
7
+ version = "0.5.1"
8
8
  dependencies = [
9
9
  "act-types",
10
10
  "anyhow",
11
11
  "ciborium",
12
12
  "clap",
13
+ "globset",
13
14
  "json-patch",
14
15
  "serde",
15
16
  "serde_json",
@@ -24,18 +25,26 @@ dependencies = [
24
25
 
25
26
  [[package]]
26
27
  name = "act-cli"
27
- version = "0.4.0"
28
+ version = "0.5.1"
28
29
  dependencies = [
29
30
  "act-types",
30
31
  "anyhow",
31
32
  "axum",
32
33
  "base64",
34
+ "bytes",
33
35
  "ciborium",
36
+ "cidr",
34
37
  "clap",
35
38
  "dirs",
39
+ "embed-manifest",
36
40
  "futures-util",
41
+ "globset",
42
+ "http",
43
+ "http-body-util",
44
+ "hyper",
37
45
  "indicatif",
38
46
  "oci-client",
47
+ "path-clean",
39
48
  "regex",
40
49
  "reqwest",
41
50
  "serde",
@@ -59,9 +68,9 @@ dependencies = [
59
68
 
60
69
  [[package]]
61
70
  name = "act-types"
62
- version = "0.4.0"
71
+ version = "0.5.0"
63
72
  source = "registry+https://github.com/rust-lang/crates.io-index"
64
- checksum = "62e9cc180d148c385c5c7f85aa5b349a6406faf8c67dc8a556d9a6cccab66826"
73
+ checksum = "8061ce793866b6430317d2f06f9be9a0db3d08127ad398f133bbd0537824e5ca"
65
74
  dependencies = [
66
75
  "base64",
67
76
  "ciborium",
@@ -307,6 +316,16 @@ dependencies = [
307
316
  "hybrid-array",
308
317
  ]
309
318
 
319
+ [[package]]
320
+ name = "bstr"
321
+ version = "1.12.1"
322
+ source = "registry+https://github.com/rust-lang/crates.io-index"
323
+ checksum = "63044e1ae8e69f3b5a92c736ca6269b8d12fa7efe39bf34ddb06d102cf0e2cab"
324
+ dependencies = [
325
+ "memchr",
326
+ "serde",
327
+ ]
328
+
310
329
  [[package]]
311
330
  name = "bumpalo"
312
331
  version = "3.20.2"
@@ -471,6 +490,12 @@ dependencies = [
471
490
  "half",
472
491
  ]
473
492
 
493
+ [[package]]
494
+ name = "cidr"
495
+ version = "0.3.2"
496
+ source = "registry+https://github.com/rust-lang/crates.io-index"
497
+ checksum = "579504560394e388085d0c080ea587dfa5c15f7e251b4d5247d1e1a61d1d6928"
498
+
474
499
  [[package]]
475
500
  name = "clap"
476
501
  version = "4.6.1"
@@ -1039,6 +1064,12 @@ version = "1.15.0"
1039
1064
  source = "registry+https://github.com/rust-lang/crates.io-index"
1040
1065
  checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
1041
1066
 
1067
+ [[package]]
1068
+ name = "embed-manifest"
1069
+ version = "1.5.0"
1070
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1071
+ checksum = "94cdc65b1cf9e871453ce2f86f5aaec24ff2eaa36a1fa3e02e441dddc3613b99"
1072
+
1042
1073
  [[package]]
1043
1074
  name = "embedded-io"
1044
1075
  version = "0.4.0"
@@ -1174,6 +1205,7 @@ checksum = "8b147ee9d1f6d097cef9ce628cd2ee62288d963e16fb287bd9286455b241382d"
1174
1205
  dependencies = [
1175
1206
  "futures-channel",
1176
1207
  "futures-core",
1208
+ "futures-executor",
1177
1209
  "futures-io",
1178
1210
  "futures-sink",
1179
1211
  "futures-task",
@@ -1196,6 +1228,17 @@ version = "0.3.32"
1196
1228
  source = "registry+https://github.com/rust-lang/crates.io-index"
1197
1229
  checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d"
1198
1230
 
1231
+ [[package]]
1232
+ name = "futures-executor"
1233
+ version = "0.3.32"
1234
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1235
+ checksum = "baf29c38818342a3b26b5b923639e7b1f4a61fc5e76102d4b1981c6dc7a7579d"
1236
+ dependencies = [
1237
+ "futures-core",
1238
+ "futures-task",
1239
+ "futures-util",
1240
+ ]
1241
+
1199
1242
  [[package]]
1200
1243
  name = "futures-io"
1201
1244
  version = "0.3.32"
@@ -1330,6 +1373,19 @@ dependencies = [
1330
1373
  "stable_deref_trait",
1331
1374
  ]
1332
1375
 
1376
+ [[package]]
1377
+ name = "globset"
1378
+ version = "0.4.18"
1379
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1380
+ checksum = "52dfc19153a48bde0cbd630453615c8151bce3a5adfac7a0aebfbf0a1e1f57e3"
1381
+ dependencies = [
1382
+ "aho-corasick",
1383
+ "bstr",
1384
+ "log",
1385
+ "regex-automata",
1386
+ "regex-syntax",
1387
+ ]
1388
+
1333
1389
  [[package]]
1334
1390
  name = "h2"
1335
1391
  version = "0.4.13"
@@ -1349,6 +1405,34 @@ dependencies = [
1349
1405
  "tracing",
1350
1406
  ]
1351
1407
 
1408
+ [[package]]
1409
+ name = "h3"
1410
+ version = "0.0.8"
1411
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1412
+ checksum = "10872b55cfb02a821b69dc7cf8dc6a71d6af25eb9a79662bec4a9d016056b3be"
1413
+ dependencies = [
1414
+ "bytes",
1415
+ "fastrand",
1416
+ "futures-util",
1417
+ "http",
1418
+ "pin-project-lite",
1419
+ "tokio",
1420
+ ]
1421
+
1422
+ [[package]]
1423
+ name = "h3-quinn"
1424
+ version = "0.0.10"
1425
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1426
+ checksum = "8b2e732c8d91a74731663ac8479ab505042fbf547b9a207213ab7fbcbfc4f8b4"
1427
+ dependencies = [
1428
+ "bytes",
1429
+ "futures",
1430
+ "h3",
1431
+ "quinn",
1432
+ "tokio",
1433
+ "tokio-util",
1434
+ ]
1435
+
1352
1436
  [[package]]
1353
1437
  name = "half"
1354
1438
  version = "2.7.1"
@@ -1503,9 +1587,9 @@ dependencies = [
1503
1587
  "http",
1504
1588
  "hyper",
1505
1589
  "hyper-util",
1506
- "rustls 0.23.38",
1590
+ "rustls",
1507
1591
  "tokio",
1508
- "tokio-rustls 0.26.4",
1592
+ "tokio-rustls",
1509
1593
  "tower-service",
1510
1594
  ]
1511
1595
 
@@ -1917,12 +2001,6 @@ version = "1.5.0"
1917
2001
  source = "registry+https://github.com/rust-lang/crates.io-index"
1918
2002
  checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
1919
2003
 
1920
- [[package]]
1921
- name = "leb128"
1922
- version = "0.2.5"
1923
- source = "registry+https://github.com/rust-lang/crates.io-index"
1924
- checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67"
1925
-
1926
2004
  [[package]]
1927
2005
  name = "leb128fmt"
1928
2006
  version = "0.1.0"
@@ -2191,6 +2269,12 @@ dependencies = [
2191
2269
  "windows-link",
2192
2270
  ]
2193
2271
 
2272
+ [[package]]
2273
+ name = "path-clean"
2274
+ version = "1.0.1"
2275
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2276
+ checksum = "17359afc20d7ab31fdb42bb844c8b3bb1dabd7dcf7e68428492da7f16966fcef"
2277
+
2194
2278
  [[package]]
2195
2279
  name = "percent-encoding"
2196
2280
  version = "2.3.2"
@@ -2339,11 +2423,12 @@ checksum = "b9e20a958963c291dc322d98411f541009df2ced7b5a4f2bd52337638cfccf20"
2339
2423
  dependencies = [
2340
2424
  "bytes",
2341
2425
  "cfg_aliases",
2426
+ "futures-io",
2342
2427
  "pin-project-lite",
2343
2428
  "quinn-proto",
2344
2429
  "quinn-udp",
2345
2430
  "rustc-hash",
2346
- "rustls 0.23.38",
2431
+ "rustls",
2347
2432
  "socket2",
2348
2433
  "thiserror 2.0.18",
2349
2434
  "tokio",
@@ -2364,7 +2449,7 @@ dependencies = [
2364
2449
  "rand 0.9.4",
2365
2450
  "ring",
2366
2451
  "rustc-hash",
2367
- "rustls 0.23.38",
2452
+ "rustls",
2368
2453
  "rustls-pki-types",
2369
2454
  "slab",
2370
2455
  "thiserror 2.0.18",
@@ -2609,6 +2694,9 @@ dependencies = [
2609
2694
  "bytes",
2610
2695
  "futures-core",
2611
2696
  "futures-util",
2697
+ "h2",
2698
+ "h3",
2699
+ "h3-quinn",
2612
2700
  "http",
2613
2701
  "http-body",
2614
2702
  "http-body-util",
@@ -2620,7 +2708,7 @@ dependencies = [
2620
2708
  "percent-encoding",
2621
2709
  "pin-project-lite",
2622
2710
  "quinn",
2623
- "rustls 0.23.38",
2711
+ "rustls",
2624
2712
  "rustls-pki-types",
2625
2713
  "rustls-platform-verifier",
2626
2714
  "serde",
@@ -2628,7 +2716,7 @@ dependencies = [
2628
2716
  "serde_urlencoded",
2629
2717
  "sync_wrapper",
2630
2718
  "tokio",
2631
- "tokio-rustls 0.26.4",
2719
+ "tokio-rustls",
2632
2720
  "tokio-util",
2633
2721
  "tower",
2634
2722
  "tower-http",
@@ -2702,20 +2790,6 @@ dependencies = [
2702
2790
  "rustix 1.1.4",
2703
2791
  ]
2704
2792
 
2705
- [[package]]
2706
- name = "rustls"
2707
- version = "0.22.4"
2708
- source = "registry+https://github.com/rust-lang/crates.io-index"
2709
- checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432"
2710
- dependencies = [
2711
- "log",
2712
- "ring",
2713
- "rustls-pki-types",
2714
- "rustls-webpki 0.102.8",
2715
- "subtle",
2716
- "zeroize",
2717
- ]
2718
-
2719
2793
  [[package]]
2720
2794
  name = "rustls"
2721
2795
  version = "0.23.38"
@@ -2725,7 +2799,7 @@ dependencies = [
2725
2799
  "aws-lc-rs",
2726
2800
  "once_cell",
2727
2801
  "rustls-pki-types",
2728
- "rustls-webpki 0.103.12",
2802
+ "rustls-webpki",
2729
2803
  "subtle",
2730
2804
  "zeroize",
2731
2805
  ]
@@ -2763,10 +2837,10 @@ dependencies = [
2763
2837
  "jni",
2764
2838
  "log",
2765
2839
  "once_cell",
2766
- "rustls 0.23.38",
2840
+ "rustls",
2767
2841
  "rustls-native-certs",
2768
2842
  "rustls-platform-verifier-android",
2769
- "rustls-webpki 0.103.12",
2843
+ "rustls-webpki",
2770
2844
  "security-framework",
2771
2845
  "security-framework-sys",
2772
2846
  "webpki-root-certs",
@@ -2779,17 +2853,6 @@ version = "0.1.1"
2779
2853
  source = "registry+https://github.com/rust-lang/crates.io-index"
2780
2854
  checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f"
2781
2855
 
2782
- [[package]]
2783
- name = "rustls-webpki"
2784
- version = "0.102.8"
2785
- source = "registry+https://github.com/rust-lang/crates.io-index"
2786
- checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9"
2787
- dependencies = [
2788
- "ring",
2789
- "rustls-pki-types",
2790
- "untrusted",
2791
- ]
2792
-
2793
2856
  [[package]]
2794
2857
  name = "rustls-webpki"
2795
2858
  version = "0.103.12"
@@ -3369,24 +3432,13 @@ dependencies = [
3369
3432
  "syn",
3370
3433
  ]
3371
3434
 
3372
- [[package]]
3373
- name = "tokio-rustls"
3374
- version = "0.25.0"
3375
- source = "registry+https://github.com/rust-lang/crates.io-index"
3376
- checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f"
3377
- dependencies = [
3378
- "rustls 0.22.4",
3379
- "rustls-pki-types",
3380
- "tokio",
3381
- ]
3382
-
3383
3435
  [[package]]
3384
3436
  name = "tokio-rustls"
3385
3437
  version = "0.26.4"
3386
3438
  source = "registry+https://github.com/rust-lang/crates.io-index"
3387
3439
  checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61"
3388
3440
  dependencies = [
3389
- "rustls 0.23.38",
3441
+ "rustls",
3390
3442
  "tokio",
3391
3443
  ]
3392
3444
 
@@ -4201,7 +4253,6 @@ dependencies = [
4201
4253
  "url",
4202
4254
  "wasmtime",
4203
4255
  "wasmtime-wasi-io",
4204
- "wiggle",
4205
4256
  "windows-sys 0.61.2",
4206
4257
  ]
4207
4258
 
@@ -4218,15 +4269,12 @@ dependencies = [
4218
4269
  "http-body",
4219
4270
  "http-body-util",
4220
4271
  "hyper",
4221
- "rustls 0.22.4",
4222
4272
  "tokio",
4223
- "tokio-rustls 0.25.0",
4224
4273
  "tokio-util",
4225
4274
  "tracing",
4226
4275
  "wasmtime",
4227
4276
  "wasmtime-wasi",
4228
4277
  "wasmtime-wasi-io",
4229
- "webpki-roots 0.26.11",
4230
4278
  ]
4231
4279
 
4232
4280
  [[package]]
@@ -4242,15 +4290,6 @@ dependencies = [
4242
4290
  "wasmtime",
4243
4291
  ]
4244
4292
 
4245
- [[package]]
4246
- name = "wast"
4247
- version = "35.0.2"
4248
- source = "registry+https://github.com/rust-lang/crates.io-index"
4249
- checksum = "2ef140f1b49946586078353a453a1d28ba90adfc54dde75710bc1931de204d68"
4250
- dependencies = [
4251
- "leb128",
4252
- ]
4253
-
4254
4293
  [[package]]
4255
4294
  name = "wast"
4256
4295
  version = "247.0.0"
@@ -4270,7 +4309,7 @@ version = "1.247.0"
4270
4309
  source = "registry+https://github.com/rust-lang/crates.io-index"
4271
4310
  checksum = "f3f4091c56437e86f2b57fa2fac72c4f528957a605b3f44f7c0b3b19a17ac5ee"
4272
4311
  dependencies = [
4273
- "wast 247.0.0",
4312
+ "wast",
4274
4313
  ]
4275
4314
 
4276
4315
  [[package]]
@@ -4302,64 +4341,6 @@ dependencies = [
4302
4341
  "rustls-pki-types",
4303
4342
  ]
4304
4343
 
4305
- [[package]]
4306
- name = "webpki-roots"
4307
- version = "0.26.11"
4308
- source = "registry+https://github.com/rust-lang/crates.io-index"
4309
- checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9"
4310
- dependencies = [
4311
- "webpki-roots 1.0.7",
4312
- ]
4313
-
4314
- [[package]]
4315
- name = "webpki-roots"
4316
- version = "1.0.7"
4317
- source = "registry+https://github.com/rust-lang/crates.io-index"
4318
- checksum = "52f5ee44c96cf55f1b349600768e3ece3a8f26010c05265ab73f945bb1a2eb9d"
4319
- dependencies = [
4320
- "rustls-pki-types",
4321
- ]
4322
-
4323
- [[package]]
4324
- name = "wiggle"
4325
- version = "43.0.1"
4326
- source = "registry+https://github.com/rust-lang/crates.io-index"
4327
- checksum = "cc1b1135efc8e5a008971897bea8d41ca56d8d501d4efb807842ae0a1c78f639"
4328
- dependencies = [
4329
- "bitflags",
4330
- "thiserror 2.0.18",
4331
- "tracing",
4332
- "wasmtime",
4333
- "wasmtime-environ",
4334
- "wiggle-macro",
4335
- ]
4336
-
4337
- [[package]]
4338
- name = "wiggle-generate"
4339
- version = "43.0.1"
4340
- source = "registry+https://github.com/rust-lang/crates.io-index"
4341
- checksum = "a7bc2b0d50ec8773b44fbfe1da6cb5cc44a92deaf8483233dcf0831e6db33172"
4342
- dependencies = [
4343
- "heck",
4344
- "proc-macro2",
4345
- "quote",
4346
- "syn",
4347
- "wasmtime-environ",
4348
- "witx",
4349
- ]
4350
-
4351
- [[package]]
4352
- name = "wiggle-macro"
4353
- version = "43.0.1"
4354
- source = "registry+https://github.com/rust-lang/crates.io-index"
4355
- checksum = "2d6c7d44ea552e1fbfdcd7a2cd83f5c2d1e803d5b1a11e3462c06888b77f455f"
4356
- dependencies = [
4357
- "proc-macro2",
4358
- "quote",
4359
- "syn",
4360
- "wiggle-generate",
4361
- ]
4362
-
4363
4344
  [[package]]
4364
4345
  name = "winapi"
4365
4346
  version = "0.3.9"
@@ -4835,18 +4816,6 @@ dependencies = [
4835
4816
  "wasmparser 0.245.1",
4836
4817
  ]
4837
4818
 
4838
- [[package]]
4839
- name = "witx"
4840
- version = "0.9.1"
4841
- source = "registry+https://github.com/rust-lang/crates.io-index"
4842
- checksum = "e366f27a5cabcddb2706a78296a40b8fcc451e1a6aba2fc1d94b4a01bdaaef4b"
4843
- dependencies = [
4844
- "anyhow",
4845
- "log",
4846
- "thiserror 1.0.69",
4847
- "wast 35.0.2",
4848
- ]
4849
-
4850
4819
  [[package]]
4851
4820
  name = "writeable"
4852
4821
  version = "0.6.3"
@@ -3,7 +3,7 @@ members = ["act-cli"]
3
3
  resolver = "3"
4
4
 
5
5
  [workspace.package]
6
- version = "0.4.0"
6
+ version = "0.5.1"
7
7
  edition = "2024"
8
8
  license = "MIT OR Apache-2.0"
9
9
  repository = "https://github.com/actcore/act-cli"
@@ -11,7 +11,7 @@ homepage = "https://actcore.dev"
11
11
  readme = "README.md"
12
12
 
13
13
  [workspace.dependencies]
14
- act-types = "0.4"
14
+ act-types = "0.5"
15
15
  wasmparser = "0.247.0"
16
16
 
17
17
  [profile.release]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: act-cli
3
- Version: 0.4.0
3
+ Version: 0.5.1
4
4
  Classifier: Development Status :: 4 - Beta
5
5
  Classifier: Environment :: Console
6
6
  Classifier: Intended Audience :: Developers
@@ -9,7 +9,10 @@ homepage.workspace = true
9
9
  keywords = ["act", "wasm", "component-model", "mcp", "agent"]
10
10
  categories = ["command-line-utilities", "wasm"]
11
11
  readme = "README.md"
12
- include = ["src/**", "wit/**"]
12
+ include = ["src/**", "wit/**", "build.rs"]
13
+
14
+ [build-dependencies]
15
+ embed-manifest = "1.4"
13
16
 
14
17
  [[bin]]
15
18
  name = "act"
@@ -34,7 +37,7 @@ dirs = "6"
34
37
  futures-util = "0.3"
35
38
  indicatif = "0.18.4"
36
39
  regex = "1"
37
- reqwest = { version = "0.13.2", default-features = false, features = ["rustls", "stream"] }
40
+ reqwest = { version = "0.13.2", default-features = false, features = ["rustls", "stream", "http2", "http3"] }
38
41
  oci-client = "0.16"
39
42
  sha2 = "0.11.0"
40
43
  tar = "0.4"
@@ -42,8 +45,15 @@ url = "2"
42
45
  shellexpand = "3"
43
46
  wasmparser.workspace = true
44
47
  wasmtime = { version = "43", features = ["component-model", "component-model-async"] }
45
- wasmtime-wasi = { version = "43", features = ["p3"] }
46
- wasmtime-wasi-http = { version = "43", features = ["p3"] }
48
+ wasmtime-wasi = { version = "43", default-features = false, features = ["p2", "p3"] }
49
+ wasmtime-wasi-http = { version = "43", default-features = false, features = ["p2", "p3"] }
50
+ http = "1"
51
+ http-body-util = "0.1"
52
+ hyper = "1"
53
+ bytes = "1"
54
+ cidr = "0.3"
55
+ globset = "0.4"
56
+ path-clean = "1"
47
57
 
48
58
  [dev-dependencies]
49
59
  tempfile = "3"
@@ -0,0 +1,16 @@
1
+ // Embed a Windows application manifest declaring long-path awareness. This
2
+ // lets act.exe open paths > MAX_PATH (260 chars) without requiring UNC
3
+ // (`\\?\...`) prefixes in user input. Requires Windows 10 1607+ with the
4
+ // `LongPathsEnabled` registry flag set at HKLM\SYSTEM\CurrentControlSet\
5
+ // Control\FileSystem. No-op on non-Windows targets.
6
+
7
+ fn main() {
8
+ if std::env::var_os("CARGO_CFG_WINDOWS").is_some() {
9
+ use embed_manifest::manifest::Setting;
10
+ embed_manifest::embed_manifest(
11
+ embed_manifest::new_manifest("ACTCore.ACT").long_path_aware(Setting::Enabled),
12
+ )
13
+ .expect("failed to embed Windows manifest");
14
+ }
15
+ println!("cargo:rerun-if-changed=build.rs");
16
+ }