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.

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