cridecoder 0.3.5__tar.gz → 0.3.6__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.
- cridecoder-0.3.6/.github/workflows/build.yml +41 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/.github/workflows/ci.yml +3 -3
- {cridecoder-0.3.5 → cridecoder-0.3.6}/.github/workflows/release-crate.yml +3 -3
- {cridecoder-0.3.5 → cridecoder-0.3.6}/.github/workflows/release-python.yml +19 -14
- cridecoder-0.3.6/CLAUDE.md +3 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/Cargo.lock +41 -30
- {cridecoder-0.3.5 → cridecoder-0.3.6}/Cargo.toml +1 -1
- {cridecoder-0.3.5 → cridecoder-0.3.6}/PKG-INFO +1 -1
- {cridecoder-0.3.5 → cridecoder-0.3.6}/examples/hca_attrib.rs +1 -1
- {cridecoder-0.3.5 → cridecoder-0.3.6}/examples/hca_parallel.rs +2 -2
- {cridecoder-0.3.5 → cridecoder-0.3.6}/examples/profile_hca.rs +1 -1
- {cridecoder-0.3.5 → cridecoder-0.3.6}/pyproject.toml +1 -1
- cridecoder-0.3.6/sonar-project.properties +13 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/src/acb/builder.rs +121 -82
- {cridecoder-0.3.5 → cridecoder-0.3.6}/src/acb/extractor.rs +1 -1
- {cridecoder-0.3.5 → cridecoder-0.3.6}/src/acb/utf.rs +6 -1
- {cridecoder-0.3.5 → cridecoder-0.3.6}/src/hca/bitreader.rs +62 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/src/hca/decoder.rs +338 -254
- {cridecoder-0.3.5 → cridecoder-0.3.6}/src/hca/encoder.rs +241 -149
- {cridecoder-0.3.5 → cridecoder-0.3.6}/src/hca/hca_file.rs +283 -121
- {cridecoder-0.3.5 → cridecoder-0.3.6}/src/hca/imdct.rs +8 -2
- {cridecoder-0.3.5 → cridecoder-0.3.6}/src/python.rs +1 -1
- {cridecoder-0.3.5 → cridecoder-0.3.6}/src/reader.rs +57 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/src/usm/builder.rs +35 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/src/usm/extractor.rs +148 -27
- {cridecoder-0.3.5 → cridecoder-0.3.6}/src/usm/metadata.rs +504 -1
- cridecoder-0.3.5/CLAUDE.md +0 -6
- {cridecoder-0.3.5 → cridecoder-0.3.6}/.github/copilot-instructions.md +0 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/.github/dependabot.yml +0 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/.gitignore +0 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/AGENTS.md +0 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/KNOWN_GAPS.md +0 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/LICENSE +0 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/README.md +0 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/cridecoder.pyi +0 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/examples/debug_acb.rs +0 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/examples/profile_acb.rs +0 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/examples/test_acb.rs +0 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/examples/test_hca.rs +0 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/examples/test_usm.rs +0 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/src/acb/afs.rs +0 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/src/acb/consts.rs +0 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/src/acb/decode.rs +0 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/src/acb/track.rs +0 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/src/acb.rs +0 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/src/hca/ath.rs +0 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/src/hca/cipher.rs +0 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/src/hca/tables.rs +0 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/src/hca.rs +0 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/src/lib.rs +0 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/src/usm.rs +0 -0
- {cridecoder-0.3.5 → cridecoder-0.3.6}/tests/integration_tests.rs +0 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
name: Build
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [main]
|
|
8
|
+
types: [opened, synchronize, reopened]
|
|
9
|
+
workflow_dispatch:
|
|
10
|
+
|
|
11
|
+
permissions:
|
|
12
|
+
contents: read
|
|
13
|
+
|
|
14
|
+
concurrency:
|
|
15
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
16
|
+
cancel-in-progress: true
|
|
17
|
+
|
|
18
|
+
jobs:
|
|
19
|
+
sonarqube:
|
|
20
|
+
name: SonarQube
|
|
21
|
+
runs-on: ubuntu-latest
|
|
22
|
+
steps:
|
|
23
|
+
- name: Checkout
|
|
24
|
+
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
|
|
25
|
+
with:
|
|
26
|
+
fetch-depth: 0
|
|
27
|
+
|
|
28
|
+
- name: Install cargo-llvm-cov
|
|
29
|
+
uses: taiki-e/install-action@37f7c5781271959fb65b6b35224e28652ff2b63d # v2
|
|
30
|
+
with:
|
|
31
|
+
tool: cargo-llvm-cov
|
|
32
|
+
|
|
33
|
+
- name: Generate Rust coverage
|
|
34
|
+
run: cargo llvm-cov --locked --lcov --output-path target/lcov.info
|
|
35
|
+
env:
|
|
36
|
+
RUST_MIN_STACK: 16777216
|
|
37
|
+
|
|
38
|
+
- name: SonarQube Scan
|
|
39
|
+
uses: SonarSource/sonarqube-scan-action@7006c4492b2e0ee0f816d36501671557c97f5995 # v8.1.0
|
|
40
|
+
env:
|
|
41
|
+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
|
@@ -23,15 +23,15 @@ jobs:
|
|
|
23
23
|
runs-on: ubuntu-latest
|
|
24
24
|
steps:
|
|
25
25
|
- name: Checkout
|
|
26
|
-
uses: actions/checkout@
|
|
26
|
+
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
|
|
27
27
|
|
|
28
28
|
- name: Install Rust stable
|
|
29
|
-
uses: dtolnay/rust-toolchain@stable
|
|
29
|
+
uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c # stable
|
|
30
30
|
with:
|
|
31
31
|
components: rustfmt, clippy
|
|
32
32
|
|
|
33
33
|
- name: Cache Rust artifacts
|
|
34
|
-
uses: Swatinem/rust-cache@v2
|
|
34
|
+
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2
|
|
35
35
|
|
|
36
36
|
- name: Check formatting
|
|
37
37
|
run: cargo fmt --all -- --check
|
|
@@ -10,9 +10,9 @@ jobs:
|
|
|
10
10
|
name: Publish to crates.io
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
12
|
steps:
|
|
13
|
-
- uses: actions/checkout@
|
|
14
|
-
- uses: dtolnay/rust-toolchain@stable
|
|
15
|
-
- uses: Swatinem/rust-cache@v2
|
|
13
|
+
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
|
|
14
|
+
- uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c # stable
|
|
15
|
+
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2
|
|
16
16
|
- name: Set version from tag
|
|
17
17
|
if: github.event_name == 'release'
|
|
18
18
|
run: |
|
|
@@ -5,9 +5,6 @@ on:
|
|
|
5
5
|
types: [published]
|
|
6
6
|
workflow_dispatch:
|
|
7
7
|
|
|
8
|
-
permissions:
|
|
9
|
-
contents: read
|
|
10
|
-
|
|
11
8
|
env:
|
|
12
9
|
# Extract version from tag (strips 'v' prefix), fallback to 0.0.0 for workflow_dispatch
|
|
13
10
|
RELEASE_VERSION: ${{ github.event_name == 'release' && github.ref_name || 'v0.0.0' }}
|
|
@@ -18,11 +15,13 @@ jobs:
|
|
|
18
15
|
# ──────────────────────────────────────────────
|
|
19
16
|
linux:
|
|
20
17
|
runs-on: ubuntu-latest
|
|
18
|
+
permissions:
|
|
19
|
+
contents: read
|
|
21
20
|
strategy:
|
|
22
21
|
matrix:
|
|
23
22
|
target: [x86_64, aarch64]
|
|
24
23
|
steps:
|
|
25
|
-
- uses: actions/checkout@
|
|
24
|
+
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
|
|
26
25
|
- name: Set version from tag
|
|
27
26
|
if: github.event_name == 'release'
|
|
28
27
|
run: |
|
|
@@ -30,7 +29,7 @@ jobs:
|
|
|
30
29
|
sed -i "0,/^version = .*/s//version = \"${VERSION}\"/" Cargo.toml
|
|
31
30
|
sed -i "s/^version = .*/version = \"${VERSION}\"/" pyproject.toml
|
|
32
31
|
- name: Build wheels
|
|
33
|
-
uses: PyO3/maturin-action@v1
|
|
32
|
+
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1
|
|
34
33
|
with:
|
|
35
34
|
target: ${{ matrix.target }}
|
|
36
35
|
args: --release --out dist --find-interpreter
|
|
@@ -47,18 +46,20 @@ jobs:
|
|
|
47
46
|
# ──────────────────────────────────────────────
|
|
48
47
|
macos:
|
|
49
48
|
runs-on: macos-15
|
|
49
|
+
permissions:
|
|
50
|
+
contents: read
|
|
50
51
|
strategy:
|
|
51
52
|
matrix:
|
|
52
53
|
target: [x86_64, aarch64]
|
|
53
54
|
steps:
|
|
54
|
-
- uses: actions/checkout@
|
|
55
|
+
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
|
|
55
56
|
- name: Set version from tag
|
|
56
57
|
if: github.event_name == 'release'
|
|
57
58
|
run: |
|
|
58
59
|
VERSION="${GITHUB_REF_NAME#v}"
|
|
59
60
|
sed -i '' "1,/^version = .*/{s/^version = .*/version = \"${VERSION}\"/;}" Cargo.toml
|
|
60
61
|
sed -i '' "s/^version = .*/version = \"${VERSION}\"/" pyproject.toml
|
|
61
|
-
- uses: actions/setup-python@
|
|
62
|
+
- uses: actions/setup-python@v7
|
|
62
63
|
with:
|
|
63
64
|
python-version: |
|
|
64
65
|
3.9
|
|
@@ -70,7 +71,7 @@ jobs:
|
|
|
70
71
|
3.14t
|
|
71
72
|
allow-prereleases: true
|
|
72
73
|
- name: Build wheels
|
|
73
|
-
uses: PyO3/maturin-action@v1
|
|
74
|
+
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1
|
|
74
75
|
with:
|
|
75
76
|
target: ${{ matrix.target }}
|
|
76
77
|
args: --release --out dist --find-interpreter
|
|
@@ -86,8 +87,10 @@ jobs:
|
|
|
86
87
|
# ──────────────────────────────────────────────
|
|
87
88
|
windows:
|
|
88
89
|
runs-on: windows-latest
|
|
90
|
+
permissions:
|
|
91
|
+
contents: read
|
|
89
92
|
steps:
|
|
90
|
-
- uses: actions/checkout@
|
|
93
|
+
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
|
|
91
94
|
- name: Set version from tag
|
|
92
95
|
if: github.event_name == 'release'
|
|
93
96
|
shell: bash
|
|
@@ -95,7 +98,7 @@ jobs:
|
|
|
95
98
|
VERSION="${GITHUB_REF_NAME#v}"
|
|
96
99
|
sed -i "0,/^version = .*/s//version = \"${VERSION}\"/" Cargo.toml
|
|
97
100
|
sed -i "s/^version = .*/version = \"${VERSION}\"/" pyproject.toml
|
|
98
|
-
- uses: actions/setup-python@
|
|
101
|
+
- uses: actions/setup-python@v7
|
|
99
102
|
with:
|
|
100
103
|
python-version: |
|
|
101
104
|
3.9
|
|
@@ -107,7 +110,7 @@ jobs:
|
|
|
107
110
|
3.14t
|
|
108
111
|
allow-prereleases: true
|
|
109
112
|
- name: Build wheels
|
|
110
|
-
uses: PyO3/maturin-action@v1
|
|
113
|
+
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1
|
|
111
114
|
with:
|
|
112
115
|
target: x64
|
|
113
116
|
args: --release --out dist --find-interpreter
|
|
@@ -123,8 +126,10 @@ jobs:
|
|
|
123
126
|
# ──────────────────────────────────────────────
|
|
124
127
|
sdist:
|
|
125
128
|
runs-on: ubuntu-latest
|
|
129
|
+
permissions:
|
|
130
|
+
contents: read
|
|
126
131
|
steps:
|
|
127
|
-
- uses: actions/checkout@
|
|
132
|
+
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
|
|
128
133
|
- name: Set version from tag
|
|
129
134
|
if: github.event_name == 'release'
|
|
130
135
|
run: |
|
|
@@ -132,7 +137,7 @@ jobs:
|
|
|
132
137
|
sed -i "0,/^version = .*/s//version = \"${VERSION}\"/" Cargo.toml
|
|
133
138
|
sed -i "s/^version = .*/version = \"${VERSION}\"/" pyproject.toml
|
|
134
139
|
- name: Build sdist
|
|
135
|
-
uses: PyO3/maturin-action@v1
|
|
140
|
+
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1
|
|
136
141
|
with:
|
|
137
142
|
command: sdist
|
|
138
143
|
args: --out dist
|
|
@@ -162,7 +167,7 @@ jobs:
|
|
|
162
167
|
merge-multiple: true
|
|
163
168
|
path: dist/
|
|
164
169
|
- name: Publish to PyPI
|
|
165
|
-
uses: PyO3/maturin-action@v1
|
|
170
|
+
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1
|
|
166
171
|
with:
|
|
167
172
|
command: upload
|
|
168
173
|
args: --non-interactive --skip-existing dist/*
|
|
@@ -28,7 +28,7 @@ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
|
|
28
28
|
|
|
29
29
|
[[package]]
|
|
30
30
|
name = "cridecoder"
|
|
31
|
-
version = "0.3.
|
|
31
|
+
version = "0.3.6"
|
|
32
32
|
dependencies = [
|
|
33
33
|
"byteorder",
|
|
34
34
|
"encoding_rs",
|
|
@@ -191,7 +191,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
191
191
|
checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b"
|
|
192
192
|
dependencies = [
|
|
193
193
|
"proc-macro2",
|
|
194
|
-
"syn",
|
|
194
|
+
"syn 2.0.117",
|
|
195
195
|
]
|
|
196
196
|
|
|
197
197
|
[[package]]
|
|
@@ -205,9 +205,9 @@ dependencies = [
|
|
|
205
205
|
|
|
206
206
|
[[package]]
|
|
207
207
|
name = "pyo3"
|
|
208
|
-
version = "0.29.
|
|
208
|
+
version = "0.29.2"
|
|
209
209
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
210
|
-
checksum = "
|
|
210
|
+
checksum = "4688ddedf473e32662b9b067670129a8afb8c18e351482c70d62ba4a88171e8b"
|
|
211
211
|
dependencies = [
|
|
212
212
|
"libc",
|
|
213
213
|
"once_cell",
|
|
@@ -219,18 +219,18 @@ dependencies = [
|
|
|
219
219
|
|
|
220
220
|
[[package]]
|
|
221
221
|
name = "pyo3-build-config"
|
|
222
|
-
version = "0.29.
|
|
222
|
+
version = "0.29.2"
|
|
223
223
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
224
|
-
checksum = "
|
|
224
|
+
checksum = "f41027e41b4bd03f6e60f9f417fe24a6341a6bb744edd62b6f709f2a52ea30e9"
|
|
225
225
|
dependencies = [
|
|
226
226
|
"target-lexicon",
|
|
227
227
|
]
|
|
228
228
|
|
|
229
229
|
[[package]]
|
|
230
230
|
name = "pyo3-ffi"
|
|
231
|
-
version = "0.29.
|
|
231
|
+
version = "0.29.2"
|
|
232
232
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
233
|
-
checksum = "
|
|
233
|
+
checksum = "e591a95526fead067432c3b3a33fc74770b87b1e04e73671090d9c2055a2b327"
|
|
234
234
|
dependencies = [
|
|
235
235
|
"libc",
|
|
236
236
|
"pyo3-build-config",
|
|
@@ -238,26 +238,26 @@ dependencies = [
|
|
|
238
238
|
|
|
239
239
|
[[package]]
|
|
240
240
|
name = "pyo3-macros"
|
|
241
|
-
version = "0.29.
|
|
241
|
+
version = "0.29.2"
|
|
242
242
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
243
|
-
checksum = "
|
|
243
|
+
checksum = "73225868fc1cd84eef2c3c230ddb91273bf1de46aeb8a4248da76d32a0924a1c"
|
|
244
244
|
dependencies = [
|
|
245
245
|
"proc-macro2",
|
|
246
246
|
"pyo3-macros-backend",
|
|
247
247
|
"quote",
|
|
248
|
-
"syn",
|
|
248
|
+
"syn 2.0.117",
|
|
249
249
|
]
|
|
250
250
|
|
|
251
251
|
[[package]]
|
|
252
252
|
name = "pyo3-macros-backend"
|
|
253
|
-
version = "0.29.
|
|
253
|
+
version = "0.29.2"
|
|
254
254
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
255
|
-
checksum = "
|
|
255
|
+
checksum = "571575aa3749fa6216757dd47d2a3e7ef360f329a40f0666a9fbd14889024952"
|
|
256
256
|
dependencies = [
|
|
257
257
|
"heck",
|
|
258
258
|
"proc-macro2",
|
|
259
259
|
"quote",
|
|
260
|
-
"syn",
|
|
260
|
+
"syn 2.0.117",
|
|
261
261
|
]
|
|
262
262
|
|
|
263
263
|
[[package]]
|
|
@@ -302,9 +302,9 @@ checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2"
|
|
|
302
302
|
|
|
303
303
|
[[package]]
|
|
304
304
|
name = "serde"
|
|
305
|
-
version = "1.0.
|
|
305
|
+
version = "1.0.229"
|
|
306
306
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
307
|
-
checksum = "
|
|
307
|
+
checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
|
|
308
308
|
dependencies = [
|
|
309
309
|
"serde_core",
|
|
310
310
|
"serde_derive",
|
|
@@ -312,29 +312,29 @@ dependencies = [
|
|
|
312
312
|
|
|
313
313
|
[[package]]
|
|
314
314
|
name = "serde_core"
|
|
315
|
-
version = "1.0.
|
|
315
|
+
version = "1.0.229"
|
|
316
316
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
317
|
-
checksum = "
|
|
317
|
+
checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
|
|
318
318
|
dependencies = [
|
|
319
319
|
"serde_derive",
|
|
320
320
|
]
|
|
321
321
|
|
|
322
322
|
[[package]]
|
|
323
323
|
name = "serde_derive"
|
|
324
|
-
version = "1.0.
|
|
324
|
+
version = "1.0.229"
|
|
325
325
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
326
|
-
checksum = "
|
|
326
|
+
checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
327
327
|
dependencies = [
|
|
328
328
|
"proc-macro2",
|
|
329
329
|
"quote",
|
|
330
|
-
"syn",
|
|
330
|
+
"syn 3.0.1",
|
|
331
331
|
]
|
|
332
332
|
|
|
333
333
|
[[package]]
|
|
334
334
|
name = "serde_json"
|
|
335
|
-
version = "1.0.
|
|
335
|
+
version = "1.0.151"
|
|
336
336
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
337
|
-
checksum = "
|
|
337
|
+
checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14"
|
|
338
338
|
dependencies = [
|
|
339
339
|
"itoa",
|
|
340
340
|
"memchr",
|
|
@@ -354,6 +354,17 @@ dependencies = [
|
|
|
354
354
|
"unicode-ident",
|
|
355
355
|
]
|
|
356
356
|
|
|
357
|
+
[[package]]
|
|
358
|
+
name = "syn"
|
|
359
|
+
version = "3.0.1"
|
|
360
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
361
|
+
checksum = "5edbec4ed188954a10c12c038215f8ce7606b2d5c973cd8dc43e8795065c5f2f"
|
|
362
|
+
dependencies = [
|
|
363
|
+
"proc-macro2",
|
|
364
|
+
"quote",
|
|
365
|
+
"unicode-ident",
|
|
366
|
+
]
|
|
367
|
+
|
|
357
368
|
[[package]]
|
|
358
369
|
name = "target-lexicon"
|
|
359
370
|
version = "0.13.5"
|
|
@@ -375,22 +386,22 @@ dependencies = [
|
|
|
375
386
|
|
|
376
387
|
[[package]]
|
|
377
388
|
name = "thiserror"
|
|
378
|
-
version = "2.0.
|
|
389
|
+
version = "2.0.20"
|
|
379
390
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
380
|
-
checksum = "
|
|
391
|
+
checksum = "ec86235f5fcc2a73650310756d2ac5b138a5780bbbdfae3eeccec992c435ba4f"
|
|
381
392
|
dependencies = [
|
|
382
393
|
"thiserror-impl",
|
|
383
394
|
]
|
|
384
395
|
|
|
385
396
|
[[package]]
|
|
386
397
|
name = "thiserror-impl"
|
|
387
|
-
version = "2.0.
|
|
398
|
+
version = "2.0.20"
|
|
388
399
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
389
|
-
checksum = "
|
|
400
|
+
checksum = "bc04cd3e1236dd4a98afca4569f2deb3f120e5422a4023be2cb683f8486292af"
|
|
390
401
|
dependencies = [
|
|
391
402
|
"proc-macro2",
|
|
392
403
|
"quote",
|
|
393
|
-
"syn",
|
|
404
|
+
"syn 3.0.1",
|
|
394
405
|
]
|
|
395
406
|
|
|
396
407
|
[[package]]
|
|
@@ -502,7 +513,7 @@ dependencies = [
|
|
|
502
513
|
"heck",
|
|
503
514
|
"indexmap",
|
|
504
515
|
"prettyplease",
|
|
505
|
-
"syn",
|
|
516
|
+
"syn 2.0.117",
|
|
506
517
|
"wasm-metadata",
|
|
507
518
|
"wit-bindgen-core",
|
|
508
519
|
"wit-component",
|
|
@@ -518,7 +529,7 @@ dependencies = [
|
|
|
518
529
|
"prettyplease",
|
|
519
530
|
"proc-macro2",
|
|
520
531
|
"quote",
|
|
521
|
-
"syn",
|
|
532
|
+
"syn 2.0.117",
|
|
522
533
|
"wit-bindgen-core",
|
|
523
534
|
"wit-bindgen-rust",
|
|
524
535
|
]
|
|
@@ -7,7 +7,7 @@ use std::time::Instant;
|
|
|
7
7
|
|
|
8
8
|
fn main() {
|
|
9
9
|
let args: Vec<String> = env::args().collect();
|
|
10
|
-
let hca_file = args.get(1).map(
|
|
10
|
+
let hca_file = args.get(1).map(String::as_str).unwrap_or("music_5031.hca");
|
|
11
11
|
let iters: usize = args.get(2).and_then(|s| s.parse().ok()).unwrap_or(400);
|
|
12
12
|
|
|
13
13
|
let data = std::fs::read(hca_file).unwrap();
|
|
@@ -5,11 +5,11 @@ use std::time::Instant;
|
|
|
5
5
|
|
|
6
6
|
fn main() {
|
|
7
7
|
let args: Vec<String> = env::args().collect();
|
|
8
|
-
let hca_file = args.get(1).map(
|
|
8
|
+
let hca_file = args.get(1).map(String::as_str).unwrap_or("music_5031.hca");
|
|
9
9
|
let iters: usize = args.get(2).and_then(|s| s.parse().ok()).unwrap_or(50);
|
|
10
10
|
let threads: usize = args.get(3).and_then(|s| s.parse().ok()).unwrap_or_else(|| {
|
|
11
11
|
std::thread::available_parallelism()
|
|
12
|
-
.map(
|
|
12
|
+
.map(std::num::NonZeroUsize::get)
|
|
13
13
|
.unwrap_or(1)
|
|
14
14
|
});
|
|
15
15
|
|
|
@@ -11,7 +11,7 @@ use std::time::Instant;
|
|
|
11
11
|
|
|
12
12
|
fn main() {
|
|
13
13
|
let args: Vec<String> = env::args().collect();
|
|
14
|
-
let hca_file = args.get(1).map(
|
|
14
|
+
let hca_file = args.get(1).map(String::as_str).unwrap_or("music_5031.hca");
|
|
15
15
|
let iters: usize = args.get(2).and_then(|s| s.parse().ok()).unwrap_or(400);
|
|
16
16
|
|
|
17
17
|
let probe = HcaDecoder::from_file(hca_file).expect("open HCA");
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
sonar.projectKey=seiunx-dev_cridecoder
|
|
2
|
+
sonar.organization=seiunx-dev
|
|
3
|
+
sonar.projectVersion=0.3.5
|
|
4
|
+
sonar.rust.lcov.reportPaths=target/lcov.info
|
|
5
|
+
|
|
6
|
+
# This is the name and version displayed in the SonarQube Cloud UI.
|
|
7
|
+
# sonar.projectName=cridecoder
|
|
8
|
+
|
|
9
|
+
# Path is relative to this file. Replace "\\" with "/" on Windows.
|
|
10
|
+
# sonar.sources=.
|
|
11
|
+
|
|
12
|
+
# Encoding of the source code. The default is the system encoding.
|
|
13
|
+
# sonar.sourceEncoding=UTF-8
|