wreq 1.2.11 → 1.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Cargo.lock +88 -146
- data/Cargo.toml +10 -7
- data/crates/wreq-util/src/emulate/profile/chrome/http2.rs +1 -1
- data/crates/wreq-util/src/emulate/profile/firefox/http2.rs +2 -2
- data/crates/wreq-util/src/emulate/profile/opera/http2.rs +1 -1
- data/docs/fork-safety.md +34 -0
- data/docs/interrupt-handling.md +133 -0
- data/examples/tls_info.rb +27 -0
- data/lib/wreq.rb +13 -0
- data/lib/wreq_ruby/body.rb +6 -0
- data/lib/wreq_ruby/client.rb +19 -0
- data/lib/wreq_ruby/error.rb +13 -0
- data/lib/wreq_ruby/response.rb +28 -0
- data/lib/wreq_ruby/tls.rb +73 -0
- data/src/arch.rs +128 -0
- data/src/client/body/stream.rs +24 -9
- data/src/client/resp.rs +45 -18
- data/src/client.rs +45 -28
- data/src/error.rs +28 -0
- data/src/lib.rs +5 -1
- data/src/macros.rs +3 -3
- data/src/rt.rs +46 -9
- data/src/tls.rs +51 -0
- data/test/fork_test.rb +82 -0
- data/test/scripts/fork_safety.rb +110 -0
- data/test/support/tls_server.rb +95 -0
- data/test/tls_info_test.rb +59 -0
- metadata +10 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dfff227b1aca526697d055128ca828a911403c337796d840e45667554ece669a
|
|
4
|
+
data.tar.gz: ce36c588548df0a31e769fa54b226561d2e5b84cf0dd681c0102575503803e86
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 77c99a185649091bc2c537efbdf4490404ef113c250a733ab47c3f49ac574659b455e78a3a77efe2f95ca9739b88b0f8ed6452b51d8583b01de7aaf4d88a1d0c
|
|
7
|
+
data.tar.gz: df326eb44d85324d981fb9a624f52a87d30871836f093dbde2ecd9c8b7b9b76cb786e8f2c2cd15aed1d2237fe8b9fc33a34803bf74972fb15a1bb9e8296071e5
|
data/Cargo.lock
CHANGED
|
@@ -10,9 +10,9 @@ checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
|
|
|
10
10
|
|
|
11
11
|
[[package]]
|
|
12
12
|
name = "aho-corasick"
|
|
13
|
-
version = "1.1.
|
|
13
|
+
version = "1.1.5"
|
|
14
14
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
15
|
-
checksum = "
|
|
15
|
+
checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba"
|
|
16
16
|
dependencies = [
|
|
17
17
|
"memchr",
|
|
18
18
|
]
|
|
@@ -49,9 +49,9 @@ dependencies = [
|
|
|
49
49
|
|
|
50
50
|
[[package]]
|
|
51
51
|
name = "async-compression"
|
|
52
|
-
version = "0.4.
|
|
52
|
+
version = "0.4.43"
|
|
53
53
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
54
|
-
checksum = "
|
|
54
|
+
checksum = "3976abdc8fe7d1133d43d304afd42abdf5bc3e1319d263d223bde07b5efc4be8"
|
|
55
55
|
dependencies = [
|
|
56
56
|
"compression-codecs",
|
|
57
57
|
"compression-core",
|
|
@@ -113,7 +113,7 @@ dependencies = [
|
|
|
113
113
|
[[package]]
|
|
114
114
|
name = "btls"
|
|
115
115
|
version = "0.5.6"
|
|
116
|
-
source = "git+https://github.com/0x676e67/btls?branch=demo%2Fmerge-upstream-boring-20260616#
|
|
116
|
+
source = "git+https://github.com/0x676e67/btls?branch=demo%2Fmerge-upstream-boring-20260616#2c1026a045e31454e841f96c6dfb594d5a4e4752"
|
|
117
117
|
dependencies = [
|
|
118
118
|
"bitflags",
|
|
119
119
|
"btls-sys",
|
|
@@ -125,7 +125,7 @@ dependencies = [
|
|
|
125
125
|
[[package]]
|
|
126
126
|
name = "btls-sys"
|
|
127
127
|
version = "0.5.6"
|
|
128
|
-
source = "git+https://github.com/0x676e67/btls?branch=demo%2Fmerge-upstream-boring-20260616#
|
|
128
|
+
source = "git+https://github.com/0x676e67/btls?branch=demo%2Fmerge-upstream-boring-20260616#2c1026a045e31454e841f96c6dfb594d5a4e4752"
|
|
129
129
|
dependencies = [
|
|
130
130
|
"bindgen",
|
|
131
131
|
"cmake",
|
|
@@ -141,9 +141,9 @@ checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04"
|
|
|
141
141
|
|
|
142
142
|
[[package]]
|
|
143
143
|
name = "cc"
|
|
144
|
-
version = "1.4.
|
|
144
|
+
version = "1.4.3"
|
|
145
145
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
146
|
-
checksum = "
|
|
146
|
+
checksum = "509591b7bcd67f4ef775afad7662703b4935daaa6ec0e5605cfb1090b32a2b6d"
|
|
147
147
|
dependencies = [
|
|
148
148
|
"find-msvc-tools",
|
|
149
149
|
"jobserver",
|
|
@@ -168,9 +168,9 @@ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
|
|
168
168
|
|
|
169
169
|
[[package]]
|
|
170
170
|
name = "clang-sys"
|
|
171
|
-
version = "1.
|
|
171
|
+
version = "1.9.1"
|
|
172
172
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
173
|
-
checksum = "
|
|
173
|
+
checksum = "157a8ba7b480713b56f4c09fd13fc3e0a22a5dfab8097ba61cbc5feef950788a"
|
|
174
174
|
dependencies = [
|
|
175
175
|
"glob",
|
|
176
176
|
"libc",
|
|
@@ -208,30 +208,14 @@ checksum = "cc14f565cf027a105f7a44ccf9e5b424348421a1d8952a8fc9d499d313107789"
|
|
|
208
208
|
|
|
209
209
|
[[package]]
|
|
210
210
|
name = "cookie"
|
|
211
|
-
version = "0.18.
|
|
211
|
+
version = "0.18.2"
|
|
212
212
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
213
|
-
checksum = "
|
|
213
|
+
checksum = "1a373e3602691c3cdea496d2f0ee5935151e6168fe87739483c463db1b2f2f87"
|
|
214
214
|
dependencies = [
|
|
215
215
|
"time",
|
|
216
216
|
"version_check",
|
|
217
217
|
]
|
|
218
218
|
|
|
219
|
-
[[package]]
|
|
220
|
-
name = "core-foundation"
|
|
221
|
-
version = "0.9.4"
|
|
222
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
223
|
-
checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f"
|
|
224
|
-
dependencies = [
|
|
225
|
-
"core-foundation-sys",
|
|
226
|
-
"libc",
|
|
227
|
-
]
|
|
228
|
-
|
|
229
|
-
[[package]]
|
|
230
|
-
name = "core-foundation-sys"
|
|
231
|
-
version = "0.8.7"
|
|
232
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
233
|
-
checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
|
|
234
|
-
|
|
235
219
|
[[package]]
|
|
236
220
|
name = "crc32fast"
|
|
237
221
|
version = "1.5.0"
|
|
@@ -249,13 +233,13 @@ checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c"
|
|
|
249
233
|
|
|
250
234
|
[[package]]
|
|
251
235
|
name = "displaydoc"
|
|
252
|
-
version = "0.2.
|
|
236
|
+
version = "0.2.7"
|
|
253
237
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
254
|
-
checksum = "
|
|
238
|
+
checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8"
|
|
255
239
|
dependencies = [
|
|
256
240
|
"proc-macro2",
|
|
257
241
|
"quote",
|
|
258
|
-
"syn
|
|
242
|
+
"syn 3.0.3",
|
|
259
243
|
]
|
|
260
244
|
|
|
261
245
|
[[package]]
|
|
@@ -291,9 +275,9 @@ dependencies = [
|
|
|
291
275
|
|
|
292
276
|
[[package]]
|
|
293
277
|
name = "find-msvc-tools"
|
|
294
|
-
version = "0.1.
|
|
278
|
+
version = "0.1.11"
|
|
295
279
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
296
|
-
checksum = "
|
|
280
|
+
checksum = "d45db016d36b838f563236e9193d0ee6ce38f3f68b6c94e914b4929c96bbb890"
|
|
297
281
|
|
|
298
282
|
[[package]]
|
|
299
283
|
name = "flate2"
|
|
@@ -344,6 +328,15 @@ version = "0.3.1"
|
|
|
344
328
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
345
329
|
checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b"
|
|
346
330
|
|
|
331
|
+
[[package]]
|
|
332
|
+
name = "forkguard"
|
|
333
|
+
version = "0.1.3"
|
|
334
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
335
|
+
checksum = "723f03dfba28f1949cae68c6ac89a1e77f753c38c0acfceeefec77578a1c357a"
|
|
336
|
+
dependencies = [
|
|
337
|
+
"libc",
|
|
338
|
+
]
|
|
339
|
+
|
|
347
340
|
[[package]]
|
|
348
341
|
name = "form_urlencoded"
|
|
349
342
|
version = "1.2.2"
|
|
@@ -371,36 +364,36 @@ dependencies = [
|
|
|
371
364
|
|
|
372
365
|
[[package]]
|
|
373
366
|
name = "futures-channel"
|
|
374
|
-
version = "0.3.
|
|
367
|
+
version = "0.3.34"
|
|
375
368
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
376
|
-
checksum = "
|
|
369
|
+
checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4"
|
|
377
370
|
dependencies = [
|
|
378
371
|
"futures-core",
|
|
379
372
|
]
|
|
380
373
|
|
|
381
374
|
[[package]]
|
|
382
375
|
name = "futures-core"
|
|
383
|
-
version = "0.3.
|
|
376
|
+
version = "0.3.34"
|
|
384
377
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
385
|
-
checksum = "
|
|
378
|
+
checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e"
|
|
386
379
|
|
|
387
380
|
[[package]]
|
|
388
381
|
name = "futures-sink"
|
|
389
|
-
version = "0.3.
|
|
382
|
+
version = "0.3.34"
|
|
390
383
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
391
|
-
checksum = "
|
|
384
|
+
checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d"
|
|
392
385
|
|
|
393
386
|
[[package]]
|
|
394
387
|
name = "futures-task"
|
|
395
|
-
version = "0.3.
|
|
388
|
+
version = "0.3.34"
|
|
396
389
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
397
|
-
checksum = "
|
|
390
|
+
checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd"
|
|
398
391
|
|
|
399
392
|
[[package]]
|
|
400
393
|
name = "futures-util"
|
|
401
|
-
version = "0.3.
|
|
394
|
+
version = "0.3.34"
|
|
402
395
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
403
|
-
checksum = "
|
|
396
|
+
checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc"
|
|
404
397
|
dependencies = [
|
|
405
398
|
"futures-core",
|
|
406
399
|
"futures-task",
|
|
@@ -438,9 +431,9 @@ dependencies = [
|
|
|
438
431
|
|
|
439
432
|
[[package]]
|
|
440
433
|
name = "http"
|
|
441
|
-
version = "1.
|
|
434
|
+
version = "1.5.0"
|
|
442
435
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
443
|
-
checksum = "
|
|
436
|
+
checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0"
|
|
444
437
|
dependencies = [
|
|
445
438
|
"bytes",
|
|
446
439
|
"itoa",
|
|
@@ -458,9 +451,9 @@ dependencies = [
|
|
|
458
451
|
|
|
459
452
|
[[package]]
|
|
460
453
|
name = "http-body-util"
|
|
461
|
-
version = "0.1.
|
|
454
|
+
version = "0.1.5"
|
|
462
455
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
463
|
-
checksum = "
|
|
456
|
+
checksum = "23169fe34a5fbcdd3f3862e78fb9b6fccd5f02a6dc6f732547005d45631ce71c"
|
|
464
457
|
dependencies = [
|
|
465
458
|
"bytes",
|
|
466
459
|
"futures-core",
|
|
@@ -471,9 +464,8 @@ dependencies = [
|
|
|
471
464
|
|
|
472
465
|
[[package]]
|
|
473
466
|
name = "http2"
|
|
474
|
-
version = "0.5.
|
|
475
|
-
source = "
|
|
476
|
-
checksum = "39fa01ed3820381df693c455ba2109d229c0cb02c95a51108ef45ddd758d91b9"
|
|
467
|
+
version = "0.5.20"
|
|
468
|
+
source = "git+https://github.com/0x676e67/http2?rev=b413a92b2e1fe7e2ea1b7be78e75b872386fdfa0#b413a92b2e1fe7e2ea1b7be78e75b872386fdfa0"
|
|
477
469
|
dependencies = [
|
|
478
470
|
"atomic-waker",
|
|
479
471
|
"bytes",
|
|
@@ -496,9 +488,9 @@ checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
|
|
|
496
488
|
|
|
497
489
|
[[package]]
|
|
498
490
|
name = "icu_collections"
|
|
499
|
-
version = "2.
|
|
491
|
+
version = "2.3.0"
|
|
500
492
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
501
|
-
checksum = "
|
|
493
|
+
checksum = "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513"
|
|
502
494
|
dependencies = [
|
|
503
495
|
"displaydoc",
|
|
504
496
|
"potential_utf",
|
|
@@ -510,9 +502,9 @@ dependencies = [
|
|
|
510
502
|
|
|
511
503
|
[[package]]
|
|
512
504
|
name = "icu_locale_core"
|
|
513
|
-
version = "2.
|
|
505
|
+
version = "2.3.0"
|
|
514
506
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
515
|
-
checksum = "
|
|
507
|
+
checksum = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb"
|
|
516
508
|
dependencies = [
|
|
517
509
|
"displaydoc",
|
|
518
510
|
"litemap",
|
|
@@ -523,9 +515,9 @@ dependencies = [
|
|
|
523
515
|
|
|
524
516
|
[[package]]
|
|
525
517
|
name = "icu_normalizer"
|
|
526
|
-
version = "2.
|
|
518
|
+
version = "2.3.0"
|
|
527
519
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
528
|
-
checksum = "
|
|
520
|
+
checksum = "12f9cf5f235641ed274641dd81c3f28d870e276763d0797aeeab72317b1c646f"
|
|
529
521
|
dependencies = [
|
|
530
522
|
"icu_collections",
|
|
531
523
|
"icu_normalizer_data",
|
|
@@ -537,16 +529,17 @@ dependencies = [
|
|
|
537
529
|
|
|
538
530
|
[[package]]
|
|
539
531
|
name = "icu_normalizer_data"
|
|
540
|
-
version = "2.
|
|
532
|
+
version = "2.3.0"
|
|
541
533
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
542
|
-
checksum = "
|
|
534
|
+
checksum = "1563da1ed3e0b3bf3d74c9b85917ac9c56464d2f57242270c09c9e752f8021a0"
|
|
543
535
|
|
|
544
536
|
[[package]]
|
|
545
537
|
name = "icu_properties"
|
|
546
|
-
version = "2.
|
|
538
|
+
version = "2.3.0"
|
|
547
539
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
548
|
-
checksum = "
|
|
540
|
+
checksum = "7e7ca276ad3145661a65914e6daf131ca5120cd3dcee8f8f3214b8875184a148"
|
|
549
541
|
dependencies = [
|
|
542
|
+
"displaydoc",
|
|
550
543
|
"icu_collections",
|
|
551
544
|
"icu_locale_core",
|
|
552
545
|
"icu_properties_data",
|
|
@@ -557,15 +550,15 @@ dependencies = [
|
|
|
557
550
|
|
|
558
551
|
[[package]]
|
|
559
552
|
name = "icu_properties_data"
|
|
560
|
-
version = "2.
|
|
553
|
+
version = "2.3.0"
|
|
561
554
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
562
|
-
checksum = "
|
|
555
|
+
checksum = "e590f038c1464a96894fd6d10127e90a8be4509f56ff7ecef851b15cee0b7caa"
|
|
563
556
|
|
|
564
557
|
[[package]]
|
|
565
558
|
name = "icu_provider"
|
|
566
|
-
version = "2.
|
|
559
|
+
version = "2.3.0"
|
|
567
560
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
568
|
-
checksum = "
|
|
561
|
+
checksum = "92a7ed671a6aad807a8651a2e1782a6598fda9ce5185dd8158549e95a91c6428"
|
|
569
562
|
dependencies = [
|
|
570
563
|
"displaydoc",
|
|
571
564
|
"icu_locale_core",
|
|
@@ -611,9 +604,9 @@ dependencies = [
|
|
|
611
604
|
|
|
612
605
|
[[package]]
|
|
613
606
|
name = "ipnet"
|
|
614
|
-
version = "2.12.
|
|
607
|
+
version = "2.12.1"
|
|
615
608
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
616
|
-
checksum = "
|
|
609
|
+
checksum = "6a756c3fac73139e83f14c2d742155dd2b78d3ee56597b419a0579b7bdd6dd78"
|
|
617
610
|
|
|
618
611
|
[[package]]
|
|
619
612
|
name = "itertools"
|
|
@@ -664,9 +657,9 @@ dependencies = [
|
|
|
664
657
|
|
|
665
658
|
[[package]]
|
|
666
659
|
name = "litemap"
|
|
667
|
-
version = "0.8.
|
|
660
|
+
version = "0.8.3"
|
|
668
661
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
669
|
-
checksum = "
|
|
662
|
+
checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae"
|
|
670
663
|
|
|
671
664
|
[[package]]
|
|
672
665
|
name = "lock_api"
|
|
@@ -679,9 +672,9 @@ dependencies = [
|
|
|
679
672
|
|
|
680
673
|
[[package]]
|
|
681
674
|
name = "lru"
|
|
682
|
-
version = "0.18.
|
|
675
|
+
version = "0.18.2"
|
|
683
676
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
684
|
-
checksum = "
|
|
677
|
+
checksum = "5d2f2f9b4ba7e6b24d95e7e899329d35be83bcded72c8540cdd5368932d1d90a"
|
|
685
678
|
dependencies = [
|
|
686
679
|
"hashbrown",
|
|
687
680
|
]
|
|
@@ -813,15 +806,15 @@ checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
|
|
|
813
806
|
|
|
814
807
|
[[package]]
|
|
815
808
|
name = "pkg-config"
|
|
816
|
-
version = "0.3.
|
|
809
|
+
version = "0.3.34"
|
|
817
810
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
818
|
-
checksum = "
|
|
811
|
+
checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548"
|
|
819
812
|
|
|
820
813
|
[[package]]
|
|
821
814
|
name = "potential_utf"
|
|
822
|
-
version = "0.1.
|
|
815
|
+
version = "0.1.6"
|
|
823
816
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
824
|
-
checksum = "
|
|
817
|
+
checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661"
|
|
825
818
|
dependencies = [
|
|
826
819
|
"zerovec",
|
|
827
820
|
]
|
|
@@ -909,9 +902,9 @@ dependencies = [
|
|
|
909
902
|
|
|
910
903
|
[[package]]
|
|
911
904
|
name = "regex-automata"
|
|
912
|
-
version = "0.4.
|
|
905
|
+
version = "0.4.18"
|
|
913
906
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
914
|
-
checksum = "
|
|
907
|
+
checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
|
|
915
908
|
dependencies = [
|
|
916
909
|
"aho-corasick",
|
|
917
910
|
"memchr",
|
|
@@ -1136,27 +1129,6 @@ dependencies = [
|
|
|
1136
1129
|
"syn 2.0.119",
|
|
1137
1130
|
]
|
|
1138
1131
|
|
|
1139
|
-
[[package]]
|
|
1140
|
-
name = "system-configuration"
|
|
1141
|
-
version = "0.7.0"
|
|
1142
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1143
|
-
checksum = "a13f3d0daba03132c0aa9767f98351b3488edc2c100cda2d2ec2b04f3d8d3c8b"
|
|
1144
|
-
dependencies = [
|
|
1145
|
-
"bitflags",
|
|
1146
|
-
"core-foundation",
|
|
1147
|
-
"system-configuration-sys",
|
|
1148
|
-
]
|
|
1149
|
-
|
|
1150
|
-
[[package]]
|
|
1151
|
-
name = "system-configuration-sys"
|
|
1152
|
-
version = "0.6.0"
|
|
1153
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1154
|
-
checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4"
|
|
1155
|
-
dependencies = [
|
|
1156
|
-
"core-foundation-sys",
|
|
1157
|
-
"libc",
|
|
1158
|
-
]
|
|
1159
|
-
|
|
1160
1132
|
[[package]]
|
|
1161
1133
|
name = "thiserror"
|
|
1162
1134
|
version = "1.0.69"
|
|
@@ -1179,9 +1151,9 @@ dependencies = [
|
|
|
1179
1151
|
|
|
1180
1152
|
[[package]]
|
|
1181
1153
|
name = "time"
|
|
1182
|
-
version = "0.3.
|
|
1154
|
+
version = "0.3.55"
|
|
1183
1155
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1184
|
-
checksum = "
|
|
1156
|
+
checksum = "cdb87b95ec50ddfa440816d227a17b2ccbdda963a316a727fda0fc4334f7d134"
|
|
1185
1157
|
dependencies = [
|
|
1186
1158
|
"deranged",
|
|
1187
1159
|
"num-conv",
|
|
@@ -1209,9 +1181,9 @@ dependencies = [
|
|
|
1209
1181
|
|
|
1210
1182
|
[[package]]
|
|
1211
1183
|
name = "tinystr"
|
|
1212
|
-
version = "0.8.
|
|
1184
|
+
version = "0.8.4"
|
|
1213
1185
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1214
|
-
checksum = "
|
|
1186
|
+
checksum = "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643"
|
|
1215
1187
|
dependencies = [
|
|
1216
1188
|
"displaydoc",
|
|
1217
1189
|
"zerovec",
|
|
@@ -1246,13 +1218,13 @@ dependencies = [
|
|
|
1246
1218
|
|
|
1247
1219
|
[[package]]
|
|
1248
1220
|
name = "tokio-macros"
|
|
1249
|
-
version = "2.7.
|
|
1221
|
+
version = "2.7.2"
|
|
1250
1222
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1251
|
-
checksum = "
|
|
1223
|
+
checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e"
|
|
1252
1224
|
dependencies = [
|
|
1253
1225
|
"proc-macro2",
|
|
1254
1226
|
"quote",
|
|
1255
|
-
"syn
|
|
1227
|
+
"syn 3.0.3",
|
|
1256
1228
|
]
|
|
1257
1229
|
|
|
1258
1230
|
[[package]]
|
|
@@ -1436,35 +1408,6 @@ version = "0.2.1"
|
|
|
1436
1408
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1437
1409
|
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
1438
1410
|
|
|
1439
|
-
[[package]]
|
|
1440
|
-
name = "windows-registry"
|
|
1441
|
-
version = "0.6.1"
|
|
1442
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1443
|
-
checksum = "02752bf7fbdcce7f2a27a742f798510f3e5ad88dbe84871e5168e2120c3d5720"
|
|
1444
|
-
dependencies = [
|
|
1445
|
-
"windows-link",
|
|
1446
|
-
"windows-result",
|
|
1447
|
-
"windows-strings",
|
|
1448
|
-
]
|
|
1449
|
-
|
|
1450
|
-
[[package]]
|
|
1451
|
-
name = "windows-result"
|
|
1452
|
-
version = "0.4.1"
|
|
1453
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1454
|
-
checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5"
|
|
1455
|
-
dependencies = [
|
|
1456
|
-
"windows-link",
|
|
1457
|
-
]
|
|
1458
|
-
|
|
1459
|
-
[[package]]
|
|
1460
|
-
name = "windows-strings"
|
|
1461
|
-
version = "0.5.1"
|
|
1462
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1463
|
-
checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091"
|
|
1464
|
-
dependencies = [
|
|
1465
|
-
"windows-link",
|
|
1466
|
-
]
|
|
1467
|
-
|
|
1468
1411
|
[[package]]
|
|
1469
1412
|
name = "windows-sys"
|
|
1470
1413
|
version = "0.61.2"
|
|
@@ -1477,7 +1420,7 @@ dependencies = [
|
|
|
1477
1420
|
[[package]]
|
|
1478
1421
|
name = "wreq"
|
|
1479
1422
|
version = "6.0.0-rc.29"
|
|
1480
|
-
source = "git+https://github.com/0x676e67/wreq?rev=
|
|
1423
|
+
source = "git+https://github.com/0x676e67/wreq?rev=12ccf64bb00e79db6eabd4bc3ccf82871d3eb5a5#12ccf64bb00e79db6eabd4bc3ccf82871d3eb5a5"
|
|
1481
1424
|
dependencies = [
|
|
1482
1425
|
"btls",
|
|
1483
1426
|
"btls-sys",
|
|
@@ -1501,7 +1444,6 @@ dependencies = [
|
|
|
1501
1444
|
"serde_json",
|
|
1502
1445
|
"socket2",
|
|
1503
1446
|
"sync_wrapper",
|
|
1504
|
-
"system-configuration",
|
|
1505
1447
|
"tokio",
|
|
1506
1448
|
"tokio-btls",
|
|
1507
1449
|
"tokio-socks",
|
|
@@ -1510,7 +1452,6 @@ dependencies = [
|
|
|
1510
1452
|
"tower-http",
|
|
1511
1453
|
"url",
|
|
1512
1454
|
"webpki-root-certs",
|
|
1513
|
-
"windows-registry",
|
|
1514
1455
|
"wreq-proto",
|
|
1515
1456
|
"wreq-rt",
|
|
1516
1457
|
]
|
|
@@ -1548,11 +1489,12 @@ dependencies = [
|
|
|
1548
1489
|
|
|
1549
1490
|
[[package]]
|
|
1550
1491
|
name = "wreq-ruby"
|
|
1551
|
-
version = "1.2.
|
|
1492
|
+
version = "1.2.12"
|
|
1552
1493
|
dependencies = [
|
|
1553
1494
|
"arc-swap",
|
|
1554
1495
|
"bytes",
|
|
1555
1496
|
"cookie",
|
|
1497
|
+
"forkguard",
|
|
1556
1498
|
"futures-util",
|
|
1557
1499
|
"http",
|
|
1558
1500
|
"http-body-util",
|
|
@@ -1582,9 +1524,9 @@ dependencies = [
|
|
|
1582
1524
|
|
|
1583
1525
|
[[package]]
|
|
1584
1526
|
name = "writeable"
|
|
1585
|
-
version = "0.6.
|
|
1527
|
+
version = "0.6.4"
|
|
1586
1528
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1587
|
-
checksum = "
|
|
1529
|
+
checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc"
|
|
1588
1530
|
|
|
1589
1531
|
[[package]]
|
|
1590
1532
|
name = "yoke"
|
|
@@ -1632,9 +1574,9 @@ dependencies = [
|
|
|
1632
1574
|
|
|
1633
1575
|
[[package]]
|
|
1634
1576
|
name = "zerotrie"
|
|
1635
|
-
version = "0.2.
|
|
1577
|
+
version = "0.2.5"
|
|
1636
1578
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1637
|
-
checksum = "
|
|
1579
|
+
checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f"
|
|
1638
1580
|
dependencies = [
|
|
1639
1581
|
"displaydoc",
|
|
1640
1582
|
"yoke",
|
|
@@ -1643,9 +1585,9 @@ dependencies = [
|
|
|
1643
1585
|
|
|
1644
1586
|
[[package]]
|
|
1645
1587
|
name = "zerovec"
|
|
1646
|
-
version = "0.11.
|
|
1588
|
+
version = "0.11.7"
|
|
1647
1589
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1648
|
-
checksum = "
|
|
1590
|
+
checksum = "94b5c6b5976d66c1d703c4fd17d3f5e43c8cedaacf604961b171adc7130896d8"
|
|
1649
1591
|
dependencies = [
|
|
1650
1592
|
"yoke",
|
|
1651
1593
|
"zerofrom",
|
|
@@ -1654,13 +1596,13 @@ dependencies = [
|
|
|
1654
1596
|
|
|
1655
1597
|
[[package]]
|
|
1656
1598
|
name = "zerovec-derive"
|
|
1657
|
-
version = "0.11.
|
|
1599
|
+
version = "0.11.4"
|
|
1658
1600
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1659
|
-
checksum = "
|
|
1601
|
+
checksum = "47402523226a02bfe5230160dc3ccc089aa6f6f19e7fcbb4e6f824bbb1b4aa62"
|
|
1660
1602
|
dependencies = [
|
|
1661
1603
|
"proc-macro2",
|
|
1662
1604
|
"quote",
|
|
1663
|
-
"syn
|
|
1605
|
+
"syn 3.0.3",
|
|
1664
1606
|
]
|
|
1665
1607
|
|
|
1666
1608
|
[[package]]
|
data/Cargo.toml
CHANGED
|
@@ -5,7 +5,7 @@ authors = ["SearchApi <support@searchapi.io>"]
|
|
|
5
5
|
homepage = "https://github.com/SearchApi/wreq-ruby"
|
|
6
6
|
repository = "https://github.com/SearchApi/wreq-ruby"
|
|
7
7
|
edition = "2024"
|
|
8
|
-
version = "1.2.
|
|
8
|
+
version = "1.2.12"
|
|
9
9
|
rust-version = "1.95"
|
|
10
10
|
|
|
11
11
|
[lib]
|
|
@@ -29,12 +29,11 @@ wreq = { version = "6.0.0-rc", features = [
|
|
|
29
29
|
"brotli",
|
|
30
30
|
"deflate",
|
|
31
31
|
"zstd",
|
|
32
|
-
"system-proxy",
|
|
33
32
|
] }
|
|
34
33
|
wreq-util = { version = "3.0.0-rc", features = ["emulation-compression"] }
|
|
35
|
-
serde = { version = "1.0.
|
|
34
|
+
serde = { version = "1.0.229", features = ["derive"] }
|
|
36
35
|
serde_ignored = "0.1.14"
|
|
37
|
-
serde_json = { version = "1.0.
|
|
36
|
+
serde_json = { version = "1.0.151", features = [
|
|
38
37
|
"arbitrary_precision",
|
|
39
38
|
"preserve_order",
|
|
40
39
|
] }
|
|
@@ -44,8 +43,11 @@ cookie = "0.18.1"
|
|
|
44
43
|
bytes = "1.12.1"
|
|
45
44
|
arc-swap = "1.9.1"
|
|
46
45
|
http = "1.4.1"
|
|
47
|
-
http-body-util = "0.1.
|
|
48
|
-
futures-util = { version = "0.3.
|
|
46
|
+
http-body-util = "0.1.4"
|
|
47
|
+
futures-util = { version = "0.3.33", default-features = false }
|
|
48
|
+
|
|
49
|
+
[target.'cfg(unix)'.dependencies]
|
|
50
|
+
forkguard = { version = "0.1.3", features = ["atfork"] }
|
|
49
51
|
|
|
50
52
|
[dev-dependencies]
|
|
51
53
|
magnus = { version = "0.8.2", features = ["embed"] }
|
|
@@ -62,7 +64,8 @@ opt-level = 3
|
|
|
62
64
|
strip = true
|
|
63
65
|
|
|
64
66
|
[patch.crates-io]
|
|
67
|
+
http2 = { git = "https://github.com/0x676e67/http2", rev = "b413a92b2e1fe7e2ea1b7be78e75b872386fdfa0" }
|
|
65
68
|
btls = { git = "https://github.com/0x676e67/btls", branch = "demo/merge-upstream-boring-20260616" }
|
|
66
69
|
btls-sys = { git = "https://github.com/0x676e67/btls", branch = "demo/merge-upstream-boring-20260616" }
|
|
67
|
-
wreq = { git = "https://github.com/0x676e67/wreq", rev = "
|
|
70
|
+
wreq = { git = "https://github.com/0x676e67/wreq", rev = "12ccf64bb00e79db6eabd4bc3ccf82871d3eb5a5" }
|
|
68
71
|
wreq-util = { path = "crates/wreq-util" }
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
macro_rules! headers_stream_dependency {
|
|
2
2
|
(1) => {
|
|
3
|
-
StreamDependency::new(StreamId::zero(),
|
|
3
|
+
StreamDependency::new(StreamId::zero(), 41, false)
|
|
4
4
|
};
|
|
5
5
|
(2) => {
|
|
6
|
-
StreamDependency::new(StreamId::from(13),
|
|
6
|
+
StreamDependency::new(StreamId::from(13), 41, false)
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
9
|
|