rnet 3.0.0rc9__tar.gz → 3.0.0rc10__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 (116) hide show
  1. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/.github/workflows/ci.yml +3 -3
  2. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/.gitignore +2 -0
  3. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/Cargo.lock +140 -177
  4. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/Cargo.toml +5 -5
  5. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/PKG-INFO +25 -25
  6. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/README.md +24 -24
  7. rnet-3.0.0rc10/python/benchmark/README.md +73 -0
  8. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/benchmark/bench.py +5 -0
  9. rnet-3.0.0rc10/python/benchmark/benchmark_multi.jpg +0 -0
  10. rnet-3.0.0rc10/python/benchmark/benchmark_multi_threaded.jpg +0 -0
  11. rnet-3.0.0rc10/python/benchmark/benchmark_results.csv +241 -0
  12. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/benchmark/core.py +1 -1
  13. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/benchmark/requirements.txt +4 -1
  14. rnet-3.0.0rc10/python/examples/auth.py +14 -0
  15. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/body.py +7 -5
  16. rnet-3.0.0rc10/python/examples/form.py +30 -0
  17. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/keylog.py +1 -5
  18. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/multipart.py +2 -8
  19. rnet-3.0.0rc9/python/examples/client.py → rnet-3.0.0rc10/python/examples/proxy.py +19 -11
  20. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/rnet/__init__.pyi +10 -1
  21. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/rnet/cookie.py +2 -1
  22. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/rnet/emulation.py +5 -0
  23. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/rnet/http1.py +2 -1
  24. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/rnet/http2.py +10 -1
  25. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/rnet/tls.py +10 -1
  26. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/src/buffer.rs +7 -2
  27. rnet-3.0.0rc10/src/client/body/form.rs +45 -0
  28. rnet-3.0.0rc10/src/client/body/json.rs +59 -0
  29. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/src/client/body/multipart.rs +7 -4
  30. rnet-3.0.0rc9/src/client/body/mod.rs → rnet-3.0.0rc10/src/client/body.rs +14 -26
  31. rnet-3.0.0rc9/src/client/nogil.rs → rnet-3.0.0rc10/src/client/future.rs +18 -20
  32. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/src/client/req.rs +11 -8
  33. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/src/client/resp/http.rs +19 -19
  34. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/src/client/resp/stream.rs +4 -4
  35. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/src/client/resp/ws/msg.rs +1 -1
  36. rnet-3.0.0rc9/src/client/resp/ws/mod.rs → rnet-3.0.0rc10/src/client/resp/ws.rs +1 -1
  37. rnet-3.0.0rc9/src/client/mod.rs → rnet-3.0.0rc10/src/client.rs +8 -9
  38. {rnet-3.0.0rc9/src/client → rnet-3.0.0rc10/src}/dns.rs +1 -0
  39. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/src/emulation.rs +1 -0
  40. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/src/extractor.rs +45 -22
  41. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/src/http1.rs +4 -2
  42. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/src/http2.rs +4 -2
  43. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/src/lib.rs +3 -2
  44. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/src/macros.rs +1 -0
  45. {rnet-3.0.0rc9/src/bridge → rnet-3.0.0rc10/src/rt}/sync.rs +68 -31
  46. {rnet-3.0.0rc9/src/bridge → rnet-3.0.0rc10/src/rt}/task.rs +10 -36
  47. rnet-3.0.0rc9/src/bridge/mod.rs → rnet-3.0.0rc10/src/rt.rs +99 -80
  48. rnet-3.0.0rc9/src/tls/mod.rs → rnet-3.0.0rc10/src/tls.rs +4 -2
  49. rnet-3.0.0rc9/python/benchmark/README.md +0 -41
  50. rnet-3.0.0rc9/python/benchmark/benchmark_multi.jpg +0 -0
  51. rnet-3.0.0rc9/python/benchmark/benchmark_multi_threaded.jpg +0 -0
  52. rnet-3.0.0rc9/python/benchmark/benchmark_results.csv +0 -235
  53. rnet-3.0.0rc9/python/examples/auth.py +0 -21
  54. rnet-3.0.0rc9/python/examples/form.py +0 -21
  55. rnet-3.0.0rc9/python/examples/get.py +0 -16
  56. rnet-3.0.0rc9/python/examples/proxy.py +0 -23
  57. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/.github/FUNDING.yml +0 -0
  58. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  59. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  60. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/.github/assets/capsolver.jpg +0 -0
  61. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/.github/assets/hypersolutions.jpg +0 -0
  62. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/.github/dependabot.yml +0 -0
  63. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/.github/musl_build.sh +0 -0
  64. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/LICENSE +0 -0
  65. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/pyproject.toml +0 -0
  66. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/benchmark/chart.py +0 -0
  67. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/benchmark/server.py +0 -0
  68. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/basic_auth.py +0 -0
  69. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/bearer_auth.py +0 -0
  70. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/blocking/auth.py +0 -0
  71. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/blocking/basic_auth.py +0 -0
  72. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/blocking/bearer_auth.py +0 -0
  73. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/blocking/body.py +0 -0
  74. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/blocking/client.py +0 -0
  75. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/blocking/cookie.py +0 -0
  76. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/blocking/emulation.py +0 -0
  77. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/blocking/form.py +0 -0
  78. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/blocking/get.py +0 -0
  79. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/blocking/json.py +0 -0
  80. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/blocking/multipart.py +0 -0
  81. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/blocking/proxy.py +0 -0
  82. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/blocking/query.py +0 -0
  83. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/blocking/stream.py +0 -0
  84. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/emulation.py +0 -0
  85. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/exceptions.py +0 -0
  86. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/header_map.py +0 -0
  87. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/http1_websocket.py +0 -0
  88. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/http2_websocket.py +0 -0
  89. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/json.py +0 -0
  90. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/orig_headers.py +0 -0
  91. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/query.py +0 -0
  92. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/request.py +0 -0
  93. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/examples/stream.py +0 -0
  94. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/rnet/__init__.py +0 -0
  95. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/rnet/blocking.py +0 -0
  96. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/rnet/exceptions.py +0 -0
  97. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/rnet/header.py +0 -0
  98. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/python/rnet/py.typed +0 -0
  99. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/src/client/resp/history.rs +0 -0
  100. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/src/client/resp/ws/cmd.rs +0 -0
  101. /rnet-3.0.0rc9/src/client/resp/mod.rs → /rnet-3.0.0rc10/src/client/resp.rs +0 -0
  102. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/src/error.rs +0 -0
  103. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/src/http/cookie.rs +0 -0
  104. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/src/http/header.rs +0 -0
  105. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/src/http/status.rs +0 -0
  106. /rnet-3.0.0rc9/src/http/mod.rs → /rnet-3.0.0rc10/src/http.rs +0 -0
  107. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/src/proxy.rs +0 -0
  108. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/src/tls/identity.rs +0 -0
  109. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/src/tls/keylog.rs +0 -0
  110. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/src/tls/store.rs +0 -0
  111. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/tests/cookie_test.py +0 -0
  112. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/tests/header_test.py +0 -0
  113. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/tests/redirect_test.py +0 -0
  114. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/tests/request_test.py +0 -0
  115. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/tests/response_test.py +0 -0
  116. {rnet-3.0.0rc9 → rnet-3.0.0rc10}/tests/tls_test.py +0 -0
@@ -56,7 +56,7 @@ jobs:
56
56
  python-version: 3.x
57
57
  architecture: ${{ matrix.platform.target }}
58
58
  - name: Install the latest version of uv
59
- uses: astral-sh/setup-uv@v6
59
+ uses: astral-sh/setup-uv@v7
60
60
  - name: Set up virtual environment
61
61
  run: |
62
62
  uv venv
@@ -210,7 +210,6 @@ jobs:
210
210
  - name: Build wheels
211
211
  uses: PyO3/maturin-action@v1
212
212
  with:
213
- maturin-version: v1.9.4
214
213
  target: ${{ matrix.platform.target }}
215
214
  args: --release --out dist ${{ matrix.build_type.maturin_args }} --features ${{ matrix.platform.allocator || '' }}
216
215
  sccache: 'false'
@@ -276,7 +275,7 @@ jobs:
276
275
  features: abi3-py314
277
276
 
278
277
  steps:
279
- - uses: actions/checkout@v4
278
+ - uses: actions/checkout@v5
280
279
  - uses: actions/setup-python@v6
281
280
  with:
282
281
  python-version: 3.x
@@ -384,3 +383,4 @@ jobs:
384
383
  token: ${{ secrets.GITHUB_TOKEN }}
385
384
  prerelease: ${{ contains(github.ref, 'alpha') || contains(github.ref, 'beta') }}
386
385
  generate_release_notes: true
386
+ files: wheels-*/*
@@ -80,3 +80,5 @@ dist
80
80
 
81
81
  keylog.txt
82
82
  *.json
83
+ *.jpg
84
+ *.csv