esteria-api-client 0.0.9__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.
@@ -0,0 +1,10 @@
1
+ [build]
2
+
3
+ [target.x86_64-unknown-linux-musl]
4
+ rustflags = ["-C", "target-cpu=x86-64-v3"]
5
+
6
+ [target.x86_64-unknown-linux-gnu]
7
+ rustflags = ["-C", "target-cpu=x86-64-v3"]
8
+
9
+ [target.aarch64-apple-darwin]
10
+ rustflags = ["-C", "target-cpu=apple-m3"]
@@ -0,0 +1,7 @@
1
+ *
2
+
3
+ !src
4
+ !Cargo.lock
5
+ !Cargo.toml
6
+ !LICENSE
7
+ !Makefile
@@ -0,0 +1,8 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: cargo
4
+ directory: "/"
5
+ schedule:
6
+ interval: daily
7
+ time: "08:00"
8
+ open-pull-requests-limit: 10
@@ -0,0 +1,110 @@
1
+ name: Build and Publish Wheels
2
+
3
+ on:
4
+ push:
5
+ tags: ["v*"]
6
+
7
+ env:
8
+ CARGO_TERM_COLOR: always
9
+
10
+ jobs:
11
+ publish-crate-to-crates-io:
12
+ name: Publish Crate to Crates.io
13
+ runs-on: ubuntu-latest
14
+ if: startsWith(github.ref, 'refs/tags/v')
15
+
16
+ steps:
17
+ - uses: actions/checkout@v5
18
+
19
+ - name: Set up Rust
20
+ uses: dtolnay/rust-toolchain@master
21
+ with:
22
+ toolchain: stable
23
+
24
+ - name: Publish crate to crates.io
25
+ run: cargo publish
26
+ env:
27
+ CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
28
+
29
+ build-wheels:
30
+ name: Build wheels (${{ matrix.os }} - ${{ matrix.arch }} - py${{ matrix.python-version }})
31
+ needs: publish-crate-to-crates-io
32
+ runs-on: ${{ matrix.os }}
33
+ strategy:
34
+ fail-fast: false
35
+ matrix:
36
+ python-version: ["3.13", "3.14"]
37
+ os: [ubuntu-latest, macos-latest]
38
+ include:
39
+ - os: ubuntu-latest
40
+ arch: x86_64
41
+ target: x86_64-unknown-linux-gnu
42
+ - os: macos-latest
43
+ arch: aarch64
44
+ target: aarch64-apple-darwin
45
+ # - os: windows-latest
46
+ # arch: x86_64
47
+ # target: x86_64-pc-windows-msvc
48
+
49
+ steps:
50
+ - uses: actions/checkout@v5
51
+
52
+ - name: Set up Rust
53
+ uses: dtolnay/rust-toolchain@stable
54
+ with:
55
+ toolchain: stable
56
+ components: rustfmt, clippy
57
+
58
+ - name: Install Python
59
+ uses: actions/setup-python@v6
60
+ with:
61
+ python-version: "${{ matrix.python-version }}"
62
+
63
+ - name: Install maturin
64
+ run: pip install maturin
65
+
66
+ - name: Build wheel
67
+ run: |
68
+ maturin build \
69
+ --release \
70
+ --locked \
71
+ --target ${{ matrix.target }} \
72
+ --features python \
73
+ --interpreter python3
74
+
75
+ - name: Upload wheels
76
+ uses: actions/upload-artifact@v5
77
+ with:
78
+ name: wheels-${{ matrix.os }}-${{ matrix.arch }}-py${{ matrix.python-version }})
79
+ path: target/wheels/*.whl
80
+
81
+ # optional publish to PyPI
82
+ publish-to-pypi:
83
+ name: Publish to PyPI
84
+ runs-on: ubuntu-latest
85
+ needs: build-wheels
86
+ if: startsWith(github.ref, 'refs/tags/v')
87
+ steps:
88
+ - uses: actions/checkout@v5
89
+ - uses: actions/download-artifact@v6
90
+ with:
91
+ path: dist
92
+
93
+ - name: Install Python + maturin
94
+ uses: actions/setup-python@v6
95
+ with:
96
+ python-version: "3.14"
97
+
98
+ - run: pip install maturin
99
+
100
+ - name: Build source distribution (sdist)
101
+ run: maturin sdist --out dist
102
+
103
+ - name: Publish to PyPI
104
+ env:
105
+ MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
106
+ run: |
107
+ # Upload built wheels from matrix builds
108
+ find dist -name "*.whl" -exec maturin upload --skip-existing {} +
109
+ # Upload source distribution produced above
110
+ find dist -name "*.tar.gz" -exec maturin upload --skip-existing {} +
@@ -0,0 +1,20 @@
1
+ # Generated by Cargo
2
+ # will have compiled files and executables
3
+ debug/
4
+ target/
5
+
6
+ # These are backup files generated by rustfmt
7
+ **/*.rs.bk
8
+
9
+ # MSVC Windows builds of rustc generate these, which store debugging information
10
+ *.pdb
11
+
12
+ # RustRover
13
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
14
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
15
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
16
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
17
+ .idea/
18
+ .env
19
+ .venv/
20
+ uv.lock
@@ -0,0 +1 @@
1
+ ==3.14.0