rnet 3.0.0rc1__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.

Files changed (109) hide show
  1. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/.github/workflows/ci.yml +1 -1
  2. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/Cargo.lock +118 -229
  3. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/Cargo.toml +7 -14
  4. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/PKG-INFO +4 -3
  5. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/README.md +3 -2
  6. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/pyproject.toml +4 -0
  7. rnet-3.0.0rc3/python/benchmark/benchmark_multi.jpg +0 -0
  8. rnet-3.0.0rc3/python/benchmark/benchmark_multi_threaded.jpg +0 -0
  9. rnet-3.0.0rc3/python/benchmark/benchmark_results.csv +235 -0
  10. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/client.py +1 -1
  11. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/emulation.py +1 -1
  12. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/http1_websocket.py +33 -9
  13. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/http2_websocket.py +19 -9
  14. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/orig_headers.py +1 -1
  15. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/request.py +1 -1
  16. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/rnet/__init__.pyi +128 -98
  17. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/rnet/blocking.py +48 -84
  18. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/rnet/cookie.py +10 -10
  19. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/rnet/emulation.py +4 -5
  20. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/rnet/header.py +33 -159
  21. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/rnet/tls.py +5 -5
  22. rnet-3.0.0rc3/src/buffer.rs +99 -0
  23. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/src/client/body.rs +17 -19
  24. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/src/client/mod.rs +304 -405
  25. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/src/client/request.rs +2 -3
  26. {rnet-3.0.0rc1/src/client → rnet-3.0.0rc3/src/client/response}/future.rs +16 -2
  27. rnet-3.0.0rc3/src/client/response/history.rs +48 -0
  28. rnet-3.0.0rc3/src/client/response/http.rs +410 -0
  29. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/src/client/response/mod.rs +3 -1
  30. rnet-3.0.0rc3/src/client/response/stream.rs +107 -0
  31. rnet-3.0.0rc3/src/client/response/ws/cmd.rs +158 -0
  32. rnet-3.0.0rc3/src/client/response/ws/mod.rs +255 -0
  33. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/src/client/response/ws/msg.rs +24 -16
  34. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/src/error.rs +16 -12
  35. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/src/extractor.rs +11 -9
  36. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/src/http/cookie.rs +28 -83
  37. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/src/http/header.rs +66 -135
  38. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/src/http/status.rs +1 -1
  39. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/src/lib.rs +17 -18
  40. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/src/macros.rs +14 -14
  41. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/src/proxy.rs +1 -1
  42. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/tests/cookie_test.py +6 -6
  43. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/tests/header_test.py +36 -6
  44. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/tests/redirect_test.py +21 -11
  45. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/tests/response_test.py +2 -14
  46. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/tests/tls_test.py +1 -1
  47. rnet-3.0.0rc1/python/benchmark/benchmark_multi.jpg +0 -0
  48. rnet-3.0.0rc1/python/benchmark/benchmark_multi_threaded.jpg +0 -0
  49. rnet-3.0.0rc1/python/benchmark/benchmark_results.csv +0 -151
  50. rnet-3.0.0rc1/python/examples/blocking/http1_websocket.py +0 -64
  51. rnet-3.0.0rc1/src/buffer.rs +0 -104
  52. rnet-3.0.0rc1/src/client/response/http.rs +0 -387
  53. rnet-3.0.0rc1/src/client/response/stream.rs +0 -127
  54. rnet-3.0.0rc1/src/client/response/ws/mod.rs +0 -380
  55. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/.github/FUNDING.yml +0 -0
  56. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  57. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  58. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/.github/assets/capsolver.jpg +0 -0
  59. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/.github/dependabot.yml +0 -0
  60. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/.github/musl_build.sh +0 -0
  61. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/.gitignore +0 -0
  62. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/LICENSE +0 -0
  63. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/README.md +0 -0
  64. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/benchmark/README.md +0 -0
  65. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/benchmark/bench.py +0 -0
  66. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/benchmark/requirements.txt +0 -0
  67. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/benchmark/server.py +0 -0
  68. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/auth.py +0 -0
  69. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/basic_auth.py +0 -0
  70. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/bearer_auth.py +0 -0
  71. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/blocking/auth.py +0 -0
  72. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/blocking/basic_auth.py +0 -0
  73. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/blocking/bearer_auth.py +0 -0
  74. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/blocking/body.py +0 -0
  75. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/blocking/client.py +0 -0
  76. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/blocking/cookie.py +0 -0
  77. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/blocking/emulation.py +0 -0
  78. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/blocking/form.py +0 -0
  79. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/blocking/get.py +0 -0
  80. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/blocking/json.py +0 -0
  81. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/blocking/multipart.py +0 -0
  82. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/blocking/proxy.py +0 -0
  83. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/blocking/query.py +0 -0
  84. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/blocking/stream.py +0 -0
  85. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/body.py +0 -0
  86. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/exceptions.py +0 -0
  87. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/form.py +0 -0
  88. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/get.py +0 -0
  89. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/header_map.py +0 -0
  90. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/json.py +0 -0
  91. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/keylog.py +0 -0
  92. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/multipart.py +0 -0
  93. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/proxy.py +0 -0
  94. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/query.py +0 -0
  95. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/examples/stream.py +0 -0
  96. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/rnet/__init__.py +0 -0
  97. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/rnet/exceptions.py +0 -0
  98. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/python/rnet/py.typed +0 -0
  99. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/src/client/dns.rs +0 -0
  100. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/src/client/multipart/form.rs +0 -0
  101. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/src/client/multipart/mod.rs +0 -0
  102. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/src/client/multipart/part.rs +0 -0
  103. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/src/emulation.rs +0 -0
  104. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/src/http/mod.rs +0 -0
  105. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/src/tls/identity.rs +0 -0
  106. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/src/tls/keylog.rs +0 -0
  107. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/src/tls/mod.rs +0 -0
  108. {rnet-3.0.0rc1 → rnet-3.0.0rc3}/src/tls/store.rs +0 -0
  109. {rnet-3.0.0rc1 → 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') || contains(github.ref, 'rc') }}
286
+ prerelease: ${{ contains(github.ref, 'alpha') || contains(github.ref, 'beta') }}
287
287
  generate_release_notes: true