lastuuid 0.1.0__tar.gz → 0.1.1__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 lastuuid might be problematic. Click here for more details.

@@ -0,0 +1,48 @@
1
+ # Build lastuuid tarballs for supported python.
2
+ #
3
+ # Adapted from uv and from pydantic-core CI
4
+ name: "Build tarball"
5
+
6
+ on:
7
+ workflow_call:
8
+ inputs:
9
+ release-version:
10
+ required: true
11
+ type: string
12
+ dry-run:
13
+ required: true
14
+ type: boolean
15
+ pull_request:
16
+ paths:
17
+ # When we change pyproject.toml, we want to ensure that the maturin builds still work.
18
+ - pyproject.toml
19
+ # And when we change this workflow itself...
20
+ - .github/workflows/build-sdist.yml
21
+
22
+ concurrency:
23
+ group: sdist-${{ github.workflow }}-${{ github.ref }}
24
+ cancel-in-progress: true
25
+
26
+ jobs:
27
+ sdist:
28
+ name: Build tarball for ${{ inputs.release-version }} ${{ inputs.dry-run && ' (dry-run)' || '' }}
29
+ runs-on: ubuntu-latest
30
+ steps:
31
+ - uses: actions/checkout@v4
32
+ - uses: actions/setup-python@v5
33
+ - uses: PyO3/maturin-action@v1
34
+
35
+ - name: Install uv
36
+ uses: astral-sh/setup-uv@v3
37
+
38
+ - name: Install the project
39
+ run: uv sync
40
+
41
+ - name: Build tarball
42
+ run: uv build
43
+
44
+ - name: "Upload sdist"
45
+ uses: actions/upload-artifact@v4
46
+ with:
47
+ name: pypi_files_sdist
48
+ path: dist/*.tar.gz
@@ -0,0 +1,116 @@
1
+ # Build wheels lastuuid on all platforms.
2
+ #
3
+ # Adapted from uv and from pydantic-core CI
4
+ name: "Build wheels"
5
+
6
+ on:
7
+ workflow_call:
8
+ inputs:
9
+ release-version:
10
+ required: true
11
+ type: string
12
+ dry-run:
13
+ required: true
14
+ type: boolean
15
+ pull_request:
16
+ paths:
17
+ # When we change pyproject.toml, we want to ensure that the maturin builds still work.
18
+ - pyproject.toml
19
+ # And when we change this workflow itself...
20
+ - .github/workflows/build-wheels.yml
21
+
22
+ concurrency:
23
+ group: wheels-${{ github.workflow }}-${{ github.ref }}
24
+ cancel-in-progress: true
25
+
26
+
27
+ jobs:
28
+
29
+ build:
30
+ name: build ${{ inputs.release-version }} ${{ inputs.dry-run && ' (dry-run)' || '' }} on ${{ matrix.os }} (${{ matrix.target }} - ${{ matrix.interpreter || 'all' }} ${{ matrix.os == 'linux' && format(' - {0}', matrix.manylinux == 'auto' && 'manylinux' || matrix.manylinux) || '' }})
31
+
32
+ strategy:
33
+ fail-fast: false
34
+ matrix:
35
+ os: [linux, macos, windows]
36
+ target: [x86_64, aarch64]
37
+ manylinux: [auto]
38
+ include:
39
+ - os: linux
40
+ manylinux: auto
41
+ target: i686
42
+ - os: linux
43
+ manylinux: auto
44
+ target: aarch64
45
+ - os: linux
46
+ manylinux: auto
47
+ target: armv7
48
+ interpreter: 3.9 3.10 3.11 3.12 3.13
49
+ - os: linux
50
+ manylinux: auto
51
+ target: ppc64le
52
+ interpreter: 3.9 3.10 3.11 3.12 3.13
53
+ - os: linux
54
+ manylinux: auto
55
+ target: s390x
56
+ interpreter: 3.9 3.10 3.11 3.12 3.13
57
+ - os: linux
58
+ manylinux: auto
59
+ target: x86_64
60
+ - os: linux
61
+ manylinux: musllinux_1_1
62
+ target: x86_64
63
+ - os: linux
64
+ manylinux: musllinux_1_1
65
+ target: aarch64
66
+ - os: linux
67
+ manylinux: musllinux_1_1
68
+ target: armv7
69
+
70
+ - os: macos
71
+ target: x86_64
72
+ - os: macos
73
+ target: aarch64
74
+ interpreter: 3.9 pypy3.9 pypy3.10
75
+
76
+ - os: windows
77
+ target: x86_64
78
+ interpreter: 3.11 3.12 3.13
79
+ - os: windows
80
+ target: i686
81
+ python-architecture: x86
82
+ interpreter: 3.11 3.12 3.13
83
+ exclude:
84
+ # Exclude failed build
85
+ - os: windows
86
+ target: aarch64
87
+
88
+ runs-on: ${{ (matrix.os == 'linux' && 'ubuntu') || matrix.os }}-latest
89
+ steps:
90
+ - uses: actions/checkout@v4
91
+
92
+ - name: set up python
93
+ uses: actions/setup-python@v5
94
+ with:
95
+ python-version: '3.13'
96
+ architecture: ${{ matrix.python-architecture || 'x64' }}
97
+ - name: install build deps
98
+ run: pip install twine
99
+
100
+ - name: build wheels
101
+ uses: PyO3/maturin-action@v1
102
+ with:
103
+ target: ${{ matrix.target }}
104
+ manylinux: ${{ matrix.manylinux }}
105
+ args: --release --out dist --interpreter ${{ matrix.interpreter || '3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10' }}
106
+ rust-toolchain: 'stable'
107
+ docker-options: -e CI
108
+
109
+ - run: ${{ (matrix.os == 'windows' && 'dir') || 'ls -lh' }} dist/
110
+
111
+ - run: twine check --strict dist/*
112
+
113
+ - uses: actions/upload-artifact@v4
114
+ with:
115
+ name: pypi_files_${{ matrix.os }}_${{ matrix.target }}_${{ matrix.interpreter || 'all' }}_${{ matrix.manylinux }}
116
+ path: dist/*.whl
@@ -0,0 +1,40 @@
1
+ # Publish a release to PyPI.
2
+ #
3
+ # Assumed to run as a subworkflow of .github/workflows/release.yml; specifically, as a publish job
4
+ # within `cargo-dist`.
5
+ name: "Publish to PyPI"
6
+
7
+ on:
8
+ workflow_call:
9
+ inputs:
10
+ release-version:
11
+ required: true
12
+ type: string
13
+ dry-run:
14
+ required: true
15
+ type: boolean
16
+ secrets:
17
+ PYPI_TOKEN:
18
+ required: true
19
+
20
+ jobs:
21
+ pypi-publish:
22
+ name: Upload to PyPI
23
+ runs-on: ubuntu-latest
24
+ if: ${{ !inputs.dry-run }}
25
+
26
+ steps:
27
+ - uses: actions/download-artifact@v4
28
+ with:
29
+ pattern: pypi_files_*
30
+ path: dist
31
+ merge-multiple: true
32
+
33
+ - name: Install twine
34
+ run: pip install twine
35
+
36
+ - name: Publish to PyPI
37
+ env:
38
+ TWINE_USERNAME: __token__
39
+ TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
40
+ run: twine upload --verbose dist/*
@@ -0,0 +1,86 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*" # Automatically trigger on version tags
7
+ - "dry-run"
8
+
9
+ workflow_dispatch:
10
+ inputs:
11
+ tag:
12
+ description: "Release Tag"
13
+ required: true
14
+ default: "dry-run"
15
+ type: string
16
+
17
+ jobs:
18
+ plan:
19
+ runs-on: ubuntu-latest
20
+ outputs:
21
+ release_version: ${{ steps.release-version.outputs.version }}
22
+ dry-run: ${{ steps.release-version.outputs.dry_run }}
23
+
24
+ steps:
25
+ - name: Checkout repository
26
+ uses: actions/checkout@v4
27
+
28
+ - name: Set Release Version
29
+ id: release-version
30
+ run: |
31
+ if [ "${{ github.event_name }}" == "push" ]; then
32
+ echo "version=${{ github.ref_name }}" >> $GITHUB_OUTPUT
33
+ if [ "${{ github.ref_name }}" == "dry-run" ]; then
34
+ echo "dry_run=true" >> $GITHUB_OUTPUT
35
+ else
36
+ echo "dry_run=false" >> $GITHUB_OUTPUT
37
+ fi
38
+ else
39
+ version="${{ github.event.inputs.tag || 'dry-run' }}"
40
+ if [ "${version}" == "dry-run" ]; then
41
+ echo "version=latest" >> $GITHUB_OUTPUT
42
+ echo "dry_run=true" >> $GITHUB_OUTPUT
43
+ else
44
+ echo "version=${version}" >> $GITHUB_OUTPUT
45
+ echo "dry_run=false" >> $GITHUB_OUTPUT
46
+ fi
47
+ fi
48
+ - name: Display Release Version
49
+ run: echo "The release version is ${{ steps.release-version.outputs.version }}"
50
+
51
+ build-wheels:
52
+ needs:
53
+ - plan
54
+ uses: ./.github/workflows/build-wheels.yml
55
+ with:
56
+ release-version: ${{ needs.plan.outputs.release_version }}
57
+ dry-run: ${{ needs.plan.outputs.dry-run == 'true' }}
58
+
59
+ build-sdist:
60
+ needs:
61
+ - plan
62
+ uses: ./.github/workflows/build-sdist.yml
63
+ with:
64
+ release-version: ${{ needs.plan.outputs.release_version }}
65
+ dry-run: ${{ needs.plan.outputs.dry-run == 'true' }}
66
+
67
+ tests-artifacts:
68
+ needs:
69
+ - plan
70
+ - build-wheels
71
+ - build-sdist
72
+ uses: ./.github/workflows/tests-artifacts.yml
73
+ with:
74
+ release-version: ${{ needs.plan.outputs.release_version }}
75
+ dry-run: ${{ needs.plan.outputs.dry-run == 'true' }}
76
+
77
+ publish-pypi:
78
+ needs:
79
+ - plan
80
+ - tests-artifacts
81
+ uses: ./.github/workflows/publish-pypi.yml
82
+ with:
83
+ release-version: ${{ needs.plan.outputs.release_version }}
84
+ dry-run: ${{ needs.plan.outputs.dry-run == 'true' }}
85
+ secrets:
86
+ PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
@@ -0,0 +1,50 @@
1
+ name: tests artifacts
2
+
3
+ # Controls when the workflow will run
4
+ on:
5
+ # Allows you to run this workflow manually from the Actions tab
6
+ workflow_call:
7
+ inputs:
8
+ release-version:
9
+ required: true
10
+ type: string
11
+ description: "release number"
12
+ dry-run:
13
+ required: true
14
+ type: boolean
15
+ description: "blank run means that the release will not be pushed"
16
+
17
+ jobs:
18
+ smoke-test:
19
+ name: smoke test ${{ inputs.release-version }} ${{ inputs.dry-run && ' (dry-run)' || '' }}
20
+
21
+ runs-on: ubuntu-latest
22
+ steps:
23
+ - uses: actions/download-artifact@v4
24
+ with:
25
+ pattern: pypi_files_*
26
+ path: dist
27
+ merge-multiple: true
28
+
29
+ - uses: actions/setup-python@v5
30
+
31
+ - uses: actions/download-artifact@v4
32
+ name: download artifacts
33
+ with:
34
+ pattern: pypi_files_*
35
+ path: dist
36
+ merge-multiple: true
37
+
38
+ - name: Install from the sdist
39
+ run: |
40
+ pip install maturin
41
+ pip install dist/lastuuid-*.tar.gz --force-reinstall
42
+
43
+ - name: "Test sdist"
44
+ run: |
45
+ if [[ $(python -c 'import lastuuid; print(lastuuid.uuid7())') ]]; then
46
+ echo 'Ok';
47
+ else
48
+ echo 'Ko';
49
+ exit 1;
50
+ fi
@@ -0,0 +1,37 @@
1
+ name: tests
2
+
3
+ # Controls when the workflow will run
4
+ on:
5
+ # Triggers the workflow on push or pull request events but only for the main branch
6
+ push:
7
+ branches: [main]
8
+ tags-ignore:
9
+ - 'v*' # Ignore pushes of tags starting with "v" (i.e., release tags)
10
+ pull_request:
11
+ branches: [main]
12
+
13
+ # Allows you to run this workflow manually from the Actions tab
14
+ workflow_dispatch:
15
+
16
+ jobs:
17
+ unittests:
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - uses: actions/checkout@v4
21
+ - uses: actions/setup-python@v5
22
+ with:
23
+ python-version: ${{ env.PYTHON_VERSION }}
24
+ - uses: PyO3/maturin-action@v1
25
+
26
+ - name: Install uv
27
+ uses: astral-sh/setup-uv@v3
28
+
29
+ - name: Install the project
30
+ run: uv sync
31
+
32
+ - name: Build tarball
33
+ run: uv build
34
+
35
+ - name: "Test sdist"
36
+ run: |
37
+ uv run pytest -sxv
@@ -0,0 +1,14 @@
1
+ # Python-generated files
2
+ __pycache__/
3
+ *.py[oc]
4
+ build/
5
+ dist/
6
+ wheels/
7
+ *.egg-info
8
+
9
+ # Virtual environments
10
+ .venv
11
+
12
+ # Rust stuff
13
+ target
14
+ lastuuid/*.so
@@ -0,0 +1 @@
1
+ 3.12
@@ -0,0 +1,3 @@
1
+ ## 0.1.1 - 2024-11-10
2
+
3
+ * Initial release
@@ -0,0 +1,272 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 3
4
+
5
+ [[package]]
6
+ name = "autocfg"
7
+ version = "1.4.0"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
10
+
11
+ [[package]]
12
+ name = "byteorder"
13
+ version = "1.5.0"
14
+ source = "registry+https://github.com/rust-lang/crates.io-index"
15
+ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
16
+
17
+ [[package]]
18
+ name = "cfg-if"
19
+ version = "1.0.0"
20
+ source = "registry+https://github.com/rust-lang/crates.io-index"
21
+ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
22
+
23
+ [[package]]
24
+ name = "fstr"
25
+ version = "0.2.12"
26
+ source = "registry+https://github.com/rust-lang/crates.io-index"
27
+ checksum = "59fd8999da11407ccf70cbe696eb7f819b85429d83ee3c6eb2f514b1751d246b"
28
+
29
+ [[package]]
30
+ name = "getrandom"
31
+ version = "0.2.15"
32
+ source = "registry+https://github.com/rust-lang/crates.io-index"
33
+ checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
34
+ dependencies = [
35
+ "cfg-if",
36
+ "libc",
37
+ "wasi",
38
+ ]
39
+
40
+ [[package]]
41
+ name = "heck"
42
+ version = "0.5.0"
43
+ source = "registry+https://github.com/rust-lang/crates.io-index"
44
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
45
+
46
+ [[package]]
47
+ name = "indoc"
48
+ version = "2.0.5"
49
+ source = "registry+https://github.com/rust-lang/crates.io-index"
50
+ checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
51
+
52
+ [[package]]
53
+ name = "lastuuid"
54
+ version = "0.1.1"
55
+ dependencies = [
56
+ "pyo3",
57
+ "uuid7",
58
+ ]
59
+
60
+ [[package]]
61
+ name = "libc"
62
+ version = "0.2.162"
63
+ source = "registry+https://github.com/rust-lang/crates.io-index"
64
+ checksum = "18d287de67fe55fd7e1581fe933d965a5a9477b38e949cfa9f8574ef01506398"
65
+
66
+ [[package]]
67
+ name = "memoffset"
68
+ version = "0.9.1"
69
+ source = "registry+https://github.com/rust-lang/crates.io-index"
70
+ checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
71
+ dependencies = [
72
+ "autocfg",
73
+ ]
74
+
75
+ [[package]]
76
+ name = "once_cell"
77
+ version = "1.20.2"
78
+ source = "registry+https://github.com/rust-lang/crates.io-index"
79
+ checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
80
+
81
+ [[package]]
82
+ name = "portable-atomic"
83
+ version = "1.9.0"
84
+ source = "registry+https://github.com/rust-lang/crates.io-index"
85
+ checksum = "cc9c68a3f6da06753e9335d63e27f6b9754dd1920d941135b7ea8224f141adb2"
86
+
87
+ [[package]]
88
+ name = "ppv-lite86"
89
+ version = "0.2.20"
90
+ source = "registry+https://github.com/rust-lang/crates.io-index"
91
+ checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04"
92
+ dependencies = [
93
+ "zerocopy",
94
+ ]
95
+
96
+ [[package]]
97
+ name = "proc-macro2"
98
+ version = "1.0.89"
99
+ source = "registry+https://github.com/rust-lang/crates.io-index"
100
+ checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e"
101
+ dependencies = [
102
+ "unicode-ident",
103
+ ]
104
+
105
+ [[package]]
106
+ name = "pyo3"
107
+ version = "0.22.6"
108
+ source = "registry+https://github.com/rust-lang/crates.io-index"
109
+ checksum = "f402062616ab18202ae8319da13fa4279883a2b8a9d9f83f20dbade813ce1884"
110
+ dependencies = [
111
+ "cfg-if",
112
+ "indoc",
113
+ "libc",
114
+ "memoffset",
115
+ "once_cell",
116
+ "portable-atomic",
117
+ "pyo3-build-config",
118
+ "pyo3-ffi",
119
+ "pyo3-macros",
120
+ "unindent",
121
+ ]
122
+
123
+ [[package]]
124
+ name = "pyo3-build-config"
125
+ version = "0.22.6"
126
+ source = "registry+https://github.com/rust-lang/crates.io-index"
127
+ checksum = "b14b5775b5ff446dd1056212d778012cbe8a0fbffd368029fd9e25b514479c38"
128
+ dependencies = [
129
+ "once_cell",
130
+ "target-lexicon",
131
+ ]
132
+
133
+ [[package]]
134
+ name = "pyo3-ffi"
135
+ version = "0.22.6"
136
+ source = "registry+https://github.com/rust-lang/crates.io-index"
137
+ checksum = "9ab5bcf04a2cdcbb50c7d6105de943f543f9ed92af55818fd17b660390fc8636"
138
+ dependencies = [
139
+ "libc",
140
+ "pyo3-build-config",
141
+ ]
142
+
143
+ [[package]]
144
+ name = "pyo3-macros"
145
+ version = "0.22.6"
146
+ source = "registry+https://github.com/rust-lang/crates.io-index"
147
+ checksum = "0fd24d897903a9e6d80b968368a34e1525aeb719d568dba8b3d4bfa5dc67d453"
148
+ dependencies = [
149
+ "proc-macro2",
150
+ "pyo3-macros-backend",
151
+ "quote",
152
+ "syn",
153
+ ]
154
+
155
+ [[package]]
156
+ name = "pyo3-macros-backend"
157
+ version = "0.22.6"
158
+ source = "registry+https://github.com/rust-lang/crates.io-index"
159
+ checksum = "36c011a03ba1e50152b4b394b479826cad97e7a21eb52df179cd91ac411cbfbe"
160
+ dependencies = [
161
+ "heck",
162
+ "proc-macro2",
163
+ "pyo3-build-config",
164
+ "quote",
165
+ "syn",
166
+ ]
167
+
168
+ [[package]]
169
+ name = "quote"
170
+ version = "1.0.37"
171
+ source = "registry+https://github.com/rust-lang/crates.io-index"
172
+ checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
173
+ dependencies = [
174
+ "proc-macro2",
175
+ ]
176
+
177
+ [[package]]
178
+ name = "rand"
179
+ version = "0.8.5"
180
+ source = "registry+https://github.com/rust-lang/crates.io-index"
181
+ checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
182
+ dependencies = [
183
+ "libc",
184
+ "rand_chacha",
185
+ "rand_core",
186
+ ]
187
+
188
+ [[package]]
189
+ name = "rand_chacha"
190
+ version = "0.3.1"
191
+ source = "registry+https://github.com/rust-lang/crates.io-index"
192
+ checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
193
+ dependencies = [
194
+ "ppv-lite86",
195
+ "rand_core",
196
+ ]
197
+
198
+ [[package]]
199
+ name = "rand_core"
200
+ version = "0.6.4"
201
+ source = "registry+https://github.com/rust-lang/crates.io-index"
202
+ checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
203
+ dependencies = [
204
+ "getrandom",
205
+ ]
206
+
207
+ [[package]]
208
+ name = "syn"
209
+ version = "2.0.87"
210
+ source = "registry+https://github.com/rust-lang/crates.io-index"
211
+ checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d"
212
+ dependencies = [
213
+ "proc-macro2",
214
+ "quote",
215
+ "unicode-ident",
216
+ ]
217
+
218
+ [[package]]
219
+ name = "target-lexicon"
220
+ version = "0.12.16"
221
+ source = "registry+https://github.com/rust-lang/crates.io-index"
222
+ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
223
+
224
+ [[package]]
225
+ name = "unicode-ident"
226
+ version = "1.0.13"
227
+ source = "registry+https://github.com/rust-lang/crates.io-index"
228
+ checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe"
229
+
230
+ [[package]]
231
+ name = "unindent"
232
+ version = "0.2.3"
233
+ source = "registry+https://github.com/rust-lang/crates.io-index"
234
+ checksum = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"
235
+
236
+ [[package]]
237
+ name = "uuid7"
238
+ version = "1.1.0"
239
+ source = "registry+https://github.com/rust-lang/crates.io-index"
240
+ checksum = "1191ed4cd2c6a2e1d16a617f0e70649eafd68178633042d31c631eb6b47dc316"
241
+ dependencies = [
242
+ "fstr",
243
+ "rand",
244
+ "rand_chacha",
245
+ ]
246
+
247
+ [[package]]
248
+ name = "wasi"
249
+ version = "0.11.0+wasi-snapshot-preview1"
250
+ source = "registry+https://github.com/rust-lang/crates.io-index"
251
+ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
252
+
253
+ [[package]]
254
+ name = "zerocopy"
255
+ version = "0.7.35"
256
+ source = "registry+https://github.com/rust-lang/crates.io-index"
257
+ checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
258
+ dependencies = [
259
+ "byteorder",
260
+ "zerocopy-derive",
261
+ ]
262
+
263
+ [[package]]
264
+ name = "zerocopy-derive"
265
+ version = "0.7.35"
266
+ source = "registry+https://github.com/rust-lang/crates.io-index"
267
+ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
268
+ dependencies = [
269
+ "proc-macro2",
270
+ "quote",
271
+ "syn",
272
+ ]
@@ -0,0 +1,22 @@
1
+ [package]
2
+ name = "lastuuid"
3
+ version = "0.1.1"
4
+ authors = ["Guillaume Gauvrit <guillaume@gauvr.it>"]
5
+ edition = "2021"
6
+ description = "Yest another UUID library."
7
+ license = "MIT"
8
+ readme = "README.md"
9
+
10
+ [dependencies]
11
+ pyo3 = { version = "0.22.5", features = ["extension-module"] }
12
+ uuid7 = "1.1.0"
13
+
14
+ [lib]
15
+ name = "lastuuid"
16
+ crate-type = ["staticlib"]
17
+
18
+ [package.metadata.maturin]
19
+ bindings = "pyo3"
20
+
21
+ [tool.maturin]
22
+ features = ["pyo3/extension-module"]