rusty-req 0.1.5__tar.gz → 0.1.6__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 rusty-req might be problematic. Click here for more details.

@@ -0,0 +1,42 @@
1
+ name: Build and Publish Rust Python Extension
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main # 代码提交到 main 分支触发
7
+ pull_request:
8
+ branches:
9
+ - main # PR 目标分支为 main 时触发
10
+
11
+ jobs:
12
+ build-and-publish:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+
17
+ - name: Setup Rust
18
+ uses: actions-rs/toolchain@v1
19
+ with:
20
+ profile: minimal
21
+ toolchain: stable
22
+ override: true
23
+
24
+ - name: Setup Python
25
+ uses: actions/setup-python@v4
26
+ with:
27
+ python-version: 3.12.11
28
+
29
+ - name: Upgrade pip
30
+ run: pip install --upgrade pip
31
+
32
+ - name: Install maturin
33
+ run: pip install maturin
34
+
35
+ - name: Build Rust Python extension
36
+ run: maturin build --release
37
+
38
+ - name: Publish to PyPI
39
+ if: github.ref == 'refs/heads/main' && github.event_name == 'push'
40
+ env:
41
+ MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
42
+ run: maturin publish --skip-existing
@@ -18,4 +18,4 @@ target
18
18
  # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
19
19
  # and can be added to the global gitignore or merged into this file. For a more nuclear
20
20
  # option (not recommended) you can uncomment the following to ignore the entire idea folder.
21
- .idea/
21
+ .idea
@@ -1068,7 +1068,7 @@ checksum = "8a0d197bd2c9dc6e53b84da9556a69ba4cdfab8619eb41a8bd1cc2027a0f6b1d"
1068
1068
 
1069
1069
  [[package]]
1070
1070
  name = "rusty-req"
1071
- version = "0.1.5"
1071
+ version = "0.1.6"
1072
1072
  dependencies = [
1073
1073
  "chrono",
1074
1074
  "futures",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "rusty-req"
3
- version = "0.1.5"
3
+ version = "0.1.6"
4
4
  edition = "2021"
5
5
 
6
6
  [dependencies]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rusty-req
3
- Version: 0.1.5
3
+ Version: 0.1.6
4
4
  Classifier: Programming Language :: Python
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: Programming Language :: Rust
@@ -18,6 +18,7 @@ Project-URL: Documentation, https://github.com/KAY53N/rusty-req#readme
18
18
 
19
19
  # rusty-req
20
20
 
21
+
21
22
  基于 Rust + Python 的高性能异步请求库,适用于需要批量发送 HTTP 请求的场景。通过 Rust 实现并发请求逻辑,并通过 [maturin](https://github.com/PyO3/maturin) 封装为 Python 模块,兼具性能与易用性。
22
23
 
23
24
  ## 🔧 安装
@@ -1,5 +1,6 @@
1
1
  # rusty-req
2
2
 
3
+
3
4
  基于 Rust + Python 的高性能异步请求库,适用于需要批量发送 HTTP 请求的场景。通过 Rust 实现并发请求逻辑,并通过 [maturin](https://github.com/PyO3/maturin) 封装为 Python 模块,兼具性能与易用性。
4
5
 
5
6
  ## 🔧 安装
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "rusty-req"
3
- version = "0.1.5"
3
+ version = "0.1.6"
4
4
  edition = "2021"
5
5
  authors = [ "kaysen <kaysen820@gmail.com>",]
6
6
  description = "High-performance async HTTP client built with Rust for Python."
@@ -16,7 +16,7 @@ build-backend = "maturin"
16
16
 
17
17
  [project]
18
18
  name = "rusty-req"
19
- version = "0.1.5"
19
+ version = "0.1.6"
20
20
  description = "High-performance async HTTP client built with Rust for Python."
21
21
  readme = "README.md"
22
22
  license = "MIT"
@@ -0,0 +1 @@
1
+ 0.1.6
@@ -1,8 +0,0 @@
1
- # Default ignored files
2
- /shelf/
3
- /workspace.xml
4
- # Editor-based HTTP Client requests
5
- /httpRequests/
6
- # Datasource local storage ignored files
7
- /dataSources/
8
- /dataSources.local.xml
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/py_req_ext.iml" filepath="$PROJECT_DIR$/.idea/py_req_ext.iml" />
6
- </modules>
7
- </component>
8
- </project>
@@ -1,11 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="EMPTY_MODULE" version="4">
3
- <component name="NewModuleRootManager">
4
- <content url="file://$MODULE_DIR$">
5
- <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
6
- <excludeFolder url="file://$MODULE_DIR$/target" />
7
- </content>
8
- <orderEntry type="inheritedJdk" />
9
- <orderEntry type="sourceFolder" forTests="false" />
10
- </component>
11
- </module>
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="" vcs="Git" />
5
- </component>
6
- </project>
@@ -1 +0,0 @@
1
- 0.1.5
File without changes
File without changes