wreq 1.3.1 → 1.3.3

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 (37) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +495 -57
  3. data/Cargo.toml +18 -6
  4. data/README.md +1 -1
  5. data/crates/wreq-util/CHANGELOG.md +1 -0
  6. data/crates/wreq-util/Cargo.toml +3 -1
  7. data/crates/wreq-util/README.md +4 -2
  8. data/crates/wreq-util/examples/emulate.rs +7 -3
  9. data/crates/wreq-util/examples/tower_delay.rs +4 -4
  10. data/crates/wreq-util/src/emulate/macros.rs +0 -1
  11. data/crates/wreq-util/src/emulate/profile/chrome/http2.rs +3 -3
  12. data/crates/wreq-util/src/emulate/profile/chrome/tls.rs +17 -39
  13. data/crates/wreq-util/src/emulate/profile/chrome.rs +71 -0
  14. data/crates/wreq-util/src/emulate/profile/firefox/http2.rs +11 -11
  15. data/crates/wreq-util/src/emulate/profile/firefox/tls.rs +9 -14
  16. data/crates/wreq-util/src/emulate/profile/okhttp.rs +9 -15
  17. data/crates/wreq-util/src/emulate/profile/opera/http2.rs +3 -3
  18. data/crates/wreq-util/src/emulate/profile/opera/tls.rs +11 -5
  19. data/crates/wreq-util/src/emulate/profile/safari/tls.rs +14 -15
  20. data/crates/wreq-util/src/emulate/profile.rs +7 -9
  21. data/crates/wreq-util/src/emulate.rs +3 -1
  22. data/crates/wreq-util/src/tower/delay/layer.rs +5 -5
  23. data/crates/wreq-util/src/tower/delay.rs +4 -4
  24. data/crates/wreq-util/tests/client.rs +7 -3
  25. data/crates/wreq-util/tests/emulate_chrome.rs +20 -0
  26. data/crates/wreq-util/tests/emulate_firefox.rs +26 -21
  27. data/crates/wreq-util/tests/emulate_safari.rs +1 -1
  28. data/crates/wreq-util/tests/support/mod.rs +16 -13
  29. data/lib/wreq.rb +9 -9
  30. data/lib/wreq_ruby/client.rb +39 -25
  31. data/lib/wreq_ruby/emulate.rb +7 -2
  32. data/lib/wreq_ruby/http.rb +9 -2
  33. data/src/client.rs +8 -4
  34. data/src/emulate.rs +2 -0
  35. data/test/emulation_test.rb +3 -1
  36. data/test/option_validation_test.rb +13 -4
  37. metadata +1 -1
data/Cargo.lock CHANGED
@@ -32,12 +32,6 @@ dependencies = [
32
32
  "alloc-no-stdlib",
33
33
  ]
34
34
 
35
- [[package]]
36
- name = "allocator-api2"
37
- version = "0.2.21"
38
- source = "registry+https://github.com/rust-lang/crates.io-index"
39
- checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923"
40
-
41
35
  [[package]]
42
36
  name = "arc-swap"
43
37
  version = "1.9.2"
@@ -83,6 +77,23 @@ dependencies = [
83
77
  "syn 2.0.119",
84
78
  ]
85
79
 
80
+ [[package]]
81
+ name = "bindgen"
82
+ version = "0.73.2"
83
+ source = "registry+https://github.com/rust-lang/crates.io-index"
84
+ checksum = "787ef8ef523575546b106a58213d6e6b06198a05c2f757258c68a74273670cfa"
85
+ dependencies = [
86
+ "bitflags",
87
+ "cexpr",
88
+ "clang-sys",
89
+ "proc-macro2",
90
+ "quote",
91
+ "regex",
92
+ "rustc-hash",
93
+ "shlex 2.0.1",
94
+ "syn 2.0.119",
95
+ ]
96
+
86
97
  [[package]]
87
98
  name = "bitflags"
88
99
  version = "2.13.1"
@@ -113,7 +124,7 @@ dependencies = [
113
124
  [[package]]
114
125
  name = "btls"
115
126
  version = "0.5.6"
116
- source = "git+https://github.com/0x676e67/btls?rev=de7ab84fdb58641a2bdfdf9d8ebd7db1dcf4b29b#de7ab84fdb58641a2bdfdf9d8ebd7db1dcf4b29b"
127
+ source = "git+https://github.com/0x676e67/btls?rev=5ec1c113a03626a5877b34dd6d2ea8d440897a91#5ec1c113a03626a5877b34dd6d2ea8d440897a91"
117
128
  dependencies = [
118
129
  "bitflags",
119
130
  "btls-sys",
@@ -125,14 +136,20 @@ dependencies = [
125
136
  [[package]]
126
137
  name = "btls-sys"
127
138
  version = "0.5.6"
128
- source = "git+https://github.com/0x676e67/btls?rev=de7ab84fdb58641a2bdfdf9d8ebd7db1dcf4b29b#de7ab84fdb58641a2bdfdf9d8ebd7db1dcf4b29b"
139
+ source = "git+https://github.com/0x676e67/btls?rev=5ec1c113a03626a5877b34dd6d2ea8d440897a91#5ec1c113a03626a5877b34dd6d2ea8d440897a91"
129
140
  dependencies = [
130
- "bindgen",
141
+ "bindgen 0.73.2",
131
142
  "cmake",
132
143
  "fs_extra",
133
144
  "fslock",
134
145
  ]
135
146
 
147
+ [[package]]
148
+ name = "bumpalo"
149
+ version = "3.20.3"
150
+ source = "registry+https://github.com/rust-lang/crates.io-index"
151
+ checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
152
+
136
153
  [[package]]
137
154
  name = "bytes"
138
155
  version = "1.12.1"
@@ -166,6 +183,23 @@ version = "1.0.4"
166
183
  source = "registry+https://github.com/rust-lang/crates.io-index"
167
184
  checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
168
185
 
186
+ [[package]]
187
+ name = "cfg_aliases"
188
+ version = "0.2.2"
189
+ source = "registry+https://github.com/rust-lang/crates.io-index"
190
+ checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527"
191
+
192
+ [[package]]
193
+ name = "chacha20"
194
+ version = "0.10.2"
195
+ source = "registry+https://github.com/rust-lang/crates.io-index"
196
+ checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06"
197
+ dependencies = [
198
+ "cfg-if",
199
+ "cpufeatures",
200
+ "rand_core",
201
+ ]
202
+
169
203
  [[package]]
170
204
  name = "chromium-roots"
171
205
  version = "0.1.1"
@@ -225,6 +259,15 @@ dependencies = [
225
259
  "version_check",
226
260
  ]
227
261
 
262
+ [[package]]
263
+ name = "cpufeatures"
264
+ version = "0.3.1"
265
+ source = "registry+https://github.com/rust-lang/crates.io-index"
266
+ checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566"
267
+ dependencies = [
268
+ "libc",
269
+ ]
270
+
228
271
  [[package]]
229
272
  name = "crc32fast"
230
273
  version = "1.5.0"
@@ -240,6 +283,32 @@ version = "0.5.8"
240
283
  source = "registry+https://github.com/rust-lang/crates.io-index"
241
284
  checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c"
242
285
 
286
+ [[package]]
287
+ name = "derive-deftly"
288
+ version = "1.14.0"
289
+ source = "registry+https://github.com/rust-lang/crates.io-index"
290
+ checksum = "724949bdda5310709ca2f97bf69c2b01e3362f44fef1fb47913445db4c1debb5"
291
+ dependencies = [
292
+ "derive-deftly-macros",
293
+ ]
294
+
295
+ [[package]]
296
+ name = "derive-deftly-macros"
297
+ version = "1.14.0"
298
+ source = "registry+https://github.com/rust-lang/crates.io-index"
299
+ checksum = "17933e749f2502cfcd1c27519292fbbea22e8fc64ce680e863f855e8cd8cce23"
300
+ dependencies = [
301
+ "indexmap",
302
+ "itertools",
303
+ "proc-macro-crate",
304
+ "proc-macro2",
305
+ "quote",
306
+ "strum",
307
+ "syn 2.0.119",
308
+ "unicode-ident",
309
+ "void",
310
+ ]
311
+
243
312
  [[package]]
244
313
  name = "displaydoc"
245
314
  version = "0.2.7"
@@ -251,6 +320,18 @@ dependencies = [
251
320
  "syn 3.0.3",
252
321
  ]
253
322
 
323
+ [[package]]
324
+ name = "educe"
325
+ version = "0.7.6"
326
+ source = "registry+https://github.com/rust-lang/crates.io-index"
327
+ checksum = "e451fac8dd8dece16234604bf1efce6e90fddd8ab6ad4d66eec0eca5160959dd"
328
+ dependencies = [
329
+ "enum-ordinalize",
330
+ "proc-macro2",
331
+ "quote",
332
+ "syn 3.0.3",
333
+ ]
334
+
254
335
  [[package]]
255
336
  name = "either"
256
337
  version = "1.17.0"
@@ -266,6 +347,26 @@ dependencies = [
266
347
  "cfg-if",
267
348
  ]
268
349
 
350
+ [[package]]
351
+ name = "enum-ordinalize"
352
+ version = "4.4.2"
353
+ source = "registry+https://github.com/rust-lang/crates.io-index"
354
+ checksum = "89dd01549b09589510cf0647475075d12071456586d70f5c75c98ae2a5537677"
355
+ dependencies = [
356
+ "enum-ordinalize-derive",
357
+ ]
358
+
359
+ [[package]]
360
+ name = "enum-ordinalize-derive"
361
+ version = "4.4.2"
362
+ source = "registry+https://github.com/rust-lang/crates.io-index"
363
+ checksum = "a65863d15a4ce2888bd2f0f543cc963d3879c3a022c8ee43f6141d479a3ac815"
364
+ dependencies = [
365
+ "proc-macro2",
366
+ "quote",
367
+ "syn 3.0.3",
368
+ ]
369
+
269
370
  [[package]]
270
371
  name = "equivalent"
271
372
  version = "1.0.2"
@@ -282,6 +383,12 @@ dependencies = [
282
383
  "windows-sys",
283
384
  ]
284
385
 
386
+ [[package]]
387
+ name = "fastrand"
388
+ version = "2.5.0"
389
+ source = "registry+https://github.com/rust-lang/crates.io-index"
390
+ checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223"
391
+
285
392
  [[package]]
286
393
  name = "find-msvc-tools"
287
394
  version = "0.1.11"
@@ -386,6 +493,12 @@ version = "0.3.34"
386
493
  source = "registry+https://github.com/rust-lang/crates.io-index"
387
494
  checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e"
388
495
 
496
+ [[package]]
497
+ name = "futures-io"
498
+ version = "0.3.34"
499
+ source = "registry+https://github.com/rust-lang/crates.io-index"
500
+ checksum = "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed"
501
+
389
502
  [[package]]
390
503
  name = "futures-sink"
391
504
  version = "0.3.34"
@@ -405,7 +518,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
405
518
  checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc"
406
519
  dependencies = [
407
520
  "futures-core",
521
+ "futures-io",
408
522
  "futures-task",
523
+ "memchr",
409
524
  "pin-project-lite",
410
525
  "slab",
411
526
  ]
@@ -417,8 +532,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
417
532
  checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
418
533
  dependencies = [
419
534
  "cfg-if",
535
+ "js-sys",
420
536
  "libc",
421
537
  "r-efi",
538
+ "rand_core",
539
+ "wasm-bindgen",
422
540
  ]
423
541
 
424
542
  [[package]]
@@ -433,11 +551,15 @@ version = "0.17.1"
433
551
  source = "registry+https://github.com/rust-lang/crates.io-index"
434
552
  checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
435
553
  dependencies = [
436
- "allocator-api2",
437
- "equivalent",
438
554
  "foldhash",
439
555
  ]
440
556
 
557
+ [[package]]
558
+ name = "heck"
559
+ version = "0.5.0"
560
+ source = "registry+https://github.com/rust-lang/crates.io-index"
561
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
562
+
441
563
  [[package]]
442
564
  name = "http"
443
565
  version = "1.5.0"
@@ -474,7 +596,7 @@ dependencies = [
474
596
  [[package]]
475
597
  name = "http2"
476
598
  version = "0.5.20"
477
- source = "git+https://github.com/0x676e67/http2?rev=b413a92b2e1fe7e2ea1b7be78e75b872386fdfa0#b413a92b2e1fe7e2ea1b7be78e75b872386fdfa0"
599
+ source = "git+https://github.com/0x676e67/http2?rev=ce505e52ce9c25fb055412cb39b1caaa7a1f70a8#ce505e52ce9c25fb055412cb39b1caaa7a1f70a8"
478
600
  dependencies = [
479
601
  "atomic-waker",
480
602
  "bytes",
@@ -489,6 +611,40 @@ dependencies = [
489
611
  "tokio-util",
490
612
  ]
491
613
 
614
+ [[package]]
615
+ name = "http3"
616
+ version = "0.2.0"
617
+ source = "git+https://github.com/0x676e67/http3?rev=5bd394f3dfb8bc63591627a229c34c02caadc3af#5bd394f3dfb8bc63591627a229c34c02caadc3af"
618
+ dependencies = [
619
+ "bytes",
620
+ "fastrand",
621
+ "futures-util",
622
+ "http",
623
+ "pin-project-lite",
624
+ "smallvec",
625
+ "tokio",
626
+ ]
627
+
628
+ [[package]]
629
+ name = "http3-datagram"
630
+ version = "0.2.0"
631
+ source = "git+https://github.com/0x676e67/http3?rev=5bd394f3dfb8bc63591627a229c34c02caadc3af#5bd394f3dfb8bc63591627a229c34c02caadc3af"
632
+ dependencies = [
633
+ "bytes",
634
+ "http3",
635
+ ]
636
+
637
+ [[package]]
638
+ name = "http3-quic"
639
+ version = "0.2.0"
640
+ source = "git+https://github.com/0x676e67/http3?rev=5bd394f3dfb8bc63591627a229c34c02caadc3af#5bd394f3dfb8bc63591627a229c34c02caadc3af"
641
+ dependencies = [
642
+ "bytes",
643
+ "futures-util",
644
+ "http3",
645
+ "quic",
646
+ ]
647
+
492
648
  [[package]]
493
649
  name = "httparse"
494
650
  version = "1.10.1"
@@ -642,6 +798,17 @@ dependencies = [
642
798
  "libc",
643
799
  ]
644
800
 
801
+ [[package]]
802
+ name = "js-sys"
803
+ version = "0.3.107"
804
+ source = "registry+https://github.com/rust-lang/crates.io-index"
805
+ checksum = "8dc09d2154098bbf4ef54eab6b117a3c24cbbffe94046b16ee6d6d4510584d3a"
806
+ dependencies = [
807
+ "cfg-if",
808
+ "futures-util",
809
+ "wasm-bindgen",
810
+ ]
811
+
645
812
  [[package]]
646
813
  name = "lazy_static"
647
814
  version = "1.5.0"
@@ -681,13 +848,19 @@ dependencies = [
681
848
 
682
849
  [[package]]
683
850
  name = "lru"
684
- version = "0.18.2"
851
+ version = "0.19.0"
685
852
  source = "registry+https://github.com/rust-lang/crates.io-index"
686
- checksum = "5d2f2f9b4ba7e6b24d95e7e899329d35be83bcded72c8540cdd5368932d1d90a"
853
+ checksum = "4a9f71e3591c7ec44d3e563e87bf14ddc2bada8519dca046e5b0e560cd004e2d"
687
854
  dependencies = [
688
855
  "hashbrown",
689
856
  ]
690
857
 
858
+ [[package]]
859
+ name = "lru-slab"
860
+ version = "0.1.3"
861
+ source = "registry+https://github.com/rust-lang/crates.io-index"
862
+ checksum = "4050469837a6ff301cd14c1f8f24f88549e6d548f24f64e2148eb0f72cebc51f"
863
+
691
864
  [[package]]
692
865
  name = "magnus"
693
866
  version = "0.8.2"
@@ -751,6 +924,30 @@ dependencies = [
751
924
  "windows-sys",
752
925
  ]
753
926
 
927
+ [[package]]
928
+ name = "netty"
929
+ version = "0.2.5"
930
+ source = "git+https://github.com/0x676e67/netty?rev=0e1e53c0d9e500b253361cf6997559c44d7717b5#0e1e53c0d9e500b253361cf6997559c44d7717b5"
931
+ dependencies = [
932
+ "bytes",
933
+ "futures-channel",
934
+ "futures-util",
935
+ "http",
936
+ "http-body",
937
+ "http-body-util",
938
+ "http2",
939
+ "http3",
940
+ "http3-datagram",
941
+ "httparse",
942
+ "pin-project-lite",
943
+ "smallvec",
944
+ "tokio",
945
+ "tokio-socks",
946
+ "tokio-util",
947
+ "tower-service",
948
+ "want",
949
+ ]
950
+
754
951
  [[package]]
755
952
  name = "nom"
756
953
  version = "7.1.3"
@@ -767,6 +964,12 @@ version = "0.2.2"
767
964
  source = "registry+https://github.com/rust-lang/crates.io-index"
768
965
  checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441"
769
966
 
967
+ [[package]]
968
+ name = "once_cell"
969
+ version = "1.21.4"
970
+ source = "registry+https://github.com/rust-lang/crates.io-index"
971
+ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
972
+
770
973
  [[package]]
771
974
  name = "openssl-macros"
772
975
  version = "0.1.1"
@@ -834,6 +1037,15 @@ version = "0.2.0"
834
1037
  source = "registry+https://github.com/rust-lang/crates.io-index"
835
1038
  checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
836
1039
 
1040
+ [[package]]
1041
+ name = "proc-macro-crate"
1042
+ version = "3.5.0"
1043
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1044
+ checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f"
1045
+ dependencies = [
1046
+ "toml_edit",
1047
+ ]
1048
+
837
1049
  [[package]]
838
1050
  name = "proc-macro2"
839
1051
  version = "1.0.107"
@@ -843,6 +1055,62 @@ dependencies = [
843
1055
  "unicode-ident",
844
1056
  ]
845
1057
 
1058
+ [[package]]
1059
+ name = "quic"
1060
+ version = "0.12.2"
1061
+ source = "git+https://github.com/0x676e67/quic?rev=b3d74044e874c5e785f462e3032faaf021cb6958#b3d74044e874c5e785f462e3032faaf021cb6958"
1062
+ dependencies = [
1063
+ "bytes",
1064
+ "cfg_aliases",
1065
+ "futures-io",
1066
+ "libc",
1067
+ "pin-project-lite",
1068
+ "quic-proto",
1069
+ "quinn-udp",
1070
+ "rustc-hash",
1071
+ "socket2",
1072
+ "thiserror 2.0.21",
1073
+ "tokio",
1074
+ "tracing",
1075
+ "web-time",
1076
+ "windows-sys",
1077
+ ]
1078
+
1079
+ [[package]]
1080
+ name = "quic-proto"
1081
+ version = "0.12.2"
1082
+ source = "git+https://github.com/0x676e67/quic?rev=b3d74044e874c5e785f462e3032faaf021cb6958#b3d74044e874c5e785f462e3032faaf021cb6958"
1083
+ dependencies = [
1084
+ "btls",
1085
+ "bytes",
1086
+ "getrandom",
1087
+ "lru",
1088
+ "lru-slab",
1089
+ "rand",
1090
+ "rand_pcg",
1091
+ "rustc-hash",
1092
+ "rustls-pki-types",
1093
+ "slab",
1094
+ "thiserror 2.0.21",
1095
+ "tinyvec",
1096
+ "tracing",
1097
+ "web-time",
1098
+ "zeroize",
1099
+ ]
1100
+
1101
+ [[package]]
1102
+ name = "quinn-udp"
1103
+ version = "0.6.3"
1104
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1105
+ checksum = "47091c86514c2e11452cb228dee77037334b99d92a23e4c69aa5982261f39247"
1106
+ dependencies = [
1107
+ "cfg_aliases",
1108
+ "libc",
1109
+ "socket2",
1110
+ "tracing",
1111
+ "windows-sys",
1112
+ ]
1113
+
846
1114
  [[package]]
847
1115
  name = "quote"
848
1116
  version = "1.0.47"
@@ -858,6 +1126,32 @@ version = "6.0.0"
858
1126
  source = "registry+https://github.com/rust-lang/crates.io-index"
859
1127
  checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
860
1128
 
1129
+ [[package]]
1130
+ name = "rand"
1131
+ version = "0.10.3"
1132
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1133
+ checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af"
1134
+ dependencies = [
1135
+ "chacha20",
1136
+ "getrandom",
1137
+ "rand_core",
1138
+ ]
1139
+
1140
+ [[package]]
1141
+ name = "rand_core"
1142
+ version = "0.10.1"
1143
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1144
+ checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69"
1145
+
1146
+ [[package]]
1147
+ name = "rand_pcg"
1148
+ version = "0.10.2"
1149
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1150
+ checksum = "caa0f4137e1c0a72f4c651489402276c8e8e1cf081f3b0ba156d2cbeef09e86a"
1151
+ dependencies = [
1152
+ "rand_core",
1153
+ ]
1154
+
861
1155
  [[package]]
862
1156
  name = "rb-sys"
863
1157
  version = "0.9.128"
@@ -873,7 +1167,7 @@ version = "0.9.128"
873
1167
  source = "registry+https://github.com/rust-lang/crates.io-index"
874
1168
  checksum = "ce04b2c55eff3a21aaa623fcc655d94373238e72cac6b3e1a3641ff31649f99a"
875
1169
  dependencies = [
876
- "bindgen",
1170
+ "bindgen 0.72.1",
877
1171
  "lazy_static",
878
1172
  "proc-macro2",
879
1173
  "quote",
@@ -937,6 +1231,10 @@ name = "rustls-pki-types"
937
1231
  version = "1.15.1"
938
1232
  source = "registry+https://github.com/rust-lang/crates.io-index"
939
1233
  checksum = "2f4925028c7eb5d1fcdaf196971378ed9d2c1c4efc7dc5d011256f76c99c0a96"
1234
+ dependencies = [
1235
+ "web-time",
1236
+ "zeroize",
1237
+ ]
940
1238
 
941
1239
  [[package]]
942
1240
  name = "rustversion"
@@ -1096,6 +1394,27 @@ version = "1.2.1"
1096
1394
  source = "registry+https://github.com/rust-lang/crates.io-index"
1097
1395
  checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
1098
1396
 
1397
+ [[package]]
1398
+ name = "strum"
1399
+ version = "0.28.0"
1400
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1401
+ checksum = "9628de9b8791db39ceda2b119bbe13134770b56c138ec1d3af810d045c04f9bd"
1402
+ dependencies = [
1403
+ "strum_macros",
1404
+ ]
1405
+
1406
+ [[package]]
1407
+ name = "strum_macros"
1408
+ version = "0.28.0"
1409
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1410
+ checksum = "ab85eea0270ee17587ed4156089e10b9e6880ee688791d45a905f5b1ca36f664"
1411
+ dependencies = [
1412
+ "heck",
1413
+ "proc-macro2",
1414
+ "quote",
1415
+ "syn 2.0.119",
1416
+ ]
1417
+
1099
1418
  [[package]]
1100
1419
  name = "syn"
1101
1420
  version = "2.0.119"
@@ -1144,7 +1463,16 @@ version = "1.0.69"
1144
1463
  source = "registry+https://github.com/rust-lang/crates.io-index"
1145
1464
  checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
1146
1465
  dependencies = [
1147
- "thiserror-impl",
1466
+ "thiserror-impl 1.0.69",
1467
+ ]
1468
+
1469
+ [[package]]
1470
+ name = "thiserror"
1471
+ version = "2.0.21"
1472
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1473
+ checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e"
1474
+ dependencies = [
1475
+ "thiserror-impl 2.0.21",
1148
1476
  ]
1149
1477
 
1150
1478
  [[package]]
@@ -1158,6 +1486,17 @@ dependencies = [
1158
1486
  "syn 2.0.119",
1159
1487
  ]
1160
1488
 
1489
+ [[package]]
1490
+ name = "thiserror-impl"
1491
+ version = "2.0.21"
1492
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1493
+ checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"
1494
+ dependencies = [
1495
+ "proc-macro2",
1496
+ "quote",
1497
+ "syn 3.0.3",
1498
+ ]
1499
+
1161
1500
  [[package]]
1162
1501
  name = "time"
1163
1502
  version = "0.3.55"
@@ -1198,6 +1537,12 @@ dependencies = [
1198
1537
  "zerovec",
1199
1538
  ]
1200
1539
 
1540
+ [[package]]
1541
+ name = "tinyvec"
1542
+ version = "1.13.3"
1543
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1544
+ checksum = "fd3ca314f692efd6c868f8408f53fe444634a845f96c028b97d35f6a1f79f0ee"
1545
+
1201
1546
  [[package]]
1202
1547
  name = "tokio"
1203
1548
  version = "1.53.1"
@@ -1218,10 +1563,10 @@ dependencies = [
1218
1563
  [[package]]
1219
1564
  name = "tokio-btls"
1220
1565
  version = "0.5.6"
1221
- source = "registry+https://github.com/rust-lang/crates.io-index"
1222
- checksum = "2e1fd638ec35427faf3b8f412e0fdd6fae76591d79dba40f38fa667d22bc44dd"
1566
+ source = "git+https://github.com/0x676e67/btls?rev=5ec1c113a03626a5877b34dd6d2ea8d440897a91#5ec1c113a03626a5877b34dd6d2ea8d440897a91"
1223
1567
  dependencies = [
1224
1568
  "btls",
1569
+ "btls-sys",
1225
1570
  "tokio",
1226
1571
  ]
1227
1572
 
@@ -1244,8 +1589,7 @@ checksum = "a7e2948f60dbe26b35f2c7fb74ac2854c1fddded0fe9d7548fcc674a246f7615"
1244
1589
  dependencies = [
1245
1590
  "either",
1246
1591
  "futures-util",
1247
- "thiserror",
1248
- "tokio",
1592
+ "thiserror 1.0.69",
1249
1593
  ]
1250
1594
 
1251
1595
  [[package]]
@@ -1262,6 +1606,36 @@ dependencies = [
1262
1606
  "tokio",
1263
1607
  ]
1264
1608
 
1609
+ [[package]]
1610
+ name = "toml_datetime"
1611
+ version = "1.1.3+spec-1.1.0"
1612
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1613
+ checksum = "173f25c883cd2176a2d8212155638c0a60d484a9d84546d270866f40f56b6e49"
1614
+ dependencies = [
1615
+ "serde_core",
1616
+ ]
1617
+
1618
+ [[package]]
1619
+ name = "toml_edit"
1620
+ version = "0.25.19+spec-1.1.0"
1621
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1622
+ checksum = "dd43688c4858d7264ae1cf9a9f874a67c3feb74a883b1cd7bebd6a4ea8307218"
1623
+ dependencies = [
1624
+ "indexmap",
1625
+ "toml_datetime",
1626
+ "toml_parser",
1627
+ "winnow",
1628
+ ]
1629
+
1630
+ [[package]]
1631
+ name = "toml_parser"
1632
+ version = "1.1.5+spec-1.1.0"
1633
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1634
+ checksum = "baa693a8032d7e1cada7d0041e96126df243179ff061456783ac7f12bda4744c"
1635
+ dependencies = [
1636
+ "winnow",
1637
+ ]
1638
+
1265
1639
  [[package]]
1266
1640
  name = "tower"
1267
1641
  version = "0.5.3"
@@ -1310,6 +1684,25 @@ version = "0.3.3"
1310
1684
  source = "registry+https://github.com/rust-lang/crates.io-index"
1311
1685
  checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3"
1312
1686
 
1687
+ [[package]]
1688
+ name = "tracing"
1689
+ version = "0.1.44"
1690
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1691
+ checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100"
1692
+ dependencies = [
1693
+ "pin-project-lite",
1694
+ "tracing-core",
1695
+ ]
1696
+
1697
+ [[package]]
1698
+ name = "tracing-core"
1699
+ version = "0.1.36"
1700
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1701
+ checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a"
1702
+ dependencies = [
1703
+ "once_cell",
1704
+ ]
1705
+
1313
1706
  [[package]]
1314
1707
  name = "try-lock"
1315
1708
  version = "0.2.5"
@@ -1366,6 +1759,12 @@ version = "0.9.5"
1366
1759
  source = "registry+https://github.com/rust-lang/crates.io-index"
1367
1760
  checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
1368
1761
 
1762
+ [[package]]
1763
+ name = "void"
1764
+ version = "1.0.2"
1765
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1766
+ checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d"
1767
+
1369
1768
  [[package]]
1370
1769
  name = "want"
1371
1770
  version = "0.3.1"
@@ -1381,6 +1780,60 @@ version = "0.11.1+wasi-snapshot-preview1"
1381
1780
  source = "registry+https://github.com/rust-lang/crates.io-index"
1382
1781
  checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
1383
1782
 
1783
+ [[package]]
1784
+ name = "wasm-bindgen"
1785
+ version = "0.2.130"
1786
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1787
+ checksum = "a0181c14ddd6c7b8b0b0132a5f1ea2f32be0d893cd3ea97b6e3b28886b8a3d1c"
1788
+ dependencies = [
1789
+ "cfg-if",
1790
+ "rustversion",
1791
+ "wasm-bindgen-macro",
1792
+ "wasm-bindgen-shared",
1793
+ ]
1794
+
1795
+ [[package]]
1796
+ name = "wasm-bindgen-macro"
1797
+ version = "0.2.130"
1798
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1799
+ checksum = "6e931a02a39abdbf66966fc35902b5ed58344750a70885bed4ebb3d8eaf28ed9"
1800
+ dependencies = [
1801
+ "quote",
1802
+ "wasm-bindgen-macro-support",
1803
+ ]
1804
+
1805
+ [[package]]
1806
+ name = "wasm-bindgen-macro-support"
1807
+ version = "0.2.130"
1808
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1809
+ checksum = "2ca4b54280e455bd831e33a6b8e734baf432fe63fbc35c42ac14ce67a043a53a"
1810
+ dependencies = [
1811
+ "bumpalo",
1812
+ "proc-macro2",
1813
+ "quote",
1814
+ "syn 3.0.3",
1815
+ "wasm-bindgen-shared",
1816
+ ]
1817
+
1818
+ [[package]]
1819
+ name = "wasm-bindgen-shared"
1820
+ version = "0.2.130"
1821
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1822
+ checksum = "3b1f9c3798725016c6ee5f2f57869ec0831e8bbc0ab0310a86e787e97f41389e"
1823
+ dependencies = [
1824
+ "unicode-ident",
1825
+ ]
1826
+
1827
+ [[package]]
1828
+ name = "web-time"
1829
+ version = "1.1.0"
1830
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1831
+ checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb"
1832
+ dependencies = [
1833
+ "js-sys",
1834
+ "wasm-bindgen",
1835
+ ]
1836
+
1384
1837
  [[package]]
1385
1838
  name = "winapi"
1386
1839
  version = "0.3.9"
@@ -1418,29 +1871,42 @@ dependencies = [
1418
1871
  "windows-link",
1419
1872
  ]
1420
1873
 
1874
+ [[package]]
1875
+ name = "winnow"
1876
+ version = "1.0.5"
1877
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1878
+ checksum = "8c3b93199df0ab874cdf0c6a94f0a0dc3423fe41f1cafb62b8bd7b1deb277aef"
1879
+ dependencies = [
1880
+ "memchr",
1881
+ ]
1882
+
1421
1883
  [[package]]
1422
1884
  name = "wreq"
1423
1885
  version = "0.16.1"
1424
- source = "git+https://github.com/0x676e67/wreq?rev=abd421d16dd48b3c2d7fb812f185eec3c6ec3132#abd421d16dd48b3c2d7fb812f185eec3c6ec3132"
1886
+ source = "git+https://github.com/0x676e67/wreq?rev=10029bb86ff88d8ed88b8e10518fe6e1f7ff322c#10029bb86ff88d8ed88b8e10518fe6e1f7ff322c"
1425
1887
  dependencies = [
1426
1888
  "btls",
1427
1889
  "btls-sys",
1428
1890
  "bytes",
1429
1891
  "chromium-roots",
1430
1892
  "cookie",
1893
+ "derive-deftly",
1894
+ "educe",
1431
1895
  "encoding_rs",
1432
1896
  "futures-util",
1433
1897
  "http",
1434
1898
  "http-body",
1435
1899
  "http-body-util",
1436
1900
  "http2",
1437
- "httparse",
1901
+ "http3-quic",
1438
1902
  "ipnet",
1439
1903
  "libc",
1440
1904
  "lru",
1441
1905
  "mime",
1906
+ "netty",
1442
1907
  "percent-encoding",
1443
1908
  "pin-project-lite",
1909
+ "quic",
1444
1910
  "serde",
1445
1911
  "serde_html_form",
1446
1912
  "serde_json",
@@ -1448,49 +1914,15 @@ dependencies = [
1448
1914
  "sync_wrapper",
1449
1915
  "tokio",
1450
1916
  "tokio-btls",
1451
- "tokio-socks",
1452
1917
  "tokio-util",
1453
1918
  "tower",
1454
1919
  "tower-http",
1455
1920
  "url",
1456
- "wreq-proto",
1457
- "wreq-rt",
1458
- ]
1459
-
1460
- [[package]]
1461
- name = "wreq-proto"
1462
- version = "0.2.5"
1463
- source = "registry+https://github.com/rust-lang/crates.io-index"
1464
- checksum = "a43942f024bb303f1042c9aa3c87fa1d9149f507c65db6e5220a11ccdb207387"
1465
- dependencies = [
1466
- "bytes",
1467
- "futures-channel",
1468
- "futures-util",
1469
- "http",
1470
- "http-body",
1471
- "http2",
1472
- "httparse",
1473
- "pin-project-lite",
1474
- "smallvec",
1475
- "tokio",
1476
- "tokio-util",
1477
- "want",
1478
- ]
1479
-
1480
- [[package]]
1481
- name = "wreq-rt"
1482
- version = "0.2.2-rc.4"
1483
- source = "registry+https://github.com/rust-lang/crates.io-index"
1484
- checksum = "99e9bce67a3fa3dd3f1503f066d86661c9caf399a763d3bd184da7afaf886c8b"
1485
- dependencies = [
1486
- "pin-project-lite",
1487
- "tokio",
1488
- "wreq-proto",
1489
1921
  ]
1490
1922
 
1491
1923
  [[package]]
1492
1924
  name = "wreq-ruby"
1493
- version = "1.3.1"
1925
+ version = "1.3.3"
1494
1926
  dependencies = [
1495
1927
  "arc-swap",
1496
1928
  "bytes",
@@ -1574,6 +2006,12 @@ dependencies = [
1574
2006
  "synstructure",
1575
2007
  ]
1576
2008
 
2009
+ [[package]]
2010
+ name = "zeroize"
2011
+ version = "1.9.1"
2012
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2013
+ checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879"
2014
+
1577
2015
  [[package]]
1578
2016
  name = "zerotrie"
1579
2017
  version = "0.2.5"