rapidtag 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.
- rapidtag-0.1.0/.cargo/config.toml +15 -0
- rapidtag-0.1.0/.github/workflows/release.yml +129 -0
- rapidtag-0.1.0/.gitignore +12 -0
- rapidtag-0.1.0/.python-version +1 -0
- rapidtag-0.1.0/Cargo.lock +506 -0
- rapidtag-0.1.0/Cargo.toml +22 -0
- rapidtag-0.1.0/LICENSE +202 -0
- rapidtag-0.1.0/NOTICE +13 -0
- rapidtag-0.1.0/PKG-INFO +151 -0
- rapidtag-0.1.0/README.md +122 -0
- rapidtag-0.1.0/gen_dicts.py +84 -0
- rapidtag-0.1.0/pyproject.toml +35 -0
- rapidtag-0.1.0/src/contours.rs +164 -0
- rapidtag-0.1.0/src/detector.rs +431 -0
- rapidtag-0.1.0/src/dictionaries_data.rs +8288 -0
- rapidtag-0.1.0/src/dictionary.rs +164 -0
- rapidtag-0.1.0/src/imgproc.rs +363 -0
- rapidtag-0.1.0/src/lib.rs +223 -0
- rapidtag-0.1.0/tests/bench.py +88 -0
- rapidtag-0.1.0/tests/crosscheck.py +81 -0
- rapidtag-0.1.0/uv.lock +135 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Portable SIMD baseline for distributed wheels.
|
|
2
|
+
#
|
|
3
|
+
# x86-64-v2 = SSE4.2 / POPCNT, supported by essentially every x86-64 CPU since
|
|
4
|
+
# ~2009. It still enables 128-bit SIMD autovectorization (keeps most of our
|
|
5
|
+
# threshold speedup) while remaining safe to run anywhere. Applied only to
|
|
6
|
+
# x86_64; aarch64 (Apple Silicon, ARM servers) uses its NEON baseline, which is
|
|
7
|
+
# always present, so no flag is needed there.
|
|
8
|
+
#
|
|
9
|
+
# For a MAX-PERFORMANCE build on your own deployment machine, override with the
|
|
10
|
+
# native CPU (not portable — do not ship the resulting wheel):
|
|
11
|
+
# RUSTFLAGS="-C target-cpu=native" maturin develop --release
|
|
12
|
+
#
|
|
13
|
+
# For modern-only fleets you can bump this to x86-64-v3 (AVX2, ~2013+).
|
|
14
|
+
[target.'cfg(target_arch = "x86_64")']
|
|
15
|
+
rustflags = ["-C", "target-cpu=x86-64-v2"]
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
# Build wheels for every platform/arch and publish to PyPI on a version tag.
|
|
4
|
+
#
|
|
5
|
+
# Trigger a release by pushing a tag: git tag v0.1.0 && git push origin v0.1.0
|
|
6
|
+
# You can also run it manually (Actions -> Release -> Run workflow) to test the
|
|
7
|
+
# build matrix without publishing.
|
|
8
|
+
|
|
9
|
+
on:
|
|
10
|
+
push:
|
|
11
|
+
tags: ["v*"]
|
|
12
|
+
workflow_dispatch:
|
|
13
|
+
|
|
14
|
+
permissions:
|
|
15
|
+
contents: read
|
|
16
|
+
|
|
17
|
+
jobs:
|
|
18
|
+
# ---- Linux: x86_64 + arm64 (aarch64), both glibc (manylinux) and musl (Alpine) ----
|
|
19
|
+
#
|
|
20
|
+
# aarch64 builds run on GitHub's native ARM runners (ubuntu-24.04-arm), which are
|
|
21
|
+
# free for public repositories and more reliable than cross-compiling. If this repo
|
|
22
|
+
# is PRIVATE (ARM runners are paid there), swap `ubuntu-24.04-arm` for `ubuntu-latest`
|
|
23
|
+
# — maturin-action will cross-compile aarch64 via its manylinux container instead.
|
|
24
|
+
linux:
|
|
25
|
+
runs-on: ${{ matrix.plat.runner }}
|
|
26
|
+
strategy:
|
|
27
|
+
fail-fast: false
|
|
28
|
+
matrix:
|
|
29
|
+
plat:
|
|
30
|
+
- { runner: ubuntu-latest, target: x86_64, manylinux: auto }
|
|
31
|
+
- { runner: ubuntu-latest, target: x86_64, manylinux: musllinux_1_2 }
|
|
32
|
+
- { runner: ubuntu-24.04-arm, target: aarch64, manylinux: auto }
|
|
33
|
+
- { runner: ubuntu-24.04-arm, target: aarch64, manylinux: musllinux_1_2 }
|
|
34
|
+
steps:
|
|
35
|
+
- uses: actions/checkout@v4
|
|
36
|
+
- uses: actions/setup-python@v5
|
|
37
|
+
with:
|
|
38
|
+
python-version: "3.12"
|
|
39
|
+
- name: Build wheels
|
|
40
|
+
uses: PyO3/maturin-action@v1
|
|
41
|
+
with:
|
|
42
|
+
target: ${{ matrix.plat.target }}
|
|
43
|
+
# abi3 → one wheel covers Python 3.9+.
|
|
44
|
+
args: --release --out dist
|
|
45
|
+
sccache: "true"
|
|
46
|
+
manylinux: ${{ matrix.plat.manylinux }}
|
|
47
|
+
- uses: actions/upload-artifact@v4
|
|
48
|
+
with:
|
|
49
|
+
name: wheels-linux-${{ matrix.plat.target }}-${{ matrix.plat.manylinux }}
|
|
50
|
+
path: dist
|
|
51
|
+
|
|
52
|
+
# ---- macOS: Intel (x86_64) + Apple Silicon (aarch64/NEON) ----
|
|
53
|
+
macos:
|
|
54
|
+
runs-on: macos-latest
|
|
55
|
+
strategy:
|
|
56
|
+
fail-fast: false
|
|
57
|
+
matrix:
|
|
58
|
+
target: [x86_64, aarch64]
|
|
59
|
+
steps:
|
|
60
|
+
- uses: actions/checkout@v4
|
|
61
|
+
- uses: actions/setup-python@v5
|
|
62
|
+
with:
|
|
63
|
+
python-version: "3.12"
|
|
64
|
+
- name: Build wheels
|
|
65
|
+
uses: PyO3/maturin-action@v1
|
|
66
|
+
with:
|
|
67
|
+
target: ${{ matrix.target }}
|
|
68
|
+
args: --release --out dist
|
|
69
|
+
sccache: "true"
|
|
70
|
+
- uses: actions/upload-artifact@v4
|
|
71
|
+
with:
|
|
72
|
+
name: wheels-macos-${{ matrix.target }}
|
|
73
|
+
path: dist
|
|
74
|
+
|
|
75
|
+
# ---- Windows: x64 ----
|
|
76
|
+
windows:
|
|
77
|
+
runs-on: windows-latest
|
|
78
|
+
steps:
|
|
79
|
+
- uses: actions/checkout@v4
|
|
80
|
+
- uses: actions/setup-python@v5
|
|
81
|
+
with:
|
|
82
|
+
python-version: "3.12"
|
|
83
|
+
architecture: x64
|
|
84
|
+
- name: Build wheels
|
|
85
|
+
uses: PyO3/maturin-action@v1
|
|
86
|
+
with:
|
|
87
|
+
target: x64
|
|
88
|
+
args: --release --out dist
|
|
89
|
+
sccache: "true"
|
|
90
|
+
- uses: actions/upload-artifact@v4
|
|
91
|
+
with:
|
|
92
|
+
name: wheels-windows-x64
|
|
93
|
+
path: dist
|
|
94
|
+
|
|
95
|
+
# ---- Source distribution (lets users build from source if no wheel matches) ----
|
|
96
|
+
sdist:
|
|
97
|
+
runs-on: ubuntu-latest
|
|
98
|
+
steps:
|
|
99
|
+
- uses: actions/checkout@v4
|
|
100
|
+
- name: Build sdist
|
|
101
|
+
uses: PyO3/maturin-action@v1
|
|
102
|
+
with:
|
|
103
|
+
command: sdist
|
|
104
|
+
args: --out dist
|
|
105
|
+
- uses: actions/upload-artifact@v4
|
|
106
|
+
with:
|
|
107
|
+
name: wheels-sdist
|
|
108
|
+
path: dist
|
|
109
|
+
|
|
110
|
+
# ---- Publish to PyPI via Trusted Publishing (OIDC) — only on version tags ----
|
|
111
|
+
publish:
|
|
112
|
+
name: Publish to PyPI
|
|
113
|
+
runs-on: ubuntu-latest
|
|
114
|
+
if: startsWith(github.ref, 'refs/tags/')
|
|
115
|
+
needs: [linux, macos, windows, sdist]
|
|
116
|
+
environment:
|
|
117
|
+
name: pypi
|
|
118
|
+
url: https://pypi.org/p/rapidtag
|
|
119
|
+
permissions:
|
|
120
|
+
id-token: write # required for OIDC trusted publishing
|
|
121
|
+
steps:
|
|
122
|
+
- uses: actions/download-artifact@v4
|
|
123
|
+
with:
|
|
124
|
+
path: dist
|
|
125
|
+
merge-multiple: true
|
|
126
|
+
- name: Publish to PyPI
|
|
127
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
128
|
+
with:
|
|
129
|
+
packages-dir: dist
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.13
|
|
@@ -0,0 +1,506 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "approx"
|
|
7
|
+
version = "0.5.1"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6"
|
|
10
|
+
dependencies = [
|
|
11
|
+
"num-traits",
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
[[package]]
|
|
15
|
+
name = "autocfg"
|
|
16
|
+
version = "1.5.1"
|
|
17
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
18
|
+
checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
|
|
19
|
+
|
|
20
|
+
[[package]]
|
|
21
|
+
name = "bytemuck"
|
|
22
|
+
version = "1.25.1"
|
|
23
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
|
+
checksum = "d6aedf8ae72766347502cf3cb4f41cf5e9cc37d28bee90f1fdaaae15f9cf9424"
|
|
25
|
+
|
|
26
|
+
[[package]]
|
|
27
|
+
name = "byteorder-lite"
|
|
28
|
+
version = "0.1.0"
|
|
29
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
30
|
+
checksum = "8f1fe948ff07f4bd06c30984e69f5b4899c516a3ef74f34df92a2df2ab535495"
|
|
31
|
+
|
|
32
|
+
[[package]]
|
|
33
|
+
name = "cc"
|
|
34
|
+
version = "1.2.67"
|
|
35
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
36
|
+
checksum = "e17dd265a7d0f31ef544e1b20e03add05d3b45b491b633b10d67145d2acc1a38"
|
|
37
|
+
dependencies = [
|
|
38
|
+
"find-msvc-tools",
|
|
39
|
+
"shlex",
|
|
40
|
+
]
|
|
41
|
+
|
|
42
|
+
[[package]]
|
|
43
|
+
name = "cfg-if"
|
|
44
|
+
version = "1.0.4"
|
|
45
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
46
|
+
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
|
47
|
+
|
|
48
|
+
[[package]]
|
|
49
|
+
name = "crossbeam-deque"
|
|
50
|
+
version = "0.8.7"
|
|
51
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
52
|
+
checksum = "5181e0de7b61eb03a81e347d6dd8797bae9da5146707b51077e2d71a54ec0ceb"
|
|
53
|
+
dependencies = [
|
|
54
|
+
"crossbeam-epoch",
|
|
55
|
+
"crossbeam-utils",
|
|
56
|
+
]
|
|
57
|
+
|
|
58
|
+
[[package]]
|
|
59
|
+
name = "crossbeam-epoch"
|
|
60
|
+
version = "0.9.20"
|
|
61
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
62
|
+
checksum = "2d6914041f254d6e9176c01941b21115dcfb7089e55135a35411081bd106ef3f"
|
|
63
|
+
dependencies = [
|
|
64
|
+
"crossbeam-utils",
|
|
65
|
+
]
|
|
66
|
+
|
|
67
|
+
[[package]]
|
|
68
|
+
name = "crossbeam-utils"
|
|
69
|
+
version = "0.8.22"
|
|
70
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
71
|
+
checksum = "61803da095bee82a81bb1a452ecc25d3b2f1416d1897eb86430c6159ef717c17"
|
|
72
|
+
|
|
73
|
+
[[package]]
|
|
74
|
+
name = "either"
|
|
75
|
+
version = "1.16.0"
|
|
76
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
77
|
+
checksum = "91622ff5e7162018101f2fea40d6ebf4a78bbe5a49736a2020649edf9693679e"
|
|
78
|
+
|
|
79
|
+
[[package]]
|
|
80
|
+
name = "find-msvc-tools"
|
|
81
|
+
version = "0.1.9"
|
|
82
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
83
|
+
checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
|
|
84
|
+
|
|
85
|
+
[[package]]
|
|
86
|
+
name = "heck"
|
|
87
|
+
version = "0.5.0"
|
|
88
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
89
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
90
|
+
|
|
91
|
+
[[package]]
|
|
92
|
+
name = "image"
|
|
93
|
+
version = "0.25.10"
|
|
94
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
95
|
+
checksum = "85ab80394333c02fe689eaf900ab500fbd0c2213da414687ebf995a65d5a6104"
|
|
96
|
+
dependencies = [
|
|
97
|
+
"bytemuck",
|
|
98
|
+
"byteorder-lite",
|
|
99
|
+
"moxcms",
|
|
100
|
+
"num-traits",
|
|
101
|
+
]
|
|
102
|
+
|
|
103
|
+
[[package]]
|
|
104
|
+
name = "indoc"
|
|
105
|
+
version = "2.0.7"
|
|
106
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
107
|
+
checksum = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706"
|
|
108
|
+
dependencies = [
|
|
109
|
+
"rustversion",
|
|
110
|
+
]
|
|
111
|
+
|
|
112
|
+
[[package]]
|
|
113
|
+
name = "libc"
|
|
114
|
+
version = "0.2.186"
|
|
115
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
116
|
+
checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
|
|
117
|
+
|
|
118
|
+
[[package]]
|
|
119
|
+
name = "libmimalloc-sys"
|
|
120
|
+
version = "0.1.49"
|
|
121
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
122
|
+
checksum = "6a45a52f43e1c16f667ccfe4dd8c85b7f7c204fd5e3bf46c5b0db9a5c3c0b8e9"
|
|
123
|
+
dependencies = [
|
|
124
|
+
"cc",
|
|
125
|
+
]
|
|
126
|
+
|
|
127
|
+
[[package]]
|
|
128
|
+
name = "matrixmultiply"
|
|
129
|
+
version = "0.3.10"
|
|
130
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
131
|
+
checksum = "a06de3016e9fae57a36fd14dba131fccf49f74b40b7fbdb472f96e361ec71a08"
|
|
132
|
+
dependencies = [
|
|
133
|
+
"autocfg",
|
|
134
|
+
"rawpointer",
|
|
135
|
+
]
|
|
136
|
+
|
|
137
|
+
[[package]]
|
|
138
|
+
name = "memoffset"
|
|
139
|
+
version = "0.9.1"
|
|
140
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
141
|
+
checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
|
|
142
|
+
dependencies = [
|
|
143
|
+
"autocfg",
|
|
144
|
+
]
|
|
145
|
+
|
|
146
|
+
[[package]]
|
|
147
|
+
name = "mimalloc"
|
|
148
|
+
version = "0.1.52"
|
|
149
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
150
|
+
checksum = "2d4139bb28d14ad1facf21d5eb8825051b326e172d216b39f6d31df53cc97862"
|
|
151
|
+
dependencies = [
|
|
152
|
+
"libmimalloc-sys",
|
|
153
|
+
]
|
|
154
|
+
|
|
155
|
+
[[package]]
|
|
156
|
+
name = "moxcms"
|
|
157
|
+
version = "0.8.1"
|
|
158
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
159
|
+
checksum = "bb85c154ba489f01b25c0d36ae69a87e4a1c73a72631fc6c0eb6dde34a73e44b"
|
|
160
|
+
dependencies = [
|
|
161
|
+
"num-traits",
|
|
162
|
+
"pxfm",
|
|
163
|
+
]
|
|
164
|
+
|
|
165
|
+
[[package]]
|
|
166
|
+
name = "nalgebra"
|
|
167
|
+
version = "0.33.3"
|
|
168
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
169
|
+
checksum = "9d43ddcacf343185dfd6de2ee786d9e8b1c2301622afab66b6c73baf9882abfd"
|
|
170
|
+
dependencies = [
|
|
171
|
+
"approx",
|
|
172
|
+
"matrixmultiply",
|
|
173
|
+
"nalgebra-macros",
|
|
174
|
+
"num-complex",
|
|
175
|
+
"num-rational",
|
|
176
|
+
"num-traits",
|
|
177
|
+
"simba",
|
|
178
|
+
"typenum",
|
|
179
|
+
]
|
|
180
|
+
|
|
181
|
+
[[package]]
|
|
182
|
+
name = "nalgebra-macros"
|
|
183
|
+
version = "0.2.2"
|
|
184
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
185
|
+
checksum = "254a5372af8fc138e36684761d3c0cdb758a4410e938babcff1c860ce14ddbfc"
|
|
186
|
+
dependencies = [
|
|
187
|
+
"proc-macro2",
|
|
188
|
+
"quote",
|
|
189
|
+
"syn",
|
|
190
|
+
]
|
|
191
|
+
|
|
192
|
+
[[package]]
|
|
193
|
+
name = "ndarray"
|
|
194
|
+
version = "0.16.1"
|
|
195
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
196
|
+
checksum = "882ed72dce9365842bf196bdeedf5055305f11fc8c03dee7bb0194a6cad34841"
|
|
197
|
+
dependencies = [
|
|
198
|
+
"matrixmultiply",
|
|
199
|
+
"num-complex",
|
|
200
|
+
"num-integer",
|
|
201
|
+
"num-traits",
|
|
202
|
+
"portable-atomic",
|
|
203
|
+
"portable-atomic-util",
|
|
204
|
+
"rawpointer",
|
|
205
|
+
]
|
|
206
|
+
|
|
207
|
+
[[package]]
|
|
208
|
+
name = "num-bigint"
|
|
209
|
+
version = "0.4.8"
|
|
210
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
211
|
+
checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367"
|
|
212
|
+
dependencies = [
|
|
213
|
+
"num-integer",
|
|
214
|
+
"num-traits",
|
|
215
|
+
]
|
|
216
|
+
|
|
217
|
+
[[package]]
|
|
218
|
+
name = "num-complex"
|
|
219
|
+
version = "0.4.6"
|
|
220
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
221
|
+
checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495"
|
|
222
|
+
dependencies = [
|
|
223
|
+
"num-traits",
|
|
224
|
+
]
|
|
225
|
+
|
|
226
|
+
[[package]]
|
|
227
|
+
name = "num-integer"
|
|
228
|
+
version = "0.1.46"
|
|
229
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
230
|
+
checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
|
|
231
|
+
dependencies = [
|
|
232
|
+
"num-traits",
|
|
233
|
+
]
|
|
234
|
+
|
|
235
|
+
[[package]]
|
|
236
|
+
name = "num-rational"
|
|
237
|
+
version = "0.4.2"
|
|
238
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
239
|
+
checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824"
|
|
240
|
+
dependencies = [
|
|
241
|
+
"num-bigint",
|
|
242
|
+
"num-integer",
|
|
243
|
+
"num-traits",
|
|
244
|
+
]
|
|
245
|
+
|
|
246
|
+
[[package]]
|
|
247
|
+
name = "num-traits"
|
|
248
|
+
version = "0.2.19"
|
|
249
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
250
|
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
|
251
|
+
dependencies = [
|
|
252
|
+
"autocfg",
|
|
253
|
+
]
|
|
254
|
+
|
|
255
|
+
[[package]]
|
|
256
|
+
name = "numpy"
|
|
257
|
+
version = "0.22.1"
|
|
258
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
259
|
+
checksum = "edb929bc0da91a4d85ed6c0a84deaa53d411abfb387fc271124f91bf6b89f14e"
|
|
260
|
+
dependencies = [
|
|
261
|
+
"libc",
|
|
262
|
+
"ndarray",
|
|
263
|
+
"num-complex",
|
|
264
|
+
"num-integer",
|
|
265
|
+
"num-traits",
|
|
266
|
+
"pyo3",
|
|
267
|
+
"rustc-hash",
|
|
268
|
+
]
|
|
269
|
+
|
|
270
|
+
[[package]]
|
|
271
|
+
name = "once_cell"
|
|
272
|
+
version = "1.21.4"
|
|
273
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
274
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
275
|
+
|
|
276
|
+
[[package]]
|
|
277
|
+
name = "paste"
|
|
278
|
+
version = "1.0.15"
|
|
279
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
280
|
+
checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
|
|
281
|
+
|
|
282
|
+
[[package]]
|
|
283
|
+
name = "portable-atomic"
|
|
284
|
+
version = "1.13.1"
|
|
285
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
286
|
+
checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
|
|
287
|
+
|
|
288
|
+
[[package]]
|
|
289
|
+
name = "portable-atomic-util"
|
|
290
|
+
version = "0.2.7"
|
|
291
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
292
|
+
checksum = "c2a106d1259c23fac8e543272398ae0e3c0b8d33c88ed73d0cc71b0f1d902618"
|
|
293
|
+
dependencies = [
|
|
294
|
+
"portable-atomic",
|
|
295
|
+
]
|
|
296
|
+
|
|
297
|
+
[[package]]
|
|
298
|
+
name = "proc-macro2"
|
|
299
|
+
version = "1.0.106"
|
|
300
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
301
|
+
checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
|
|
302
|
+
dependencies = [
|
|
303
|
+
"unicode-ident",
|
|
304
|
+
]
|
|
305
|
+
|
|
306
|
+
[[package]]
|
|
307
|
+
name = "pxfm"
|
|
308
|
+
version = "0.1.30"
|
|
309
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
310
|
+
checksum = "d55d956fa96f5ec02be2e13af0e20391a5aa83d6a074e3ad368959d0fab299ea"
|
|
311
|
+
|
|
312
|
+
[[package]]
|
|
313
|
+
name = "pyo3"
|
|
314
|
+
version = "0.22.6"
|
|
315
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
316
|
+
checksum = "f402062616ab18202ae8319da13fa4279883a2b8a9d9f83f20dbade813ce1884"
|
|
317
|
+
dependencies = [
|
|
318
|
+
"cfg-if",
|
|
319
|
+
"indoc",
|
|
320
|
+
"libc",
|
|
321
|
+
"memoffset",
|
|
322
|
+
"once_cell",
|
|
323
|
+
"portable-atomic",
|
|
324
|
+
"pyo3-build-config",
|
|
325
|
+
"pyo3-ffi",
|
|
326
|
+
"pyo3-macros",
|
|
327
|
+
"unindent",
|
|
328
|
+
]
|
|
329
|
+
|
|
330
|
+
[[package]]
|
|
331
|
+
name = "pyo3-build-config"
|
|
332
|
+
version = "0.22.6"
|
|
333
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
334
|
+
checksum = "b14b5775b5ff446dd1056212d778012cbe8a0fbffd368029fd9e25b514479c38"
|
|
335
|
+
dependencies = [
|
|
336
|
+
"once_cell",
|
|
337
|
+
"target-lexicon",
|
|
338
|
+
]
|
|
339
|
+
|
|
340
|
+
[[package]]
|
|
341
|
+
name = "pyo3-ffi"
|
|
342
|
+
version = "0.22.6"
|
|
343
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
344
|
+
checksum = "9ab5bcf04a2cdcbb50c7d6105de943f543f9ed92af55818fd17b660390fc8636"
|
|
345
|
+
dependencies = [
|
|
346
|
+
"libc",
|
|
347
|
+
"pyo3-build-config",
|
|
348
|
+
]
|
|
349
|
+
|
|
350
|
+
[[package]]
|
|
351
|
+
name = "pyo3-macros"
|
|
352
|
+
version = "0.22.6"
|
|
353
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
354
|
+
checksum = "0fd24d897903a9e6d80b968368a34e1525aeb719d568dba8b3d4bfa5dc67d453"
|
|
355
|
+
dependencies = [
|
|
356
|
+
"proc-macro2",
|
|
357
|
+
"pyo3-macros-backend",
|
|
358
|
+
"quote",
|
|
359
|
+
"syn",
|
|
360
|
+
]
|
|
361
|
+
|
|
362
|
+
[[package]]
|
|
363
|
+
name = "pyo3-macros-backend"
|
|
364
|
+
version = "0.22.6"
|
|
365
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
366
|
+
checksum = "36c011a03ba1e50152b4b394b479826cad97e7a21eb52df179cd91ac411cbfbe"
|
|
367
|
+
dependencies = [
|
|
368
|
+
"heck",
|
|
369
|
+
"proc-macro2",
|
|
370
|
+
"pyo3-build-config",
|
|
371
|
+
"quote",
|
|
372
|
+
"syn",
|
|
373
|
+
]
|
|
374
|
+
|
|
375
|
+
[[package]]
|
|
376
|
+
name = "quote"
|
|
377
|
+
version = "1.0.46"
|
|
378
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
379
|
+
checksum = "dfbc457d0c7a0759a614551b11a6409e5951f6c7537be1f1b7682b9ae9230368"
|
|
380
|
+
dependencies = [
|
|
381
|
+
"proc-macro2",
|
|
382
|
+
]
|
|
383
|
+
|
|
384
|
+
[[package]]
|
|
385
|
+
name = "rapidtag"
|
|
386
|
+
version = "0.1.0"
|
|
387
|
+
dependencies = [
|
|
388
|
+
"image",
|
|
389
|
+
"mimalloc",
|
|
390
|
+
"nalgebra",
|
|
391
|
+
"ndarray",
|
|
392
|
+
"numpy",
|
|
393
|
+
"pyo3",
|
|
394
|
+
"rayon",
|
|
395
|
+
]
|
|
396
|
+
|
|
397
|
+
[[package]]
|
|
398
|
+
name = "rawpointer"
|
|
399
|
+
version = "0.2.1"
|
|
400
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
401
|
+
checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3"
|
|
402
|
+
|
|
403
|
+
[[package]]
|
|
404
|
+
name = "rayon"
|
|
405
|
+
version = "1.12.0"
|
|
406
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
407
|
+
checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d"
|
|
408
|
+
dependencies = [
|
|
409
|
+
"either",
|
|
410
|
+
"rayon-core",
|
|
411
|
+
]
|
|
412
|
+
|
|
413
|
+
[[package]]
|
|
414
|
+
name = "rayon-core"
|
|
415
|
+
version = "1.13.0"
|
|
416
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
417
|
+
checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
|
|
418
|
+
dependencies = [
|
|
419
|
+
"crossbeam-deque",
|
|
420
|
+
"crossbeam-utils",
|
|
421
|
+
]
|
|
422
|
+
|
|
423
|
+
[[package]]
|
|
424
|
+
name = "rustc-hash"
|
|
425
|
+
version = "1.1.0"
|
|
426
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
427
|
+
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
|
|
428
|
+
|
|
429
|
+
[[package]]
|
|
430
|
+
name = "rustversion"
|
|
431
|
+
version = "1.0.23"
|
|
432
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
433
|
+
checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
|
|
434
|
+
|
|
435
|
+
[[package]]
|
|
436
|
+
name = "safe_arch"
|
|
437
|
+
version = "0.7.4"
|
|
438
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
439
|
+
checksum = "96b02de82ddbe1b636e6170c21be622223aea188ef2e139be0a5b219ec215323"
|
|
440
|
+
dependencies = [
|
|
441
|
+
"bytemuck",
|
|
442
|
+
]
|
|
443
|
+
|
|
444
|
+
[[package]]
|
|
445
|
+
name = "shlex"
|
|
446
|
+
version = "2.0.1"
|
|
447
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
448
|
+
checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
|
|
449
|
+
|
|
450
|
+
[[package]]
|
|
451
|
+
name = "simba"
|
|
452
|
+
version = "0.9.1"
|
|
453
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
454
|
+
checksum = "c99284beb21666094ba2b75bbceda012e610f5479dfcc2d6e2426f53197ffd95"
|
|
455
|
+
dependencies = [
|
|
456
|
+
"approx",
|
|
457
|
+
"num-complex",
|
|
458
|
+
"num-traits",
|
|
459
|
+
"paste",
|
|
460
|
+
"wide",
|
|
461
|
+
]
|
|
462
|
+
|
|
463
|
+
[[package]]
|
|
464
|
+
name = "syn"
|
|
465
|
+
version = "2.0.118"
|
|
466
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
467
|
+
checksum = "1b9ae57f904213ebb649ce6895b8a66c66f0203b9319718f69a5612a065b1422"
|
|
468
|
+
dependencies = [
|
|
469
|
+
"proc-macro2",
|
|
470
|
+
"quote",
|
|
471
|
+
"unicode-ident",
|
|
472
|
+
]
|
|
473
|
+
|
|
474
|
+
[[package]]
|
|
475
|
+
name = "target-lexicon"
|
|
476
|
+
version = "0.12.16"
|
|
477
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
478
|
+
checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
|
|
479
|
+
|
|
480
|
+
[[package]]
|
|
481
|
+
name = "typenum"
|
|
482
|
+
version = "1.20.1"
|
|
483
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
484
|
+
checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
|
|
485
|
+
|
|
486
|
+
[[package]]
|
|
487
|
+
name = "unicode-ident"
|
|
488
|
+
version = "1.0.24"
|
|
489
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
490
|
+
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
491
|
+
|
|
492
|
+
[[package]]
|
|
493
|
+
name = "unindent"
|
|
494
|
+
version = "0.2.4"
|
|
495
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
496
|
+
checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
|
|
497
|
+
|
|
498
|
+
[[package]]
|
|
499
|
+
name = "wide"
|
|
500
|
+
version = "0.7.33"
|
|
501
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
502
|
+
checksum = "0ce5da8ecb62bcd8ec8b7ea19f69a51275e91299be594ea5cc6ef7819e16cd03"
|
|
503
|
+
dependencies = [
|
|
504
|
+
"bytemuck",
|
|
505
|
+
"safe_arch",
|
|
506
|
+
]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
[package]
|
|
2
|
+
name = "rapidtag"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
edition = "2021"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
|
|
7
|
+
[lib]
|
|
8
|
+
name = "rapidtag"
|
|
9
|
+
crate-type = ["cdylib", "rlib"]
|
|
10
|
+
|
|
11
|
+
[dependencies]
|
|
12
|
+
pyo3 = { version = "0.22", features = ["extension-module", "abi3-py39"] }
|
|
13
|
+
numpy = "0.22"
|
|
14
|
+
ndarray = "0.16"
|
|
15
|
+
image = { version = "0.25", default-features = false }
|
|
16
|
+
nalgebra = "0.33"
|
|
17
|
+
rayon = "1.10"
|
|
18
|
+
mimalloc = { version = "0.1", default-features = false }
|
|
19
|
+
|
|
20
|
+
[profile.release]
|
|
21
|
+
lto = true
|
|
22
|
+
codegen-units = 1
|