stdfast 0.1.0__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,188 @@
1
+ # This file is autogenerated by maturin v1.12.6
2
+ # To update, run
3
+ #
4
+ # maturin generate-ci github
5
+ #
6
+ name: CI
7
+
8
+ on:
9
+ # push:
10
+ # branches:
11
+ # - main
12
+ # - master
13
+ # tags:
14
+ # - '*'
15
+ # pull_request:
16
+ workflow_dispatch:
17
+
18
+ permissions:
19
+ contents: read
20
+
21
+ jobs:
22
+ linux:
23
+ runs-on: ${{ matrix.platform.runner }}
24
+ strategy:
25
+ matrix:
26
+ platform:
27
+ - runner: ubuntu-22.04
28
+ target: x86_64
29
+ - runner: ubuntu-22.04
30
+ target: x86
31
+ - runner: ubuntu-22.04
32
+ target: aarch64
33
+ - runner: ubuntu-22.04
34
+ target: armv7
35
+
36
+ steps:
37
+ - uses: actions/checkout@v6
38
+ - uses: actions/setup-python@v6
39
+ with:
40
+ python-version: 3.x
41
+ - name: Build wheels
42
+ uses: PyO3/maturin-action@v1
43
+ with:
44
+ target: ${{ matrix.platform.target }}
45
+ args: --release --locked --out dist --compatibility pypi
46
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
47
+ manylinux: auto
48
+ - name: Upload wheels
49
+ uses: actions/upload-artifact@v6
50
+ with:
51
+ name: wheels-linux-${{ matrix.platform.target }}
52
+ path: dist
53
+
54
+ musllinux:
55
+ runs-on: ${{ matrix.platform.runner }}
56
+ strategy:
57
+ matrix:
58
+ platform:
59
+ - runner: ubuntu-22.04
60
+ target: x86_64
61
+ - runner: ubuntu-22.04
62
+ target: x86
63
+ - runner: ubuntu-22.04
64
+ target: aarch64
65
+ - runner: ubuntu-22.04
66
+ target: armv7
67
+ steps:
68
+ - uses: actions/checkout@v6
69
+ - uses: actions/setup-python@v6
70
+ with:
71
+ python-version: 3.x
72
+ - name: Build wheels
73
+ uses: PyO3/maturin-action@v1
74
+ with:
75
+ target: ${{ matrix.platform.target }}
76
+ args: --release --locked --out dist --compatibility pypi
77
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
78
+ manylinux: musllinux_1_2
79
+ - name: Upload wheels
80
+ uses: actions/upload-artifact@v6
81
+ with:
82
+ name: wheels-musllinux-${{ matrix.platform.target }}
83
+ path: dist
84
+
85
+ windows:
86
+ runs-on: ${{ matrix.platform.runner }}
87
+ strategy:
88
+ matrix:
89
+ platform:
90
+ - runner: windows-latest
91
+ target: x64
92
+ python_arch: x64
93
+ - runner: windows-latest
94
+ target: x86
95
+ python_arch: x86
96
+ - runner: windows-11-arm
97
+ target: aarch64
98
+ python_arch: arm64
99
+ steps:
100
+ - uses: actions/checkout@v6
101
+ - uses: actions/setup-python@v6
102
+ with:
103
+ python-version: 3.14
104
+ architecture: ${{ matrix.platform.python_arch }}
105
+ - name: Build wheels
106
+ uses: PyO3/maturin-action@v1
107
+ with:
108
+ target: ${{ matrix.platform.target }}
109
+ args: --release --locked --out dist --compatibility pypi
110
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
111
+ - uses: actions/setup-python@v6
112
+ with:
113
+ python-version: 3.14t
114
+ architecture: ${{ matrix.platform.python_arch }}
115
+ - name: Upload wheels
116
+ uses: actions/upload-artifact@v6
117
+ with:
118
+ name: wheels-windows-${{ matrix.platform.target }}
119
+ path: dist
120
+
121
+ macos:
122
+ runs-on: ${{ matrix.platform.runner }}
123
+ strategy:
124
+ matrix:
125
+ platform:
126
+ - runner: macos-15-intel
127
+ target: x86_64
128
+ - runner: macos-latest
129
+ target: aarch64
130
+ steps:
131
+ - uses: actions/checkout@v6
132
+ - uses: actions/setup-python@v6
133
+ with:
134
+ python-version: 3.x
135
+ - name: Build wheels
136
+ uses: PyO3/maturin-action@v1
137
+ with:
138
+ target: ${{ matrix.platform.target }}
139
+ args: --release --locked --out dist --compatibility pypi
140
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
141
+ - name: Upload wheels
142
+ uses: actions/upload-artifact@v6
143
+ with:
144
+ name: wheels-macos-${{ matrix.platform.target }}
145
+ path: dist
146
+
147
+ sdist:
148
+ runs-on: ubuntu-latest
149
+ steps:
150
+ - uses: actions/checkout@v6
151
+ - name: Build sdist
152
+ uses: PyO3/maturin-action@v1
153
+ with:
154
+ command: sdist
155
+ args: --out dist
156
+ - name: Upload sdist
157
+ uses: actions/upload-artifact@v6
158
+ with:
159
+ name: wheels-sdist
160
+ path: dist
161
+
162
+ release:
163
+ name: Release
164
+ runs-on: ubuntu-latest
165
+ if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
166
+ needs: [linux, musllinux, windows, macos, sdist]
167
+ permissions:
168
+ # Use to sign the release artifacts
169
+ id-token: write
170
+ # Used to upload release artifacts
171
+ contents: write
172
+ # Used to generate artifact attestation
173
+ attestations: write
174
+ steps:
175
+ - uses: actions/checkout@v6
176
+ - uses: actions/download-artifact@v7
177
+ - name: Generate artifact attestation
178
+ uses: actions/attest-build-provenance@v3
179
+ with:
180
+ subject-path: 'wheels-*/*'
181
+ - name: Install uv
182
+ if: ${{ startsWith(github.ref, 'refs/tags/') }}
183
+ uses: astral-sh/setup-uv@v7
184
+ - name: Publish to PyPI
185
+ if: ${{ startsWith(github.ref, 'refs/tags/') }}
186
+ run: uv publish 'wheels-*/*'
187
+ env:
188
+ UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
@@ -0,0 +1,38 @@
1
+ # Generated by Cargo
2
+ # will have compiled files and executables
3
+ debug/
4
+ target/
5
+ *.so
6
+
7
+ # Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
8
+ # More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
9
+ # Cargo.lock
10
+
11
+ # These are backup files generated by rustfmt
12
+ **/*.rs.bk
13
+
14
+ # MSVC Windows builds of rustc generate these, which store debugging information
15
+ *.pdb
16
+
17
+ # Python
18
+ __pycache__
19
+ /.venv
20
+ uv.lock
21
+ /*.py
22
+
23
+ # Shell
24
+ *.sh
25
+
26
+ # RustRover
27
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
28
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
29
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
30
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
31
+ #.idea/
32
+
33
+ # Remove data files and output files
34
+ *.std
35
+ *.stdf
36
+ *.txt
37
+
38
+ plan.md