rnet 3.0.0rc2__tar.gz → 3.0.0rc3__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 rnet might be problematic. Click here for more details.
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/.github/workflows/ci.yml +1 -1
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/Cargo.lock +85 -164
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/Cargo.toml +6 -14
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/PKG-INFO +4 -3
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/README.md +3 -2
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/pyproject.toml +4 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/emulation.py +1 -1
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/http1_websocket.py +33 -9
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/http2_websocket.py +19 -9
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/request.py +1 -1
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/rnet/__init__.pyi +71 -44
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/rnet/blocking.py +41 -33
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/rnet/cookie.py +1 -1
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/rnet/emulation.py +0 -1
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/rnet/header.py +34 -125
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/rnet/tls.py +1 -1
- rnet-3.0.0rc3/src/buffer.rs +99 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/src/client/body.rs +17 -19
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/src/client/mod.rs +303 -391
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/src/client/request.rs +2 -3
- rnet-3.0.0rc3/src/client/response/future.rs +107 -0
- rnet-3.0.0rc3/src/client/response/history.rs +48 -0
- rnet-3.0.0rc3/src/client/response/http.rs +410 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/src/client/response/mod.rs +3 -1
- rnet-3.0.0rc3/src/client/response/stream.rs +107 -0
- rnet-3.0.0rc3/src/client/response/ws/cmd.rs +158 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/src/client/response/ws/mod.rs +53 -190
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/src/client/response/ws/msg.rs +24 -16
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/src/error.rs +16 -12
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/src/extractor.rs +11 -1
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/src/http/cookie.rs +28 -83
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/src/http/header.rs +66 -135
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/src/http/status.rs +1 -1
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/src/lib.rs +17 -18
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/src/macros.rs +14 -14
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/src/proxy.rs +1 -1
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/tests/cookie_test.py +6 -6
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/tests/header_test.py +36 -6
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/tests/redirect_test.py +21 -11
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/tests/response_test.py +2 -14
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/tests/tls_test.py +1 -1
- rnet-3.0.0rc2/python/examples/blocking/http1_websocket.py +0 -64
- rnet-3.0.0rc2/src/buffer.rs +0 -104
- rnet-3.0.0rc2/src/client/response/http.rs +0 -392
- rnet-3.0.0rc2/src/client/response/stream.rs +0 -127
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/.github/FUNDING.yml +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/.github/assets/capsolver.jpg +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/.github/dependabot.yml +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/.github/musl_build.sh +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/.gitignore +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/LICENSE +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/README.md +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/benchmark/README.md +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/benchmark/bench.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/benchmark/benchmark_multi.jpg +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/benchmark/benchmark_multi_threaded.jpg +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/benchmark/benchmark_results.csv +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/benchmark/requirements.txt +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/benchmark/server.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/auth.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/basic_auth.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/bearer_auth.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/blocking/auth.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/blocking/basic_auth.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/blocking/bearer_auth.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/blocking/body.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/blocking/client.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/blocking/cookie.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/blocking/emulation.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/blocking/form.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/blocking/get.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/blocking/json.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/blocking/multipart.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/blocking/proxy.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/blocking/query.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/blocking/stream.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/body.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/client.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/exceptions.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/form.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/get.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/header_map.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/json.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/keylog.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/multipart.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/orig_headers.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/proxy.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/query.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/examples/stream.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/rnet/__init__.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/rnet/exceptions.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/python/rnet/py.typed +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/src/client/dns.rs +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/src/client/multipart/form.rs +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/src/client/multipart/mod.rs +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/src/client/multipart/part.rs +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/src/emulation.rs +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/src/http/mod.rs +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/src/tls/identity.rs +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/src/tls/keylog.rs +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/src/tls/mod.rs +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/src/tls/store.rs +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc3}/tests/request_test.py +0 -0
|
@@ -283,5 +283,5 @@ jobs:
|
|
|
283
283
|
if: startsWith(github.ref, 'refs/tags/')
|
|
284
284
|
with:
|
|
285
285
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
286
|
-
prerelease: ${{ contains(github.ref, 'alpha') || contains(github.ref, 'beta')
|
|
286
|
+
prerelease: ${{ contains(github.ref, 'alpha') || contains(github.ref, 'beta') }}
|
|
287
287
|
generate_release_notes: true
|
|
@@ -67,20 +67,15 @@ dependencies = [
|
|
|
67
67
|
|
|
68
68
|
[[package]]
|
|
69
69
|
name = "async-compression"
|
|
70
|
-
version = "0.4.
|
|
70
|
+
version = "0.4.30"
|
|
71
71
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
72
|
-
checksum = "
|
|
72
|
+
checksum = "977eb15ea9efd848bb8a4a1a2500347ed7f0bf794edf0dc3ddcf439f43d36b23"
|
|
73
73
|
dependencies = [
|
|
74
|
-
"brotli",
|
|
75
74
|
"compression-codecs",
|
|
76
75
|
"compression-core",
|
|
77
|
-
"flate2",
|
|
78
76
|
"futures-core",
|
|
79
|
-
"memchr",
|
|
80
77
|
"pin-project-lite",
|
|
81
78
|
"tokio",
|
|
82
|
-
"zstd",
|
|
83
|
-
"zstd-safe",
|
|
84
79
|
]
|
|
85
80
|
|
|
86
81
|
[[package]]
|
|
@@ -94,22 +89,6 @@ dependencies = [
|
|
|
94
89
|
"syn",
|
|
95
90
|
]
|
|
96
91
|
|
|
97
|
-
[[package]]
|
|
98
|
-
name = "async-tungstenite"
|
|
99
|
-
version = "0.31.0"
|
|
100
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
101
|
-
checksum = "ee88b4c88ac8c9ea446ad43498955750a4bbe64c4392f21ccfe5d952865e318f"
|
|
102
|
-
dependencies = [
|
|
103
|
-
"atomic-waker",
|
|
104
|
-
"futures-core",
|
|
105
|
-
"futures-io",
|
|
106
|
-
"futures-task",
|
|
107
|
-
"futures-util",
|
|
108
|
-
"log",
|
|
109
|
-
"pin-project-lite",
|
|
110
|
-
"tungstenite",
|
|
111
|
-
]
|
|
112
|
-
|
|
113
92
|
[[package]]
|
|
114
93
|
name = "atomic-waker"
|
|
115
94
|
version = "1.1.2"
|
|
@@ -137,17 +116,11 @@ dependencies = [
|
|
|
137
116
|
"windows-targets 0.52.6",
|
|
138
117
|
]
|
|
139
118
|
|
|
140
|
-
[[package]]
|
|
141
|
-
name = "base64"
|
|
142
|
-
version = "0.22.1"
|
|
143
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
144
|
-
checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
|
|
145
|
-
|
|
146
119
|
[[package]]
|
|
147
120
|
name = "bindgen"
|
|
148
|
-
version = "0.72.
|
|
121
|
+
version = "0.72.1"
|
|
149
122
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
150
|
-
checksum = "
|
|
123
|
+
checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895"
|
|
151
124
|
dependencies = [
|
|
152
125
|
"bitflags",
|
|
153
126
|
"cexpr",
|
|
@@ -163,9 +136,9 @@ dependencies = [
|
|
|
163
136
|
|
|
164
137
|
[[package]]
|
|
165
138
|
name = "bitflags"
|
|
166
|
-
version = "2.9.
|
|
139
|
+
version = "2.9.4"
|
|
167
140
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
168
|
-
checksum = "
|
|
141
|
+
checksum = "2261d10cca569e4643e526d8dc2e62e433cc8aba21ab764233731f8d369bf394"
|
|
169
142
|
|
|
170
143
|
[[package]]
|
|
171
144
|
name = "block-buffer"
|
|
@@ -178,9 +151,9 @@ dependencies = [
|
|
|
178
151
|
|
|
179
152
|
[[package]]
|
|
180
153
|
name = "boring-sys2"
|
|
181
|
-
version = "5.0.0-alpha.
|
|
154
|
+
version = "5.0.0-alpha.8"
|
|
182
155
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
183
|
-
checksum = "
|
|
156
|
+
checksum = "ae7fb86695d7ea56c18cfce674713f31a6e9df6b22bc6148729b7acfe0023810"
|
|
184
157
|
dependencies = [
|
|
185
158
|
"autocfg",
|
|
186
159
|
"bindgen",
|
|
@@ -191,9 +164,9 @@ dependencies = [
|
|
|
191
164
|
|
|
192
165
|
[[package]]
|
|
193
166
|
name = "boring2"
|
|
194
|
-
version = "5.0.0-alpha.
|
|
167
|
+
version = "5.0.0-alpha.8"
|
|
195
168
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
196
|
-
checksum = "
|
|
169
|
+
checksum = "952aafd36067f1d0de0c61e07d641fa0748a9338a5798e6ee15635322f80763f"
|
|
197
170
|
dependencies = [
|
|
198
171
|
"bitflags",
|
|
199
172
|
"boring-sys2",
|
|
@@ -237,10 +210,11 @@ checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a"
|
|
|
237
210
|
|
|
238
211
|
[[package]]
|
|
239
212
|
name = "cc"
|
|
240
|
-
version = "1.2.
|
|
213
|
+
version = "1.2.35"
|
|
241
214
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
242
|
-
checksum = "
|
|
215
|
+
checksum = "590f9024a68a8c40351881787f1934dc11afd69090f5edb6831464694d836ea3"
|
|
243
216
|
dependencies = [
|
|
217
|
+
"find-msvc-tools",
|
|
244
218
|
"jobserver",
|
|
245
219
|
"libc",
|
|
246
220
|
"shlex",
|
|
@@ -283,25 +257,23 @@ dependencies = [
|
|
|
283
257
|
|
|
284
258
|
[[package]]
|
|
285
259
|
name = "compression-codecs"
|
|
286
|
-
version = "0.4.
|
|
260
|
+
version = "0.4.30"
|
|
287
261
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
288
|
-
checksum = "
|
|
262
|
+
checksum = "485abf41ac0c8047c07c87c72c8fb3eb5197f6e9d7ded615dfd1a00ae00a0f64"
|
|
289
263
|
dependencies = [
|
|
290
264
|
"brotli",
|
|
291
265
|
"compression-core",
|
|
292
266
|
"flate2",
|
|
293
|
-
"futures-core",
|
|
294
267
|
"memchr",
|
|
295
|
-
"pin-project-lite",
|
|
296
268
|
"zstd",
|
|
297
269
|
"zstd-safe",
|
|
298
270
|
]
|
|
299
271
|
|
|
300
272
|
[[package]]
|
|
301
273
|
name = "compression-core"
|
|
302
|
-
version = "0.4.
|
|
274
|
+
version = "0.4.29"
|
|
303
275
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
304
|
-
checksum = "
|
|
276
|
+
checksum = "e47641d3deaf41fb1538ac1f54735925e275eaf3bf4d55c81b137fba797e5cbb"
|
|
305
277
|
|
|
306
278
|
[[package]]
|
|
307
279
|
name = "concurrent-queue"
|
|
@@ -318,29 +290,10 @@ version = "0.18.1"
|
|
|
318
290
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
319
291
|
checksum = "4ddef33a339a91ea89fb53151bd0a4689cfce27055c291dfa69945475d22c747"
|
|
320
292
|
dependencies = [
|
|
321
|
-
"percent-encoding",
|
|
322
293
|
"time",
|
|
323
294
|
"version_check",
|
|
324
295
|
]
|
|
325
296
|
|
|
326
|
-
[[package]]
|
|
327
|
-
name = "cookie_store"
|
|
328
|
-
version = "0.22.0"
|
|
329
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
330
|
-
checksum = "3fc4bff745c9b4c7fb1e97b25d13153da2bc7796260141df62378998d070207f"
|
|
331
|
-
dependencies = [
|
|
332
|
-
"cookie",
|
|
333
|
-
"document-features",
|
|
334
|
-
"idna",
|
|
335
|
-
"log",
|
|
336
|
-
"publicsuffix",
|
|
337
|
-
"serde",
|
|
338
|
-
"serde_derive",
|
|
339
|
-
"serde_json",
|
|
340
|
-
"time",
|
|
341
|
-
"url",
|
|
342
|
-
]
|
|
343
|
-
|
|
344
297
|
[[package]]
|
|
345
298
|
name = "cpufeatures"
|
|
346
299
|
version = "0.2.17"
|
|
@@ -407,9 +360,9 @@ checksum = "2a2330da5de22e8a3cb63252ce2abb30116bf5265e89c0e01bc17015ce30a476"
|
|
|
407
360
|
|
|
408
361
|
[[package]]
|
|
409
362
|
name = "deranged"
|
|
410
|
-
version = "0.
|
|
363
|
+
version = "0.5.3"
|
|
411
364
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
412
|
-
checksum = "
|
|
365
|
+
checksum = "d630bccd429a5bb5a64b5e94f693bfc48c9f8566418fda4c494cc94f911f87cc"
|
|
413
366
|
dependencies = [
|
|
414
367
|
"powerfmt",
|
|
415
368
|
]
|
|
@@ -435,15 +388,6 @@ dependencies = [
|
|
|
435
388
|
"syn",
|
|
436
389
|
]
|
|
437
390
|
|
|
438
|
-
[[package]]
|
|
439
|
-
name = "document-features"
|
|
440
|
-
version = "0.2.11"
|
|
441
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
442
|
-
checksum = "95249b50c6c185bee49034bcb378a49dc2b5dff0be90ff6616d31d64febab05d"
|
|
443
|
-
dependencies = [
|
|
444
|
-
"litrs",
|
|
445
|
-
]
|
|
446
|
-
|
|
447
391
|
[[package]]
|
|
448
392
|
name = "either"
|
|
449
393
|
version = "1.15.0"
|
|
@@ -498,6 +442,12 @@ dependencies = [
|
|
|
498
442
|
"pin-project-lite",
|
|
499
443
|
]
|
|
500
444
|
|
|
445
|
+
[[package]]
|
|
446
|
+
name = "find-msvc-tools"
|
|
447
|
+
version = "0.1.0"
|
|
448
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
449
|
+
checksum = "e178e4fba8a2726903f6ba98a6d221e76f9c12c650d5dc0e6afdc50677b49650"
|
|
450
|
+
|
|
501
451
|
[[package]]
|
|
502
452
|
name = "flate2"
|
|
503
453
|
version = "1.1.2"
|
|
@@ -699,7 +649,7 @@ dependencies = [
|
|
|
699
649
|
"cfg-if",
|
|
700
650
|
"libc",
|
|
701
651
|
"r-efi",
|
|
702
|
-
"wasi 0.14.
|
|
652
|
+
"wasi 0.14.3+wasi-0.2.4",
|
|
703
653
|
]
|
|
704
654
|
|
|
705
655
|
[[package]]
|
|
@@ -999,6 +949,16 @@ version = "2.11.0"
|
|
|
999
949
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1000
950
|
checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130"
|
|
1001
951
|
|
|
952
|
+
[[package]]
|
|
953
|
+
name = "iri-string"
|
|
954
|
+
version = "0.7.8"
|
|
955
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
956
|
+
checksum = "dbc5ebe9c3a1a7a5127f920a418f7585e9e758e911d0466ed004f393b0e380b2"
|
|
957
|
+
dependencies = [
|
|
958
|
+
"memchr",
|
|
959
|
+
"serde",
|
|
960
|
+
]
|
|
961
|
+
|
|
1002
962
|
[[package]]
|
|
1003
963
|
name = "itertools"
|
|
1004
964
|
version = "0.13.0"
|
|
@@ -1072,12 +1032,6 @@ version = "0.8.0"
|
|
|
1072
1032
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1073
1033
|
checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956"
|
|
1074
1034
|
|
|
1075
|
-
[[package]]
|
|
1076
|
-
name = "litrs"
|
|
1077
|
-
version = "0.4.2"
|
|
1078
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1079
|
-
checksum = "f5e54036fe321fd421e10d732f155734c4e4afd610dd556d9a82833ab3ee0bed"
|
|
1080
|
-
|
|
1081
1035
|
[[package]]
|
|
1082
1036
|
name = "lock_api"
|
|
1083
1037
|
version = "0.4.13"
|
|
@@ -1109,11 +1063,11 @@ dependencies = [
|
|
|
1109
1063
|
|
|
1110
1064
|
[[package]]
|
|
1111
1065
|
name = "matchers"
|
|
1112
|
-
version = "0.
|
|
1066
|
+
version = "0.2.0"
|
|
1113
1067
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1114
|
-
checksum = "
|
|
1068
|
+
checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9"
|
|
1115
1069
|
dependencies = [
|
|
1116
|
-
"regex-automata
|
|
1070
|
+
"regex-automata",
|
|
1117
1071
|
]
|
|
1118
1072
|
|
|
1119
1073
|
[[package]]
|
|
@@ -1213,12 +1167,11 @@ dependencies = [
|
|
|
1213
1167
|
|
|
1214
1168
|
[[package]]
|
|
1215
1169
|
name = "nu-ansi-term"
|
|
1216
|
-
version = "0.
|
|
1170
|
+
version = "0.50.1"
|
|
1217
1171
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1218
|
-
checksum = "
|
|
1172
|
+
checksum = "d4a28e057d01f97e61255210fcff094d74ed0466038633e95017f5beb68e4399"
|
|
1219
1173
|
dependencies = [
|
|
1220
|
-
"
|
|
1221
|
-
"winapi",
|
|
1174
|
+
"windows-sys 0.52.0",
|
|
1222
1175
|
]
|
|
1223
1176
|
|
|
1224
1177
|
[[package]]
|
|
@@ -1257,12 +1210,6 @@ dependencies = [
|
|
|
1257
1210
|
"syn",
|
|
1258
1211
|
]
|
|
1259
1212
|
|
|
1260
|
-
[[package]]
|
|
1261
|
-
name = "overload"
|
|
1262
|
-
version = "0.1.1"
|
|
1263
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1264
|
-
checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39"
|
|
1265
|
-
|
|
1266
1213
|
[[package]]
|
|
1267
1214
|
name = "parking"
|
|
1268
1215
|
version = "2.2.1"
|
|
@@ -1324,9 +1271,9 @@ checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483"
|
|
|
1324
1271
|
|
|
1325
1272
|
[[package]]
|
|
1326
1273
|
name = "potential_utf"
|
|
1327
|
-
version = "0.1.
|
|
1274
|
+
version = "0.1.3"
|
|
1328
1275
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1329
|
-
checksum = "
|
|
1276
|
+
checksum = "84df19adbe5b5a0782edcab45899906947ab039ccf4573713735ee7de1e6b08a"
|
|
1330
1277
|
dependencies = [
|
|
1331
1278
|
"zerovec",
|
|
1332
1279
|
]
|
|
@@ -1355,22 +1302,6 @@ dependencies = [
|
|
|
1355
1302
|
"unicode-ident",
|
|
1356
1303
|
]
|
|
1357
1304
|
|
|
1358
|
-
[[package]]
|
|
1359
|
-
name = "psl-types"
|
|
1360
|
-
version = "2.0.11"
|
|
1361
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1362
|
-
checksum = "33cb294fe86a74cbcf50d4445b37da762029549ebeea341421c7c70370f86cac"
|
|
1363
|
-
|
|
1364
|
-
[[package]]
|
|
1365
|
-
name = "publicsuffix"
|
|
1366
|
-
version = "2.3.0"
|
|
1367
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1368
|
-
checksum = "6f42ea446cab60335f76979ec15e12619a2165b5ae2c12166bef27d283a9fadf"
|
|
1369
|
-
dependencies = [
|
|
1370
|
-
"idna",
|
|
1371
|
-
"psl-types",
|
|
1372
|
-
]
|
|
1373
|
-
|
|
1374
1305
|
[[package]]
|
|
1375
1306
|
name = "pyo3"
|
|
1376
1307
|
version = "0.25.1"
|
|
@@ -1520,17 +1451,8 @@ checksum = "23d7fd106d8c02486a8d64e778353d1cffe08ce79ac2e82f540c86d0facf6912"
|
|
|
1520
1451
|
dependencies = [
|
|
1521
1452
|
"aho-corasick",
|
|
1522
1453
|
"memchr",
|
|
1523
|
-
"regex-automata
|
|
1524
|
-
"regex-syntax
|
|
1525
|
-
]
|
|
1526
|
-
|
|
1527
|
-
[[package]]
|
|
1528
|
-
name = "regex-automata"
|
|
1529
|
-
version = "0.1.10"
|
|
1530
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1531
|
-
checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
|
|
1532
|
-
dependencies = [
|
|
1533
|
-
"regex-syntax 0.6.29",
|
|
1454
|
+
"regex-automata",
|
|
1455
|
+
"regex-syntax",
|
|
1534
1456
|
]
|
|
1535
1457
|
|
|
1536
1458
|
[[package]]
|
|
@@ -1541,15 +1463,9 @@ checksum = "6b9458fa0bfeeac22b5ca447c63aaf45f28439a709ccd244698632f9aa6394d6"
|
|
|
1541
1463
|
dependencies = [
|
|
1542
1464
|
"aho-corasick",
|
|
1543
1465
|
"memchr",
|
|
1544
|
-
"regex-syntax
|
|
1466
|
+
"regex-syntax",
|
|
1545
1467
|
]
|
|
1546
1468
|
|
|
1547
|
-
[[package]]
|
|
1548
|
-
name = "regex-syntax"
|
|
1549
|
-
version = "0.6.29"
|
|
1550
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1551
|
-
checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1"
|
|
1552
|
-
|
|
1553
1469
|
[[package]]
|
|
1554
1470
|
name = "regex-syntax"
|
|
1555
1471
|
version = "0.8.6"
|
|
@@ -1578,23 +1494,22 @@ dependencies = [
|
|
|
1578
1494
|
|
|
1579
1495
|
[[package]]
|
|
1580
1496
|
name = "rnet"
|
|
1581
|
-
version = "3.0.0-
|
|
1497
|
+
version = "3.0.0-rc3"
|
|
1582
1498
|
dependencies = [
|
|
1583
1499
|
"bytes",
|
|
1584
1500
|
"cookie",
|
|
1585
|
-
"cookie_store",
|
|
1586
1501
|
"futures-util",
|
|
1587
1502
|
"hickory-resolver",
|
|
1503
|
+
"http",
|
|
1504
|
+
"http-body-util",
|
|
1588
1505
|
"indexmap",
|
|
1589
1506
|
"mimalloc",
|
|
1590
|
-
"mime",
|
|
1591
1507
|
"pin-project-lite",
|
|
1592
1508
|
"pyo3",
|
|
1593
1509
|
"pyo3-async-runtimes",
|
|
1594
1510
|
"serde",
|
|
1595
1511
|
"tikv-jemallocator",
|
|
1596
1512
|
"tokio",
|
|
1597
|
-
"url",
|
|
1598
1513
|
"wreq",
|
|
1599
1514
|
"wreq-util",
|
|
1600
1515
|
]
|
|
@@ -1907,12 +1822,11 @@ dependencies = [
|
|
|
1907
1822
|
|
|
1908
1823
|
[[package]]
|
|
1909
1824
|
name = "time"
|
|
1910
|
-
version = "0.3.
|
|
1825
|
+
version = "0.3.43"
|
|
1911
1826
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1912
|
-
checksum = "
|
|
1827
|
+
checksum = "83bde6f1ec10e72d583d91623c939f623002284ef622b87de38cfd546cbf2031"
|
|
1913
1828
|
dependencies = [
|
|
1914
1829
|
"deranged",
|
|
1915
|
-
"itoa",
|
|
1916
1830
|
"num-conv",
|
|
1917
1831
|
"powerfmt",
|
|
1918
1832
|
"serde",
|
|
@@ -1922,15 +1836,15 @@ dependencies = [
|
|
|
1922
1836
|
|
|
1923
1837
|
[[package]]
|
|
1924
1838
|
name = "time-core"
|
|
1925
|
-
version = "0.1.
|
|
1839
|
+
version = "0.1.6"
|
|
1926
1840
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1927
|
-
checksum = "
|
|
1841
|
+
checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b"
|
|
1928
1842
|
|
|
1929
1843
|
[[package]]
|
|
1930
1844
|
name = "time-macros"
|
|
1931
|
-
version = "0.2.
|
|
1845
|
+
version = "0.2.24"
|
|
1932
1846
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1933
|
-
checksum = "
|
|
1847
|
+
checksum = "30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3"
|
|
1934
1848
|
dependencies = [
|
|
1935
1849
|
"num-conv",
|
|
1936
1850
|
"time-core",
|
|
@@ -1981,9 +1895,9 @@ dependencies = [
|
|
|
1981
1895
|
|
|
1982
1896
|
[[package]]
|
|
1983
1897
|
name = "tokio-boring2"
|
|
1984
|
-
version = "5.0.0-alpha.
|
|
1898
|
+
version = "5.0.0-alpha.8"
|
|
1985
1899
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1986
|
-
checksum = "
|
|
1900
|
+
checksum = "056f13b9bc29333eabe4791e41994c776060228e834a73f8e5c191cfceb94188"
|
|
1987
1901
|
dependencies = [
|
|
1988
1902
|
"boring-sys2",
|
|
1989
1903
|
"boring2",
|
|
@@ -2013,6 +1927,18 @@ dependencies = [
|
|
|
2013
1927
|
"tokio",
|
|
2014
1928
|
]
|
|
2015
1929
|
|
|
1930
|
+
[[package]]
|
|
1931
|
+
name = "tokio-tungstenite"
|
|
1932
|
+
version = "0.27.0"
|
|
1933
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1934
|
+
checksum = "489a59b6730eda1b0171fcfda8b121f4bee2b35cba8645ca35c5f7ba3eb736c1"
|
|
1935
|
+
dependencies = [
|
|
1936
|
+
"futures-util",
|
|
1937
|
+
"log",
|
|
1938
|
+
"tokio",
|
|
1939
|
+
"tungstenite",
|
|
1940
|
+
]
|
|
1941
|
+
|
|
2016
1942
|
[[package]]
|
|
2017
1943
|
name = "tokio-util"
|
|
2018
1944
|
version = "0.7.16"
|
|
@@ -2106,14 +2032,14 @@ dependencies = [
|
|
|
2106
2032
|
|
|
2107
2033
|
[[package]]
|
|
2108
2034
|
name = "tracing-subscriber"
|
|
2109
|
-
version = "0.3.
|
|
2035
|
+
version = "0.3.20"
|
|
2110
2036
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2111
|
-
checksum = "
|
|
2037
|
+
checksum = "2054a14f5307d601f88daf0553e1cbf472acc4f2c51afab632431cdcd72124d5"
|
|
2112
2038
|
dependencies = [
|
|
2113
2039
|
"matchers",
|
|
2114
2040
|
"nu-ansi-term",
|
|
2115
2041
|
"once_cell",
|
|
2116
|
-
"regex",
|
|
2042
|
+
"regex-automata",
|
|
2117
2043
|
"sharded-slab",
|
|
2118
2044
|
"smallvec",
|
|
2119
2045
|
"thread_local",
|
|
@@ -2221,9 +2147,9 @@ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
|
|
|
2221
2147
|
|
|
2222
2148
|
[[package]]
|
|
2223
2149
|
name = "uuid"
|
|
2224
|
-
version = "1.18.
|
|
2150
|
+
version = "1.18.1"
|
|
2225
2151
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2226
|
-
checksum = "
|
|
2152
|
+
checksum = "2f87b8aa10b915a06587d0dec516c282ff295b475d94abf425d62b57710070a2"
|
|
2227
2153
|
dependencies = [
|
|
2228
2154
|
"getrandom 0.3.3",
|
|
2229
2155
|
"js-sys",
|
|
@@ -2259,11 +2185,11 @@ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
|
|
|
2259
2185
|
|
|
2260
2186
|
[[package]]
|
|
2261
2187
|
name = "wasi"
|
|
2262
|
-
version = "0.14.
|
|
2188
|
+
version = "0.14.3+wasi-0.2.4"
|
|
2263
2189
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2264
|
-
checksum = "
|
|
2190
|
+
checksum = "6a51ae83037bdd272a9e28ce236db8c07016dd0d50c27038b3f407533c030c95"
|
|
2265
2191
|
dependencies = [
|
|
2266
|
-
"wit-bindgen
|
|
2192
|
+
"wit-bindgen",
|
|
2267
2193
|
]
|
|
2268
2194
|
|
|
2269
2195
|
[[package]]
|
|
@@ -2696,28 +2622,22 @@ dependencies = [
|
|
|
2696
2622
|
]
|
|
2697
2623
|
|
|
2698
2624
|
[[package]]
|
|
2699
|
-
name = "wit-bindgen
|
|
2700
|
-
version = "0.
|
|
2625
|
+
name = "wit-bindgen"
|
|
2626
|
+
version = "0.45.0"
|
|
2701
2627
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2702
|
-
checksum = "
|
|
2703
|
-
dependencies = [
|
|
2704
|
-
"bitflags",
|
|
2705
|
-
]
|
|
2628
|
+
checksum = "052283831dbae3d879dc7f51f3d92703a316ca49f91540417d38591826127814"
|
|
2706
2629
|
|
|
2707
2630
|
[[package]]
|
|
2708
2631
|
name = "wreq"
|
|
2709
|
-
version = "6.0.0-rc.
|
|
2632
|
+
version = "6.0.0-rc.13"
|
|
2710
2633
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2711
|
-
checksum = "
|
|
2634
|
+
checksum = "d060f55257ac26b82db150912c456c002d403e35bd36e0ef6203ff43e34b5a08"
|
|
2712
2635
|
dependencies = [
|
|
2713
2636
|
"ahash",
|
|
2714
|
-
"async-tungstenite",
|
|
2715
|
-
"base64",
|
|
2716
2637
|
"boring2",
|
|
2717
2638
|
"brotli",
|
|
2718
2639
|
"bytes",
|
|
2719
2640
|
"cookie",
|
|
2720
|
-
"cookie_store",
|
|
2721
2641
|
"encoding_rs",
|
|
2722
2642
|
"flate2",
|
|
2723
2643
|
"futures-channel",
|
|
@@ -2728,6 +2648,7 @@ dependencies = [
|
|
|
2728
2648
|
"http2",
|
|
2729
2649
|
"httparse",
|
|
2730
2650
|
"ipnet",
|
|
2651
|
+
"iri-string",
|
|
2731
2652
|
"libc",
|
|
2732
2653
|
"mime",
|
|
2733
2654
|
"mime_guess",
|
|
@@ -2743,10 +2664,10 @@ dependencies = [
|
|
|
2743
2664
|
"tokio",
|
|
2744
2665
|
"tokio-boring2",
|
|
2745
2666
|
"tokio-socks",
|
|
2667
|
+
"tokio-tungstenite",
|
|
2746
2668
|
"tokio-util",
|
|
2747
2669
|
"tower",
|
|
2748
2670
|
"tower-http",
|
|
2749
|
-
"url",
|
|
2750
2671
|
"want",
|
|
2751
2672
|
"webpki-root-certs",
|
|
2752
2673
|
"zstd",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "rnet"
|
|
3
|
-
version = "3.0.0-
|
|
3
|
+
version = "3.0.0-rc3"
|
|
4
4
|
description = "A blazing-fast Python HTTP client with TLS fingerprint"
|
|
5
5
|
edition = "2024"
|
|
6
6
|
rust-version = "1.85.0"
|
|
@@ -35,15 +35,14 @@ pyo3-async-runtimes = { version = "0.25.0", features = [
|
|
|
35
35
|
"tokio-runtime",
|
|
36
36
|
"unstable-streams",
|
|
37
37
|
] }
|
|
38
|
+
pin-project-lite = "0.2.16"
|
|
38
39
|
serde = { version = "1.0.219", features = ["derive"] }
|
|
39
|
-
mime = "0.3.17"
|
|
40
40
|
indexmap = { version = "2.10.0", features = ["serde"] }
|
|
41
|
-
url = "2.5.4"
|
|
42
41
|
bytes = "1.10.1"
|
|
43
|
-
pin-project-lite = "0.2.16"
|
|
44
42
|
futures-util = { version = "0.3.31", default-features = false }
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
http = "1"
|
|
44
|
+
http-body-util = "0.1.3"
|
|
45
|
+
wreq = { version = "6.0.0-rc.13", features = [
|
|
47
46
|
"json",
|
|
48
47
|
"socks",
|
|
49
48
|
"stream",
|
|
@@ -57,15 +56,8 @@ wreq = { version = "6.0.0-rc.8", default-features = false, features = [
|
|
|
57
56
|
"ws",
|
|
58
57
|
] }
|
|
59
58
|
wreq-util = { version = "3.0.0-rc.1", features = ["emulation-rand"] }
|
|
60
|
-
|
|
61
|
-
## hickory-dns
|
|
62
59
|
hickory-resolver = "0.25.2"
|
|
63
|
-
|
|
64
|
-
## cookies
|
|
65
|
-
cookie_crate = { version = "0.18", package = "cookie" }
|
|
66
|
-
cookie_store = { version = "0.22" }
|
|
67
|
-
|
|
68
|
-
## malloc
|
|
60
|
+
cookie = "0.18"
|
|
69
61
|
mimalloc = { version = "0.1.43", default-features = false, features = [
|
|
70
62
|
"local_dynamic_tls",
|
|
71
63
|
], optional = true }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rnet
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.0rc3
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
@@ -60,7 +60,7 @@ A blazing-fast Python HTTP client with advanced browser fingerprinting that accu
|
|
|
60
60
|
This asynchronous example demonstrates how to make a simple GET request using the `rnet` library. So you need install `rnet` and run the following code:
|
|
61
61
|
|
|
62
62
|
```bash
|
|
63
|
-
pip install asyncio rnet==3.0.
|
|
63
|
+
pip install asyncio rnet==3.0.0rc3
|
|
64
64
|
```
|
|
65
65
|
|
|
66
66
|
And then the code:
|
|
@@ -91,7 +91,8 @@ Additional learning resources include:
|
|
|
91
91
|
- [DeepWiki](https://deepwiki.com/0x676e67/rnet)
|
|
92
92
|
- [API Documentation](https://github.com/0x676e67/rnet/blob/main/python/rnet)
|
|
93
93
|
- [Repository Tests](https://github.com/0x676e67/rnet/tree/main/tests)
|
|
94
|
-
- [
|
|
94
|
+
- [Synchronous Examples](https://github.com/0x676e67/rnet/tree/main/python/examples/blocking)
|
|
95
|
+
- [Asynchronous Examples](https://github.com/0x676e67/rnet/tree/main/python/examples)
|
|
95
96
|
|
|
96
97
|
## Platforms
|
|
97
98
|
|
|
@@ -32,7 +32,7 @@ A blazing-fast Python HTTP client with advanced browser fingerprinting that accu
|
|
|
32
32
|
This asynchronous example demonstrates how to make a simple GET request using the `rnet` library. So you need install `rnet` and run the following code:
|
|
33
33
|
|
|
34
34
|
```bash
|
|
35
|
-
pip install asyncio rnet==3.0.
|
|
35
|
+
pip install asyncio rnet==3.0.0rc3
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
And then the code:
|
|
@@ -63,7 +63,8 @@ Additional learning resources include:
|
|
|
63
63
|
- [DeepWiki](https://deepwiki.com/0x676e67/rnet)
|
|
64
64
|
- [API Documentation](https://github.com/0x676e67/rnet/blob/main/python/rnet)
|
|
65
65
|
- [Repository Tests](https://github.com/0x676e67/rnet/tree/main/tests)
|
|
66
|
-
- [
|
|
66
|
+
- [Synchronous Examples](https://github.com/0x676e67/rnet/tree/main/python/examples/blocking)
|
|
67
|
+
- [Asynchronous Examples](https://github.com/0x676e67/rnet/tree/main/python/examples)
|
|
67
68
|
|
|
68
69
|
## Platforms
|
|
69
70
|
|
|
@@ -18,7 +18,7 @@ async def print_response_info(resp: Response):
|
|
|
18
18
|
print(f"Encoding: {resp.encoding}")
|
|
19
19
|
print(f"Content-Length: {resp.content_length}")
|
|
20
20
|
print(f"Remote Address: {resp.remote_addr}")
|
|
21
|
-
print(f"Peer Certificate: {resp.peer_certificate
|
|
21
|
+
print(f"Peer Certificate: {resp.peer_certificate}")
|
|
22
22
|
print(f"Content: {await resp.text()}")
|
|
23
23
|
print("========================\n")
|
|
24
24
|
|