unity_scene_repacker 0.1.0__tar.gz → 2.0.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.
- unity_scene_repacker-2.0.0/.github/workflows/release.yml +168 -0
- unity_scene_repacker-2.0.0/.gitignore +16 -0
- unity_scene_repacker-2.0.0/Cargo.lock +1005 -0
- unity_scene_repacker-2.0.0/Cargo.toml +33 -0
- unity_scene_repacker-2.0.0/PKG-INFO +101 -0
- unity_scene_repacker-2.0.0/README.md +89 -0
- unity_scene_repacker-2.0.0/build.rs +6 -0
- unity_scene_repacker-2.0.0/justfile +14 -0
- unity_scene_repacker-2.0.0/objects/hk-enemies.jsonc +555 -0
- unity_scene_repacker-2.0.0/objects/hk-palecourt.json +141 -0
- unity_scene_repacker-2.0.0/objects/hk-simple.json +53 -0
- unity_scene_repacker-2.0.0/objects/ns-bosses.json +17 -0
- unity_scene_repacker-2.0.0/objects/ns-monsters.json +244 -0
- unity_scene_repacker-2.0.0/pyproject.toml +22 -0
- unity_scene_repacker-2.0.0/rustfmt.toml +1 -0
- unity_scene_repacker-2.0.0/src/lib.rs +1 -0
- unity_scene_repacker-2.0.0/src/main.rs +495 -0
- unity_scene_repacker-2.0.0/src/scene_lookup.rs +120 -0
- unity_scene_repacker-2.0.0/src/trace_pptr.rs +120 -0
- unity_scene_repacker-2.0.0/src/typetree_cache.rs +41 -0
- unity_scene_repacker-2.0.0/src/typetree_generator_api.rs +268 -0
- unity_scene_repacker-2.0.0/src/unity/mod.rs +3 -0
- unity_scene_repacker-2.0.0/src/unity/types.rs +86 -0
- unity_scene_repacker-2.0.0/src/utils.rs +16 -0
- unity_scene_repacker-0.1.0/PKG-INFO +0 -46
- unity_scene_repacker-0.1.0/README.md +0 -33
- unity_scene_repacker-0.1.0/pyproject.toml +0 -32
- unity_scene_repacker-0.1.0/src/unity_scene_repacker/__init__.py +0 -0
- unity_scene_repacker-0.1.0/src/unity_scene_repacker/cli.py +0 -99
- unity_scene_repacker-0.1.0/src/unity_scene_repacker/data/empty_scene_bundle.unity3d +0 -0
- unity_scene_repacker-0.1.0/src/unity_scene_repacker/prune.py +0 -79
- unity_scene_repacker-0.1.0/src/unity_scene_repacker/repack.py +0 -75
- unity_scene_repacker-0.1.0/src/unity_scene_repacker/utils.py +0 -145
- {unity_scene_repacker-0.1.0 → unity_scene_repacker-2.0.0}/LICENSE.md +0 -0
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
# This file is autogenerated by maturin v1.8.7
|
|
2
|
+
# To update, run
|
|
3
|
+
#
|
|
4
|
+
# maturin generate-ci github
|
|
5
|
+
#
|
|
6
|
+
name: CI
|
|
7
|
+
|
|
8
|
+
on:
|
|
9
|
+
push:
|
|
10
|
+
branches:
|
|
11
|
+
- main
|
|
12
|
+
- master
|
|
13
|
+
tags:
|
|
14
|
+
- '*'
|
|
15
|
+
pull_request:
|
|
16
|
+
workflow_dispatch:
|
|
17
|
+
|
|
18
|
+
permissions:
|
|
19
|
+
contents: read
|
|
20
|
+
|
|
21
|
+
jobs:
|
|
22
|
+
linux:
|
|
23
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
24
|
+
strategy:
|
|
25
|
+
matrix:
|
|
26
|
+
platform:
|
|
27
|
+
- runner: ubuntu-22.04
|
|
28
|
+
target: x86_64
|
|
29
|
+
- runner: ubuntu-22.04
|
|
30
|
+
target: x86
|
|
31
|
+
- runner: ubuntu-22.04
|
|
32
|
+
target: aarch64
|
|
33
|
+
- runner: ubuntu-22.04
|
|
34
|
+
target: armv7
|
|
35
|
+
- runner: ubuntu-22.04
|
|
36
|
+
target: s390x
|
|
37
|
+
- runner: ubuntu-22.04
|
|
38
|
+
target: ppc64le
|
|
39
|
+
steps:
|
|
40
|
+
- uses: actions/checkout@v4
|
|
41
|
+
- name: Build wheels
|
|
42
|
+
uses: PyO3/maturin-action@v1
|
|
43
|
+
with:
|
|
44
|
+
target: ${{ matrix.platform.target }}
|
|
45
|
+
args: --release --out dist
|
|
46
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
47
|
+
manylinux: auto
|
|
48
|
+
- name: Upload wheels
|
|
49
|
+
uses: actions/upload-artifact@v4
|
|
50
|
+
with:
|
|
51
|
+
name: wheels-linux-${{ matrix.platform.target }}
|
|
52
|
+
path: dist
|
|
53
|
+
|
|
54
|
+
musllinux:
|
|
55
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
56
|
+
strategy:
|
|
57
|
+
matrix:
|
|
58
|
+
platform:
|
|
59
|
+
- runner: ubuntu-22.04
|
|
60
|
+
target: x86_64
|
|
61
|
+
- runner: ubuntu-22.04
|
|
62
|
+
target: x86
|
|
63
|
+
- runner: ubuntu-22.04
|
|
64
|
+
target: aarch64
|
|
65
|
+
- runner: ubuntu-22.04
|
|
66
|
+
target: armv7
|
|
67
|
+
steps:
|
|
68
|
+
- uses: actions/checkout@v4
|
|
69
|
+
- name: Build wheels
|
|
70
|
+
uses: PyO3/maturin-action@v1
|
|
71
|
+
with:
|
|
72
|
+
target: ${{ matrix.platform.target }}
|
|
73
|
+
args: --release --out dist
|
|
74
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
75
|
+
manylinux: musllinux_1_2
|
|
76
|
+
- name: Upload wheels
|
|
77
|
+
uses: actions/upload-artifact@v4
|
|
78
|
+
with:
|
|
79
|
+
name: wheels-musllinux-${{ matrix.platform.target }}
|
|
80
|
+
path: dist
|
|
81
|
+
|
|
82
|
+
windows:
|
|
83
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
84
|
+
strategy:
|
|
85
|
+
matrix:
|
|
86
|
+
platform:
|
|
87
|
+
- runner: windows-latest
|
|
88
|
+
target: x64
|
|
89
|
+
- runner: windows-latest
|
|
90
|
+
target: x86
|
|
91
|
+
steps:
|
|
92
|
+
- uses: actions/checkout@v4
|
|
93
|
+
- name: Build wheels
|
|
94
|
+
uses: PyO3/maturin-action@v1
|
|
95
|
+
with:
|
|
96
|
+
target: ${{ matrix.platform.target }}
|
|
97
|
+
args: --release --out dist
|
|
98
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
99
|
+
- name: Upload wheels
|
|
100
|
+
uses: actions/upload-artifact@v4
|
|
101
|
+
with:
|
|
102
|
+
name: wheels-windows-${{ matrix.platform.target }}
|
|
103
|
+
path: dist
|
|
104
|
+
|
|
105
|
+
macos:
|
|
106
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
107
|
+
strategy:
|
|
108
|
+
matrix:
|
|
109
|
+
platform:
|
|
110
|
+
- runner: macos-13
|
|
111
|
+
target: x86_64
|
|
112
|
+
- runner: macos-14
|
|
113
|
+
target: aarch64
|
|
114
|
+
steps:
|
|
115
|
+
- uses: actions/checkout@v4
|
|
116
|
+
- name: Build wheels
|
|
117
|
+
uses: PyO3/maturin-action@v1
|
|
118
|
+
with:
|
|
119
|
+
target: ${{ matrix.platform.target }}
|
|
120
|
+
args: --release --out dist
|
|
121
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
122
|
+
- name: Upload wheels
|
|
123
|
+
uses: actions/upload-artifact@v4
|
|
124
|
+
with:
|
|
125
|
+
name: wheels-macos-${{ matrix.platform.target }}
|
|
126
|
+
path: dist
|
|
127
|
+
|
|
128
|
+
sdist:
|
|
129
|
+
runs-on: ubuntu-latest
|
|
130
|
+
steps:
|
|
131
|
+
- uses: actions/checkout@v4
|
|
132
|
+
- name: Build sdist
|
|
133
|
+
uses: PyO3/maturin-action@v1
|
|
134
|
+
with:
|
|
135
|
+
command: sdist
|
|
136
|
+
args: --out dist
|
|
137
|
+
- name: Upload sdist
|
|
138
|
+
uses: actions/upload-artifact@v4
|
|
139
|
+
with:
|
|
140
|
+
name: wheels-sdist
|
|
141
|
+
path: dist
|
|
142
|
+
|
|
143
|
+
release:
|
|
144
|
+
name: Release
|
|
145
|
+
runs-on: ubuntu-latest
|
|
146
|
+
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
|
|
147
|
+
needs: [linux, musllinux, windows, macos, sdist]
|
|
148
|
+
permissions:
|
|
149
|
+
# Use to sign the release artifacts
|
|
150
|
+
id-token: write
|
|
151
|
+
# Used to upload release artifacts
|
|
152
|
+
contents: write
|
|
153
|
+
# Used to generate artifact attestation
|
|
154
|
+
attestations: write
|
|
155
|
+
steps:
|
|
156
|
+
- uses: actions/download-artifact@v4
|
|
157
|
+
- name: Generate artifact attestation
|
|
158
|
+
uses: actions/attest-build-provenance@v2
|
|
159
|
+
with:
|
|
160
|
+
subject-path: 'wheels-*/*'
|
|
161
|
+
- name: Publish to PyPI
|
|
162
|
+
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
|
163
|
+
uses: PyO3/maturin-action@v1
|
|
164
|
+
env:
|
|
165
|
+
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
|
166
|
+
with:
|
|
167
|
+
command: upload
|
|
168
|
+
args: --non-interactive --skip-existing wheels-*/*
|