cridecoder 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.
- {cridecoder-0.1.0 → cridecoder-0.1.1}/.github/workflows/release-crate.yml +9 -3
- {cridecoder-0.1.0 → cridecoder-0.1.1}/.github/workflows/release-python.yml +29 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/PKG-INFO +1 -1
- {cridecoder-0.1.0 → cridecoder-0.1.1}/pyproject.toml +1 -1
- {cridecoder-0.1.0 → cridecoder-0.1.1}/.github/copilot-Instructions.md +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/.github/workflows/ci.yml +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/.gitignore +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/AGENTS.md +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/Cargo.lock +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/Cargo.toml +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/LICENSE +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/README.md +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/examples/debug_acb.rs +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/examples/test_acb.rs +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/examples/test_hca.rs +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/examples/test_usm.rs +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/src/acb/afs.rs +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/src/acb/consts.rs +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/src/acb/extractor.rs +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/src/acb/track.rs +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/src/acb/utf.rs +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/src/acb.rs +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/src/hca/ath.rs +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/src/hca/bitreader.rs +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/src/hca/cipher.rs +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/src/hca/decoder.rs +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/src/hca/hca_file.rs +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/src/hca/imdct.rs +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/src/hca/tables.rs +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/src/hca.rs +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/src/lib.rs +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/src/python.rs +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/src/reader.rs +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/src/usm/extractor.rs +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/src/usm/metadata.rs +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/src/usm.rs +0 -0
- {cridecoder-0.1.0 → cridecoder-0.1.1}/tests/integration_tests.rs +0 -0
|
@@ -12,10 +12,16 @@ jobs:
|
|
|
12
12
|
steps:
|
|
13
13
|
- uses: actions/checkout@v5
|
|
14
14
|
- uses: dtolnay/rust-toolchain@stable
|
|
15
|
-
- uses: Swatinem/rust-cache@
|
|
15
|
+
- uses: Swatinem/rust-cache@v3
|
|
16
|
+
- name: Set version from tag
|
|
17
|
+
if: github.event_name == 'release'
|
|
18
|
+
run: |
|
|
19
|
+
VERSION="${GITHUB_REF_NAME#v}"
|
|
20
|
+
sed -i "0,/^version = .*/s//version = \"${VERSION}\"/" Cargo.toml
|
|
21
|
+
echo "Set version to ${VERSION}"
|
|
16
22
|
- name: Verify package
|
|
17
|
-
run: cargo publish --dry-run
|
|
23
|
+
run: cargo publish --dry-run --allow-dirty
|
|
18
24
|
- name: Publish
|
|
19
|
-
run: cargo publish
|
|
25
|
+
run: cargo publish --allow-dirty
|
|
20
26
|
env:
|
|
21
27
|
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
|
@@ -8,6 +8,10 @@ on:
|
|
|
8
8
|
permissions:
|
|
9
9
|
contents: read
|
|
10
10
|
|
|
11
|
+
env:
|
|
12
|
+
# Extract version from tag (strips 'v' prefix), fallback to 0.0.0 for workflow_dispatch
|
|
13
|
+
RELEASE_VERSION: ${{ github.event_name == 'release' && github.ref_name || 'v0.0.0' }}
|
|
14
|
+
|
|
11
15
|
jobs:
|
|
12
16
|
# ──────────────────────────────────────────────
|
|
13
17
|
# Build wheels for Linux (x86_64, aarch64)
|
|
@@ -19,6 +23,12 @@ jobs:
|
|
|
19
23
|
target: [x86_64, aarch64]
|
|
20
24
|
steps:
|
|
21
25
|
- uses: actions/checkout@v5
|
|
26
|
+
- name: Set version from tag
|
|
27
|
+
if: github.event_name == 'release'
|
|
28
|
+
run: |
|
|
29
|
+
VERSION="${GITHUB_REF_NAME#v}"
|
|
30
|
+
sed -i "0,/^version = .*/s//version = \"${VERSION}\"/" Cargo.toml
|
|
31
|
+
sed -i "s/^version = .*/version = \"${VERSION}\"/" pyproject.toml
|
|
22
32
|
- name: Build wheels
|
|
23
33
|
uses: PyO3/maturin-action@v1
|
|
24
34
|
with:
|
|
@@ -42,6 +52,12 @@ jobs:
|
|
|
42
52
|
target: [x86_64, aarch64]
|
|
43
53
|
steps:
|
|
44
54
|
- uses: actions/checkout@v5
|
|
55
|
+
- name: Set version from tag
|
|
56
|
+
if: github.event_name == 'release'
|
|
57
|
+
run: |
|
|
58
|
+
VERSION="${GITHUB_REF_NAME#v}"
|
|
59
|
+
sed -i '' "1,/^version = .*/{s/^version = .*/version = \"${VERSION}\"/;}" Cargo.toml
|
|
60
|
+
sed -i '' "s/^version = .*/version = \"${VERSION}\"/" pyproject.toml
|
|
45
61
|
- uses: actions/setup-python@v5
|
|
46
62
|
with:
|
|
47
63
|
python-version: |
|
|
@@ -72,6 +88,13 @@ jobs:
|
|
|
72
88
|
runs-on: windows-latest
|
|
73
89
|
steps:
|
|
74
90
|
- uses: actions/checkout@v5
|
|
91
|
+
- name: Set version from tag
|
|
92
|
+
if: github.event_name == 'release'
|
|
93
|
+
shell: bash
|
|
94
|
+
run: |
|
|
95
|
+
VERSION="${GITHUB_REF_NAME#v}"
|
|
96
|
+
sed -i "0,/^version = .*/s//version = \"${VERSION}\"/" Cargo.toml
|
|
97
|
+
sed -i "s/^version = .*/version = \"${VERSION}\"/" pyproject.toml
|
|
75
98
|
- uses: actions/setup-python@v5
|
|
76
99
|
with:
|
|
77
100
|
python-version: |
|
|
@@ -102,6 +125,12 @@ jobs:
|
|
|
102
125
|
runs-on: ubuntu-latest
|
|
103
126
|
steps:
|
|
104
127
|
- uses: actions/checkout@v5
|
|
128
|
+
- name: Set version from tag
|
|
129
|
+
if: github.event_name == 'release'
|
|
130
|
+
run: |
|
|
131
|
+
VERSION="${GITHUB_REF_NAME#v}"
|
|
132
|
+
sed -i "0,/^version = .*/s//version = \"${VERSION}\"/" Cargo.toml
|
|
133
|
+
sed -i "s/^version = .*/version = \"${VERSION}\"/" pyproject.toml
|
|
105
134
|
- name: Build sdist
|
|
106
135
|
uses: PyO3/maturin-action@v1
|
|
107
136
|
with:
|
|
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
|
|
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
|