rnet 3.0.0rc2__tar.gz → 3.0.0rc4__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.0rc4}/.github/workflows/ci.yml +1 -1
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/Cargo.lock +114 -193
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/Cargo.toml +11 -19
- rnet-3.0.0rc4/LICENSE +201 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/PKG-INFO +47 -47
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/README.md +45 -45
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/pyproject.toml +5 -1
- rnet-3.0.0rc4/python/benchmark/bench.py +126 -0
- rnet-3.0.0rc4/python/benchmark/benchmark_multi.jpg +0 -0
- rnet-3.0.0rc4/python/benchmark/benchmark_multi_threaded.jpg +0 -0
- rnet-3.0.0rc4/python/benchmark/benchmark_results.csv +235 -0
- rnet-3.0.0rc4/python/benchmark/chart.py +162 -0
- rnet-3.0.0rc4/python/benchmark/core.py +291 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/auth.py +0 -1
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/blocking/auth.py +0 -1
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/blocking/client.py +2 -25
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/blocking/emulation.py +1 -2
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/blocking/multipart.py +0 -1
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/client.py +2 -2
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/emulation.py +1 -2
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/exceptions.py +0 -1
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/form.py +0 -1
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/http1_websocket.py +33 -9
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/http2_websocket.py +19 -9
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/keylog.py +2 -1
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/multipart.py +0 -1
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/request.py +1 -2
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/rnet/__init__.py +1 -3
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/rnet/__init__.pyi +806 -596
- rnet-3.0.0rc4/python/rnet/blocking.py +419 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/rnet/cookie.py +16 -6
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/rnet/emulation.py +6 -3
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/rnet/exceptions.py +17 -13
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/rnet/header.py +50 -127
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/rnet/tls.py +6 -4
- rnet-3.0.0rc4/src/buffer.rs +99 -0
- rnet-3.0.0rc2/src/client/body.rs → rnet-3.0.0rc4/src/client/body/mod.rs +30 -58
- rnet-3.0.0rc4/src/client/body/multipart.rs +155 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/src/client/mod.rs +312 -409
- rnet-3.0.0rc2/src/client/request.rs → rnet-3.0.0rc4/src/client/req.rs +41 -3
- rnet-3.0.0rc4/src/client/resp/future.rs +102 -0
- rnet-3.0.0rc4/src/client/resp/history.rs +48 -0
- rnet-3.0.0rc4/src/client/resp/http.rs +404 -0
- {rnet-3.0.0rc2/src/client/response → rnet-3.0.0rc4/src/client/resp}/mod.rs +3 -1
- rnet-3.0.0rc4/src/client/resp/stream.rs +107 -0
- rnet-3.0.0rc4/src/client/resp/ws/cmd.rs +175 -0
- rnet-3.0.0rc4/src/client/resp/ws/mod.rs +275 -0
- {rnet-3.0.0rc2/src/client/response → rnet-3.0.0rc4/src/client/resp}/ws/msg.rs +33 -28
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/src/error.rs +17 -14
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/src/extractor.rs +12 -2
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/src/http/cookie.rs +41 -103
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/src/http/header.rs +70 -139
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/src/http/status.rs +1 -1
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/src/lib.rs +21 -21
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/src/macros.rs +14 -14
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/src/proxy.rs +2 -2
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/tests/cookie_test.py +6 -6
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/tests/header_test.py +36 -6
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/tests/redirect_test.py +21 -11
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/tests/request_test.py +2 -1
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/tests/response_test.py +2 -14
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/tests/tls_test.py +1 -1
- rnet-3.0.0rc2/LICENSE +0 -674
- rnet-3.0.0rc2/python/README.md +0 -36
- rnet-3.0.0rc2/python/benchmark/bench.py +0 -452
- rnet-3.0.0rc2/python/benchmark/benchmark_multi.jpg +0 -0
- rnet-3.0.0rc2/python/benchmark/benchmark_multi_threaded.jpg +0 -0
- rnet-3.0.0rc2/python/benchmark/benchmark_results.csv +0 -235
- rnet-3.0.0rc2/python/examples/blocking/http1_websocket.py +0 -64
- rnet-3.0.0rc2/python/rnet/blocking.py +0 -467
- rnet-3.0.0rc2/src/buffer.rs +0 -104
- rnet-3.0.0rc2/src/client/multipart/form.rs +0 -30
- rnet-3.0.0rc2/src/client/multipart/mod.rs +0 -4
- rnet-3.0.0rc2/src/client/multipart/part.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/src/client/response/ws/mod.rs +0 -392
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/.github/FUNDING.yml +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/.github/assets/capsolver.jpg +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/.github/dependabot.yml +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/.github/musl_build.sh +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/.gitignore +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/benchmark/README.md +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/benchmark/requirements.txt +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/benchmark/server.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/basic_auth.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/bearer_auth.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/blocking/basic_auth.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/blocking/bearer_auth.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/blocking/body.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/blocking/cookie.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/blocking/form.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/blocking/get.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/blocking/json.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/blocking/proxy.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/blocking/query.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/blocking/stream.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/body.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/get.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/header_map.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/json.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/orig_headers.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/proxy.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/query.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/examples/stream.py +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/python/rnet/py.typed +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/src/client/dns.rs +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/src/emulation.rs +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/src/http/mod.rs +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/src/tls/identity.rs +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/src/tls/keylog.rs +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/src/tls/mod.rs +0 -0
- {rnet-3.0.0rc2 → rnet-3.0.0rc4}/src/tls/store.rs +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
|