uuid-utils 0.10.0__tar.gz → 0.11.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.
Potentially problematic release.
This version of uuid-utils might be problematic. Click here for more details.
- {uuid_utils-0.10.0 → uuid_utils-0.11.0}/.github/workflows/ci.yml +22 -9
- {uuid_utils-0.10.0 → uuid_utils-0.11.0}/Cargo.lock +55 -38
- uuid_utils-0.11.0/Cargo.toml +14 -0
- {uuid_utils-0.10.0 → uuid_utils-0.11.0}/PKG-INFO +4 -8
- {uuid_utils-0.10.0 → uuid_utils-0.11.0}/README.md +1 -5
- {uuid_utils-0.10.0 → uuid_utils-0.11.0}/docs/index.md +0 -6
- {uuid_utils-0.10.0 → uuid_utils-0.11.0}/mkdocs.yml +1 -1
- {uuid_utils-0.10.0 → uuid_utils-0.11.0}/pyproject.toml +1 -1
- {uuid_utils-0.10.0 → uuid_utils-0.11.0}/src/lib.rs +1 -1
- uuid_utils-0.10.0/Cargo.toml +0 -14
- {uuid_utils-0.10.0 → uuid_utils-0.11.0}/.gitignore +0 -0
- {uuid_utils-0.10.0 → uuid_utils-0.11.0}/LICENSE.md +0 -0
- {uuid_utils-0.10.0 → uuid_utils-0.11.0}/Makefile +0 -0
- {uuid_utils-0.10.0 → uuid_utils-0.11.0}/benchmarks/README.md +0 -0
- {uuid_utils-0.10.0 → uuid_utils-0.11.0}/benchmarks/bench_generator.py +0 -0
- {uuid_utils-0.10.0 → uuid_utils-0.11.0}/benchmarks/bench_parser.py +0 -0
- {uuid_utils-0.10.0 → uuid_utils-0.11.0}/docs/api.md +0 -0
- {uuid_utils-0.10.0 → uuid_utils-0.11.0}/python/uuid_utils/__init__.py +0 -0
- {uuid_utils-0.10.0 → uuid_utils-0.11.0}/python/uuid_utils/__init__.pyi +0 -0
- {uuid_utils-0.10.0 → uuid_utils-0.11.0}/python/uuid_utils/compat/__init__.py +0 -0
- {uuid_utils-0.10.0 → uuid_utils-0.11.0}/python/uuid_utils/compat/__init__.pyi +0 -0
- {uuid_utils-0.10.0 → uuid_utils-0.11.0}/python/uuid_utils/py.typed +0 -0
- {uuid_utils-0.10.0 → uuid_utils-0.11.0}/requirements.txt +0 -0
- {uuid_utils-0.10.0 → uuid_utils-0.11.0}/tests/__init__.py +0 -0
- {uuid_utils-0.10.0 → uuid_utils-0.11.0}/tests/test_compat/__init__.py +0 -0
- {uuid_utils-0.10.0 → uuid_utils-0.11.0}/tests/test_compat/test_compat.py +0 -0
- {uuid_utils-0.10.0 → uuid_utils-0.11.0}/tests/test_uuid.py +0 -0
|
@@ -162,20 +162,28 @@ jobs:
|
|
|
162
162
|
|
|
163
163
|
windows:
|
|
164
164
|
name: "Windows: ${{ matrix.platform.target }}"
|
|
165
|
-
runs-on:
|
|
165
|
+
runs-on: "${{ matrix.platform.os }}"
|
|
166
166
|
strategy:
|
|
167
167
|
matrix:
|
|
168
168
|
platform:
|
|
169
169
|
- target: x64
|
|
170
|
-
|
|
170
|
+
os: windows-latest
|
|
171
|
+
py_arch: "x64"
|
|
172
|
+
interpreter: "3.13"
|
|
171
173
|
- target: x86
|
|
172
|
-
|
|
174
|
+
py_arch: "x86"
|
|
175
|
+
os: windows-latest
|
|
176
|
+
interpreter: "3.13"
|
|
177
|
+
- target: aarch64
|
|
178
|
+
py_arch: "arm64"
|
|
179
|
+
os: windows-11-arm
|
|
180
|
+
interpreter: "3.13"
|
|
173
181
|
steps:
|
|
174
182
|
- uses: actions/checkout@v4
|
|
175
183
|
- uses: actions/setup-python@v5
|
|
176
184
|
with:
|
|
177
|
-
python-version: "
|
|
178
|
-
architecture: ${{ matrix.platform.
|
|
185
|
+
python-version: "${{ matrix.platform.interpreter }}"
|
|
186
|
+
architecture: ${{ matrix.platform.py_arch }}
|
|
179
187
|
- uses: dtolnay/rust-toolchain@stable
|
|
180
188
|
- name: Build wheels
|
|
181
189
|
uses: PyO3/maturin-action@v1
|
|
@@ -197,23 +205,28 @@ jobs:
|
|
|
197
205
|
macos:
|
|
198
206
|
name: "MacOS"
|
|
199
207
|
runs-on: macos-latest
|
|
208
|
+
strategy:
|
|
209
|
+
matrix:
|
|
210
|
+
py:
|
|
211
|
+
- { i: "3.9 3.10 3.11 3.12 3.13", py: "3.9" }
|
|
212
|
+
- { i: "pypy3.9 pypy3.10", py: "pypy3.10" }
|
|
200
213
|
steps:
|
|
201
214
|
- uses: actions/checkout@v4
|
|
202
215
|
- uses: actions/setup-python@v5
|
|
203
216
|
with:
|
|
204
|
-
python-version: "
|
|
217
|
+
python-version: "${{ matrix.py.py }}"
|
|
205
218
|
- uses: dtolnay/rust-toolchain@stable
|
|
206
219
|
- name: Build wheels - x86_64
|
|
207
220
|
uses: PyO3/maturin-action@v1
|
|
208
221
|
with:
|
|
209
222
|
target: x86_64
|
|
210
|
-
args: --release --out dist -i
|
|
223
|
+
args: --release --out dist -i ${{ matrix.py.i }}
|
|
211
224
|
sccache: "true"
|
|
212
225
|
- name: Build wheels - universal2
|
|
213
226
|
uses: PyO3/maturin-action@v1
|
|
214
227
|
with:
|
|
215
228
|
target: universal2-apple-darwin
|
|
216
|
-
args: --release --out dist -i
|
|
229
|
+
args: --release --out dist -i ${{ matrix.py.i }}
|
|
217
230
|
- name: Install and test uuid_utils
|
|
218
231
|
run: |
|
|
219
232
|
pip install uuid_utils --no-index --find-links dist --force-reinstall
|
|
@@ -222,7 +235,7 @@ jobs:
|
|
|
222
235
|
- name: Upload wheels
|
|
223
236
|
uses: actions/upload-artifact@v4
|
|
224
237
|
with:
|
|
225
|
-
name: wheels-macos
|
|
238
|
+
name: wheels-macos-${{ strategy.job-index }}
|
|
226
239
|
path: dist
|
|
227
240
|
|
|
228
241
|
sdist:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file is automatically @generated by Cargo.
|
|
2
2
|
# It is not intended for manual editing.
|
|
3
|
-
version =
|
|
3
|
+
version = 4
|
|
4
4
|
|
|
5
5
|
[[package]]
|
|
6
6
|
name = "atomic"
|
|
@@ -55,9 +55,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
|
55
55
|
|
|
56
56
|
[[package]]
|
|
57
57
|
name = "cfg_aliases"
|
|
58
|
-
version = "0.
|
|
58
|
+
version = "0.2.1"
|
|
59
59
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
60
|
-
checksum = "
|
|
60
|
+
checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
|
|
61
61
|
|
|
62
62
|
[[package]]
|
|
63
63
|
name = "crypto-common"
|
|
@@ -91,12 +91,13 @@ dependencies = [
|
|
|
91
91
|
|
|
92
92
|
[[package]]
|
|
93
93
|
name = "getrandom"
|
|
94
|
-
version = "0.2
|
|
94
|
+
version = "0.3.2"
|
|
95
95
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
96
|
-
checksum = "
|
|
96
|
+
checksum = "73fea8450eea4bac3940448fb7ae50d91f034f941199fcd9d909a5a07aa455f0"
|
|
97
97
|
dependencies = [
|
|
98
98
|
"cfg-if",
|
|
99
99
|
"libc",
|
|
100
|
+
"r-efi",
|
|
100
101
|
"wasi",
|
|
101
102
|
]
|
|
102
103
|
|
|
@@ -114,15 +115,15 @@ checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
|
|
|
114
115
|
|
|
115
116
|
[[package]]
|
|
116
117
|
name = "libc"
|
|
117
|
-
version = "0.2.
|
|
118
|
+
version = "0.2.171"
|
|
118
119
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
119
|
-
checksum = "
|
|
120
|
+
checksum = "c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6"
|
|
120
121
|
|
|
121
122
|
[[package]]
|
|
122
123
|
name = "mac_address"
|
|
123
|
-
version = "1.1.
|
|
124
|
+
version = "1.1.8"
|
|
124
125
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
125
|
-
checksum = "
|
|
126
|
+
checksum = "c0aeb26bf5e836cc1c341c8106051b573f1766dfa05aa87f0b98be5e51b02303"
|
|
126
127
|
dependencies = [
|
|
127
128
|
"nix",
|
|
128
129
|
"winapi",
|
|
@@ -149,9 +150,9 @@ dependencies = [
|
|
|
149
150
|
|
|
150
151
|
[[package]]
|
|
151
152
|
name = "nix"
|
|
152
|
-
version = "0.
|
|
153
|
+
version = "0.29.0"
|
|
153
154
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
154
|
-
checksum = "
|
|
155
|
+
checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46"
|
|
155
156
|
dependencies = [
|
|
156
157
|
"bitflags",
|
|
157
158
|
"cfg-if",
|
|
@@ -189,11 +190,10 @@ dependencies = [
|
|
|
189
190
|
|
|
190
191
|
[[package]]
|
|
191
192
|
name = "pyo3"
|
|
192
|
-
version = "0.
|
|
193
|
+
version = "0.25.0"
|
|
193
194
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
194
|
-
checksum = "
|
|
195
|
+
checksum = "f239d656363bcee73afef85277f1b281e8ac6212a1d42aa90e55b90ed43c47a4"
|
|
195
196
|
dependencies = [
|
|
196
|
-
"cfg-if",
|
|
197
197
|
"indoc",
|
|
198
198
|
"libc",
|
|
199
199
|
"memoffset",
|
|
@@ -207,9 +207,9 @@ dependencies = [
|
|
|
207
207
|
|
|
208
208
|
[[package]]
|
|
209
209
|
name = "pyo3-build-config"
|
|
210
|
-
version = "0.
|
|
210
|
+
version = "0.25.0"
|
|
211
211
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
212
|
-
checksum = "
|
|
212
|
+
checksum = "755ea671a1c34044fa165247aaf6f419ca39caa6003aee791a0df2713d8f1b6d"
|
|
213
213
|
dependencies = [
|
|
214
214
|
"once_cell",
|
|
215
215
|
"python3-dll-a",
|
|
@@ -218,9 +218,9 @@ dependencies = [
|
|
|
218
218
|
|
|
219
219
|
[[package]]
|
|
220
220
|
name = "pyo3-ffi"
|
|
221
|
-
version = "0.
|
|
221
|
+
version = "0.25.0"
|
|
222
222
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
223
|
-
checksum = "
|
|
223
|
+
checksum = "fc95a2e67091e44791d4ea300ff744be5293f394f1bafd9f78c080814d35956e"
|
|
224
224
|
dependencies = [
|
|
225
225
|
"libc",
|
|
226
226
|
"pyo3-build-config",
|
|
@@ -228,9 +228,9 @@ dependencies = [
|
|
|
228
228
|
|
|
229
229
|
[[package]]
|
|
230
230
|
name = "pyo3-macros"
|
|
231
|
-
version = "0.
|
|
231
|
+
version = "0.25.0"
|
|
232
232
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
233
|
-
checksum = "
|
|
233
|
+
checksum = "a179641d1b93920829a62f15e87c0ed791b6c8db2271ba0fd7c2686090510214"
|
|
234
234
|
dependencies = [
|
|
235
235
|
"proc-macro2",
|
|
236
236
|
"pyo3-macros-backend",
|
|
@@ -240,9 +240,9 @@ dependencies = [
|
|
|
240
240
|
|
|
241
241
|
[[package]]
|
|
242
242
|
name = "pyo3-macros-backend"
|
|
243
|
-
version = "0.
|
|
243
|
+
version = "0.25.0"
|
|
244
244
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
245
|
-
checksum = "
|
|
245
|
+
checksum = "9dff85ebcaab8c441b0e3f7ae40a6963ecea8a9f5e74f647e33fcf5ec9a1e89e"
|
|
246
246
|
dependencies = [
|
|
247
247
|
"heck",
|
|
248
248
|
"proc-macro2",
|
|
@@ -253,9 +253,9 @@ dependencies = [
|
|
|
253
253
|
|
|
254
254
|
[[package]]
|
|
255
255
|
name = "python3-dll-a"
|
|
256
|
-
version = "0.2.
|
|
256
|
+
version = "0.2.13"
|
|
257
257
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
258
|
-
checksum = "
|
|
258
|
+
checksum = "49fe4227a288cf9493942ad0220ea3f185f4d1f2a14f197f7344d6d02f4ed4ed"
|
|
259
259
|
dependencies = [
|
|
260
260
|
"cc",
|
|
261
261
|
]
|
|
@@ -269,22 +269,27 @@ dependencies = [
|
|
|
269
269
|
"proc-macro2",
|
|
270
270
|
]
|
|
271
271
|
|
|
272
|
+
[[package]]
|
|
273
|
+
name = "r-efi"
|
|
274
|
+
version = "5.2.0"
|
|
275
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
276
|
+
checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5"
|
|
277
|
+
|
|
272
278
|
[[package]]
|
|
273
279
|
name = "rand"
|
|
274
|
-
version = "0.
|
|
280
|
+
version = "0.9.1"
|
|
275
281
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
276
|
-
checksum = "
|
|
282
|
+
checksum = "9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97"
|
|
277
283
|
dependencies = [
|
|
278
|
-
"libc",
|
|
279
284
|
"rand_chacha",
|
|
280
285
|
"rand_core",
|
|
281
286
|
]
|
|
282
287
|
|
|
283
288
|
[[package]]
|
|
284
289
|
name = "rand_chacha"
|
|
285
|
-
version = "0.
|
|
290
|
+
version = "0.9.0"
|
|
286
291
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
287
|
-
checksum = "
|
|
292
|
+
checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
|
|
288
293
|
dependencies = [
|
|
289
294
|
"ppv-lite86",
|
|
290
295
|
"rand_core",
|
|
@@ -292,9 +297,9 @@ dependencies = [
|
|
|
292
297
|
|
|
293
298
|
[[package]]
|
|
294
299
|
name = "rand_core"
|
|
295
|
-
version = "0.
|
|
300
|
+
version = "0.9.3"
|
|
296
301
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
297
|
-
checksum = "
|
|
302
|
+
checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38"
|
|
298
303
|
dependencies = [
|
|
299
304
|
"getrandom",
|
|
300
305
|
]
|
|
@@ -318,9 +323,9 @@ dependencies = [
|
|
|
318
323
|
|
|
319
324
|
[[package]]
|
|
320
325
|
name = "target-lexicon"
|
|
321
|
-
version = "0.
|
|
326
|
+
version = "0.13.2"
|
|
322
327
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
323
|
-
checksum = "
|
|
328
|
+
checksum = "e502f78cdbb8ba4718f566c418c52bc729126ffd16baee5baa718cf25dd5a69a"
|
|
324
329
|
|
|
325
330
|
[[package]]
|
|
326
331
|
name = "typenum"
|
|
@@ -342,9 +347,9 @@ checksum = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"
|
|
|
342
347
|
|
|
343
348
|
[[package]]
|
|
344
349
|
name = "uuid"
|
|
345
|
-
version = "1.
|
|
350
|
+
version = "1.16.0"
|
|
346
351
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
347
|
-
checksum = "
|
|
352
|
+
checksum = "458f7a779bf54acc9f347480ac654f68407d3aab21269a6e3c9f922acd9e2da9"
|
|
348
353
|
dependencies = [
|
|
349
354
|
"atomic",
|
|
350
355
|
"getrandom",
|
|
@@ -355,7 +360,7 @@ dependencies = [
|
|
|
355
360
|
|
|
356
361
|
[[package]]
|
|
357
362
|
name = "uuid-utils"
|
|
358
|
-
version = "0.
|
|
363
|
+
version = "0.11.0"
|
|
359
364
|
dependencies = [
|
|
360
365
|
"mac_address",
|
|
361
366
|
"pyo3",
|
|
@@ -371,9 +376,12 @@ checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
|
|
|
371
376
|
|
|
372
377
|
[[package]]
|
|
373
378
|
name = "wasi"
|
|
374
|
-
version = "0.
|
|
379
|
+
version = "0.14.2+wasi-0.2.4"
|
|
375
380
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
376
|
-
checksum = "
|
|
381
|
+
checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3"
|
|
382
|
+
dependencies = [
|
|
383
|
+
"wit-bindgen-rt",
|
|
384
|
+
]
|
|
377
385
|
|
|
378
386
|
[[package]]
|
|
379
387
|
name = "winapi"
|
|
@@ -396,3 +404,12 @@ name = "winapi-x86_64-pc-windows-gnu"
|
|
|
396
404
|
version = "0.4.0"
|
|
397
405
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
398
406
|
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
|
407
|
+
|
|
408
|
+
[[package]]
|
|
409
|
+
name = "wit-bindgen-rt"
|
|
410
|
+
version = "0.39.0"
|
|
411
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
412
|
+
checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1"
|
|
413
|
+
dependencies = [
|
|
414
|
+
"bitflags",
|
|
415
|
+
]
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
[package]
|
|
2
|
+
name = "uuid-utils"
|
|
3
|
+
version = "0.11.0"
|
|
4
|
+
edition = "2021"
|
|
5
|
+
|
|
6
|
+
[lib]
|
|
7
|
+
name = "uuid_utils"
|
|
8
|
+
crate-type = ["cdylib"]
|
|
9
|
+
|
|
10
|
+
[dependencies]
|
|
11
|
+
mac_address = "1.1.8"
|
|
12
|
+
pyo3 = { version = "0.25.0", features = ["extension-module", "generate-import-lib", 'abi3-py39'] }
|
|
13
|
+
rand = "0.9.1"
|
|
14
|
+
uuid = { version = "1.16.0", features = ["v1", "v3", "v4", "v5", "v6", "v7", "v8", "fast-rng"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: uuid_utils
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.11.0
|
|
4
4
|
Classifier: Development Status :: 3 - Alpha
|
|
5
5
|
Classifier: Programming Language :: Python
|
|
6
6
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -15,7 +15,7 @@ Classifier: Intended Audience :: Developers
|
|
|
15
15
|
Classifier: License :: OSI Approved :: BSD License
|
|
16
16
|
Classifier: Operating System :: OS Independent
|
|
17
17
|
License-File: LICENSE.md
|
|
18
|
-
Summary: Drop-in replacement for Python UUID in Rust
|
|
18
|
+
Summary: Drop-in replacement for Python UUID with bindings in Rust
|
|
19
19
|
Keywords: rust,uuid
|
|
20
20
|
Author-email: Amin Alaee <me@aminalaee.dev>
|
|
21
21
|
Requires-Python: >=3.9
|
|
@@ -40,9 +40,7 @@ Project-URL: Source, https://github.com/aminalaee/uuid-utils
|
|
|
40
40
|
Python UUID implementation using Rust's UUID library.
|
|
41
41
|
This will make `uuid4` function around 10x faster.
|
|
42
42
|
|
|
43
|
-
This package can be a drop-in replacement to the standard library UUID
|
|
44
|
-
which implements existing UUID versions like v4 in Rust
|
|
45
|
-
and also adds draft UUID versions like v6.
|
|
43
|
+
This package can be a drop-in replacement to the standard library UUID.
|
|
46
44
|
|
|
47
45
|
Avaialble UUID versions:
|
|
48
46
|
|
|
@@ -54,8 +52,6 @@ Avaialble UUID versions:
|
|
|
54
52
|
- `uuid7` - Version 7 UUIDs using a Unix timestamp ordered by time.
|
|
55
53
|
- `uuid8` - Version 8 UUIDs using user-defined data.
|
|
56
54
|
|
|
57
|
-
<sup>Please note that UUID versions 6, 7 and 8 are still in draft RFC.</sup><br>
|
|
58
|
-
|
|
59
55
|
## Installation
|
|
60
56
|
Using `pip`:
|
|
61
57
|
```shell
|
|
@@ -14,9 +14,7 @@
|
|
|
14
14
|
Python UUID implementation using Rust's UUID library.
|
|
15
15
|
This will make `uuid4` function around 10x faster.
|
|
16
16
|
|
|
17
|
-
This package can be a drop-in replacement to the standard library UUID
|
|
18
|
-
which implements existing UUID versions like v4 in Rust
|
|
19
|
-
and also adds draft UUID versions like v6.
|
|
17
|
+
This package can be a drop-in replacement to the standard library UUID.
|
|
20
18
|
|
|
21
19
|
Avaialble UUID versions:
|
|
22
20
|
|
|
@@ -28,8 +26,6 @@ Avaialble UUID versions:
|
|
|
28
26
|
- `uuid7` - Version 7 UUIDs using a Unix timestamp ordered by time.
|
|
29
27
|
- `uuid8` - Version 8 UUIDs using user-defined data.
|
|
30
28
|
|
|
31
|
-
<sup>Please note that UUID versions 6, 7 and 8 are still in draft RFC.</sup><br>
|
|
32
|
-
|
|
33
29
|
## Installation
|
|
34
30
|
Using `pip`:
|
|
35
31
|
```shell
|
|
@@ -14,10 +14,6 @@
|
|
|
14
14
|
Python UUID implementation using Rust's UUID library.
|
|
15
15
|
This will make `uuid4` function around 10x faster.
|
|
16
16
|
|
|
17
|
-
This package can be a drop-in replacement to the standard library UUID
|
|
18
|
-
which implements existing UUID versions like v4 in Rust
|
|
19
|
-
and also adds draft UUID versions like v6.
|
|
20
|
-
|
|
21
17
|
Avaialble UUID versions:
|
|
22
18
|
|
|
23
19
|
- `uuid1` - Version 1 UUIDs using a timestamp and monotonic counter.
|
|
@@ -28,8 +24,6 @@ Avaialble UUID versions:
|
|
|
28
24
|
- `uuid7` - Version 7 UUIDs using a Unix timestamp ordered by time.
|
|
29
25
|
- `uuid8` - Version 8 UUIDs using user-defined data.
|
|
30
26
|
|
|
31
|
-
<sup>Please note that UUID versions 6, 7 and 8 are still in draft RFC.</sup><br>
|
|
32
|
-
|
|
33
27
|
## Installation
|
|
34
28
|
Using `pip`:
|
|
35
29
|
```shell
|
|
@@ -4,7 +4,7 @@ build-backend = "maturin"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "uuid_utils"
|
|
7
|
-
description = "Drop-in replacement for Python UUID in Rust"
|
|
7
|
+
description = "Drop-in replacement for Python UUID with bindings in Rust"
|
|
8
8
|
authors = [{ name = "Amin Alaee", email = "me@aminalaee.dev" }]
|
|
9
9
|
keywords = ["rust", "uuid"]
|
|
10
10
|
requires-python = ">=3.9"
|
uuid_utils-0.10.0/Cargo.toml
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
[package]
|
|
2
|
-
name = "uuid-utils"
|
|
3
|
-
version = "0.10.0"
|
|
4
|
-
edition = "2021"
|
|
5
|
-
|
|
6
|
-
[lib]
|
|
7
|
-
name = "uuid_utils"
|
|
8
|
-
crate-type = ["cdylib"]
|
|
9
|
-
|
|
10
|
-
[dependencies]
|
|
11
|
-
mac_address = "1.1.7"
|
|
12
|
-
pyo3 = { version = "0.23.1", features = ["extension-module", "generate-import-lib", 'abi3-py39'] }
|
|
13
|
-
rand = "0.8.5"
|
|
14
|
-
uuid = { version = "1.11.0", features = ["v1", "v3", "v4", "v5", "v6", "v7", "v8", "fast-rng"]}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|