vapoursynth-graph 1.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.
@@ -0,0 +1,249 @@
1
+ # Generated by Cargo
2
+ # will have compiled files and executables
3
+ debug
4
+ target
5
+
6
+ # These are backup files generated by rustfmt
7
+ **/*.rs.bk
8
+
9
+ # MSVC Windows builds of rustc generate these, which store debugging information
10
+ *.pdb
11
+
12
+ # Generated by cargo mutants
13
+ # Contains mutation testing data
14
+ **/mutants.out*/
15
+
16
+ # rustc will dump stack traces when hitting an internal compiler error to PWD
17
+ rustc-ice-*.txt
18
+
19
+ # RustRover
20
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
21
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
22
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
23
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
24
+ #.idea/
25
+
26
+
27
+ # Byte-compiled / optimized / DLL files
28
+ __pycache__/
29
+ *.py[codz]
30
+ *$py.class
31
+
32
+ # C extensions
33
+ *.so
34
+
35
+ # Distribution / packaging
36
+ .Python
37
+ build/
38
+ develop-eggs/
39
+ dist/
40
+ downloads/
41
+ eggs/
42
+ .eggs/
43
+ lib/
44
+ lib64/
45
+ parts/
46
+ sdist/
47
+ var/
48
+ wheels/
49
+ share/python-wheels/
50
+ *.egg-info/
51
+ .installed.cfg
52
+ *.egg
53
+ MANIFEST
54
+
55
+ # PyInstaller
56
+ # Usually these files are written by a python script from a template
57
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
58
+ *.manifest
59
+ *.spec
60
+
61
+ # Installer logs
62
+ pip-log.txt
63
+ pip-delete-this-directory.txt
64
+
65
+ # Unit test / coverage reports
66
+ htmlcov/
67
+ .tox/
68
+ .nox/
69
+ .coverage
70
+ .coverage.*
71
+ .cache
72
+ nosetests.xml
73
+ coverage.xml
74
+ *.cover
75
+ *.py.cover
76
+ *.lcov
77
+ .hypothesis/
78
+ .pytest_cache/
79
+ cover/
80
+
81
+ # Translations
82
+ *.mo
83
+ *.pot
84
+
85
+ # Django stuff:
86
+ *.log
87
+ local_settings.py
88
+ db.sqlite3
89
+ db.sqlite3-journal
90
+
91
+ # Flask stuff:
92
+ instance/
93
+ .webassets-cache
94
+
95
+ # Scrapy stuff:
96
+ .scrapy
97
+
98
+ # Sphinx documentation
99
+ docs/_build/
100
+
101
+ # PyBuilder
102
+ .pybuilder/
103
+ target/
104
+
105
+ # Jupyter Notebook
106
+ .ipynb_checkpoints
107
+
108
+ # IPython
109
+ profile_default/
110
+ ipython_config.py
111
+
112
+ # pyenv
113
+ # For a library or package, you might want to ignore these files since the code is
114
+ # intended to run in multiple environments; otherwise, check them in:
115
+ # .python-version
116
+
117
+ # pipenv
118
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
119
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
120
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
121
+ # install all needed dependencies.
122
+ # Pipfile.lock
123
+
124
+ # uv
125
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
126
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
127
+ # commonly ignored for libraries.
128
+ # uv.lock
129
+
130
+ # poetry
131
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
132
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
133
+ # commonly ignored for libraries.
134
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
135
+ # poetry.lock
136
+ # poetry.toml
137
+
138
+ # pdm
139
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
140
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
141
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
142
+ # pdm.lock
143
+ # pdm.toml
144
+ .pdm-python
145
+ .pdm-build/
146
+
147
+ # pixi
148
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
149
+ # pixi.lock
150
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
151
+ # in the .venv directory. It is recommended not to include this directory in version control.
152
+ .pixi/*
153
+ !.pixi/config.toml
154
+
155
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
156
+ __pypackages__/
157
+
158
+ # Celery stuff
159
+ celerybeat-schedule*
160
+ celerybeat.pid
161
+
162
+ # Redis
163
+ *.rdb
164
+ *.aof
165
+ *.pid
166
+
167
+ # RabbitMQ
168
+ mnesia/
169
+ rabbitmq/
170
+ rabbitmq-data/
171
+
172
+ # ActiveMQ
173
+ activemq-data/
174
+
175
+ # SageMath parsed files
176
+ *.sage.py
177
+
178
+ # Environments
179
+ .env
180
+ .envrc
181
+ .venv
182
+ env/
183
+ venv/
184
+ ENV/
185
+ env.bak/
186
+ venv.bak/
187
+
188
+ # Spyder project settings
189
+ .spyderproject
190
+ .spyproject
191
+
192
+ # Rope project settings
193
+ .ropeproject
194
+
195
+ # mkdocs/Zensical documentation
196
+ /site
197
+
198
+ # mypy
199
+ .mypy_cache/
200
+ .dmypy.json
201
+ dmypy.json
202
+
203
+ # Pyre type checker
204
+ .pyre/
205
+
206
+ # pytype static type analyzer
207
+ .pytype/
208
+
209
+ # Cython debug symbols
210
+ cython_debug/
211
+
212
+ # PyCharm
213
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
214
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
215
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
216
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
217
+ # .idea/
218
+
219
+ # Abstra
220
+ # Abstra is an AI-powered process automation framework.
221
+ # Ignore directories containing user credentials, local state, and settings.
222
+ # Learn more at https://abstra.io/docs
223
+ .abstra/
224
+
225
+ # Visual Studio Code
226
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore that
227
+ # can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
228
+ # and can be added to the global gitignore or merged into this file. However, if you prefer, you
229
+ # could uncomment the following to ignore the entire vscode folder
230
+ # .vscode/
231
+ # Temporary file for partial code execution
232
+ tempCodeRunnerFile.py
233
+
234
+ # Ruff stuff:
235
+ .ruff_cache/
236
+
237
+ # PyPI configuration file
238
+ .pypirc
239
+
240
+ # Marimo
241
+ marimo/_static/
242
+ marimo/_lsp/
243
+ __marimo__/
244
+
245
+ # Streamlit
246
+ .streamlit/secrets.toml
247
+
248
+ # VS Stubs
249
+ stubs/
@@ -0,0 +1,231 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 4
4
+
5
+ [[package]]
6
+ name = "bon"
7
+ version = "3.10.3"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "a05442cd7005532d0cfedec676b5b9333d2b4c7c3afabe2b1a9ce2742fbe2ee6"
10
+ dependencies = [
11
+ "bon-macros",
12
+ ]
13
+
14
+ [[package]]
15
+ name = "bon-macros"
16
+ version = "3.10.3"
17
+ source = "registry+https://github.com/rust-lang/crates.io-index"
18
+ checksum = "93833e97ac7c46ba97045afcf247238c27057538fcf2f06344662ddd5f567be6"
19
+ dependencies = [
20
+ "darling",
21
+ "ident_case",
22
+ "prettyplease",
23
+ "proc-macro2",
24
+ "quote",
25
+ "syn",
26
+ ]
27
+
28
+ [[package]]
29
+ name = "darling"
30
+ version = "0.24.1"
31
+ source = "registry+https://github.com/rust-lang/crates.io-index"
32
+ checksum = "ed17f5901b6630b993ca003def43f2f8ef4014fc13b047b57aad617ff32bc2ec"
33
+ dependencies = [
34
+ "darling_core",
35
+ "darling_macro",
36
+ ]
37
+
38
+ [[package]]
39
+ name = "darling_core"
40
+ version = "0.24.1"
41
+ source = "registry+https://github.com/rust-lang/crates.io-index"
42
+ checksum = "6837e2cf7485aaae18f86181d2f0e9a7ed297a025e220aeabf63fdebd3a2ddff"
43
+ dependencies = [
44
+ "ident_case",
45
+ "proc-macro2",
46
+ "quote",
47
+ "strsim",
48
+ "syn",
49
+ ]
50
+
51
+ [[package]]
52
+ name = "darling_macro"
53
+ version = "0.24.1"
54
+ source = "registry+https://github.com/rust-lang/crates.io-index"
55
+ checksum = "2ac7135c3ef02b2f7833bbeb1be5ba7f966dcde8a87c6b87f65a778d71a02785"
56
+ dependencies = [
57
+ "darling_core",
58
+ "quote",
59
+ "syn",
60
+ ]
61
+
62
+ [[package]]
63
+ name = "envparse"
64
+ version = "0.1.0"
65
+ source = "registry+https://github.com/rust-lang/crates.io-index"
66
+ checksum = "62c1a5f4ccdee846cab47afc8caf7404cf4c8980ea0754e4e9742bf982cd0195"
67
+
68
+ [[package]]
69
+ name = "graph"
70
+ version = "0.0.0"
71
+ dependencies = [
72
+ "envparse",
73
+ "serde",
74
+ "serde_json",
75
+ "vapoursynth4-rs",
76
+ ]
77
+
78
+ [[package]]
79
+ name = "ident_case"
80
+ version = "1.0.1"
81
+ source = "registry+https://github.com/rust-lang/crates.io-index"
82
+ checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
83
+
84
+ [[package]]
85
+ name = "itoa"
86
+ version = "1.0.18"
87
+ source = "registry+https://github.com/rust-lang/crates.io-index"
88
+ checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
89
+
90
+ [[package]]
91
+ name = "memchr"
92
+ version = "2.8.3"
93
+ source = "registry+https://github.com/rust-lang/crates.io-index"
94
+ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
95
+
96
+ [[package]]
97
+ name = "prettyplease"
98
+ version = "0.3.0"
99
+ source = "registry+https://github.com/rust-lang/crates.io-index"
100
+ checksum = "2bfe0f4c752e450fc2faf62654f1c134747922825d5b04ca717b8874f41a40c0"
101
+ dependencies = [
102
+ "proc-macro2",
103
+ "syn",
104
+ ]
105
+
106
+ [[package]]
107
+ name = "proc-macro2"
108
+ version = "1.0.107"
109
+ source = "registry+https://github.com/rust-lang/crates.io-index"
110
+ checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
111
+ dependencies = [
112
+ "unicode-ident",
113
+ ]
114
+
115
+ [[package]]
116
+ name = "quote"
117
+ version = "1.0.47"
118
+ source = "registry+https://github.com/rust-lang/crates.io-index"
119
+ checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
120
+ dependencies = [
121
+ "proc-macro2",
122
+ ]
123
+
124
+ [[package]]
125
+ name = "serde"
126
+ version = "1.0.229"
127
+ source = "registry+https://github.com/rust-lang/crates.io-index"
128
+ checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
129
+ dependencies = [
130
+ "serde_core",
131
+ "serde_derive",
132
+ ]
133
+
134
+ [[package]]
135
+ name = "serde_core"
136
+ version = "1.0.229"
137
+ source = "registry+https://github.com/rust-lang/crates.io-index"
138
+ checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
139
+ dependencies = [
140
+ "serde_derive",
141
+ ]
142
+
143
+ [[package]]
144
+ name = "serde_derive"
145
+ version = "1.0.229"
146
+ source = "registry+https://github.com/rust-lang/crates.io-index"
147
+ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
148
+ dependencies = [
149
+ "proc-macro2",
150
+ "quote",
151
+ "syn",
152
+ ]
153
+
154
+ [[package]]
155
+ name = "serde_json"
156
+ version = "1.0.154"
157
+ source = "registry+https://github.com/rust-lang/crates.io-index"
158
+ checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6"
159
+ dependencies = [
160
+ "itoa",
161
+ "memchr",
162
+ "serde",
163
+ "serde_core",
164
+ "zmij",
165
+ ]
166
+
167
+ [[package]]
168
+ name = "strsim"
169
+ version = "0.11.1"
170
+ source = "registry+https://github.com/rust-lang/crates.io-index"
171
+ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
172
+
173
+ [[package]]
174
+ name = "syn"
175
+ version = "3.0.9"
176
+ source = "registry+https://github.com/rust-lang/crates.io-index"
177
+ checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b"
178
+ dependencies = [
179
+ "proc-macro2",
180
+ "quote",
181
+ "unicode-ident",
182
+ ]
183
+
184
+ [[package]]
185
+ name = "thiserror"
186
+ version = "2.0.21"
187
+ source = "registry+https://github.com/rust-lang/crates.io-index"
188
+ checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e"
189
+ dependencies = [
190
+ "thiserror-impl",
191
+ ]
192
+
193
+ [[package]]
194
+ name = "thiserror-impl"
195
+ version = "2.0.21"
196
+ source = "registry+https://github.com/rust-lang/crates.io-index"
197
+ checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"
198
+ dependencies = [
199
+ "proc-macro2",
200
+ "quote",
201
+ "syn",
202
+ ]
203
+
204
+ [[package]]
205
+ name = "unicode-ident"
206
+ version = "1.0.27"
207
+ source = "registry+https://github.com/rust-lang/crates.io-index"
208
+ checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
209
+
210
+ [[package]]
211
+ name = "vapoursynth4-rs"
212
+ version = "0.5.1"
213
+ source = "registry+https://github.com/rust-lang/crates.io-index"
214
+ checksum = "a78598c77295d8f4222d161b4377d127e2d510c00c2e5784e12e5615d5b06eb7"
215
+ dependencies = [
216
+ "bon",
217
+ "thiserror",
218
+ "vapoursynth4-sys",
219
+ ]
220
+
221
+ [[package]]
222
+ name = "vapoursynth4-sys"
223
+ version = "0.4.1+R79"
224
+ source = "registry+https://github.com/rust-lang/crates.io-index"
225
+ checksum = "5187b816da71a85162d247b24c2fa994c858be997fb3dd27b454bf1630a76335"
226
+
227
+ [[package]]
228
+ name = "zmij"
229
+ version = "1.0.23"
230
+ source = "registry+https://github.com/rust-lang/crates.io-index"
231
+ checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
@@ -0,0 +1,39 @@
1
+ [package]
2
+ name = "graph"
3
+ edition = "2024"
4
+ publish = false
5
+
6
+ [lib]
7
+ path = "src/rust/lib.rs"
8
+ crate-type = ["cdylib"]
9
+
10
+ [profile.release]
11
+ codegen-units = 1
12
+ lto = true
13
+ opt-level = 3
14
+ strip = true
15
+
16
+ [dependencies]
17
+ envparse = "0.1.0"
18
+ serde = { version = "1.0.229", features = ["derive"] }
19
+ serde_json = "1.0.154"
20
+ vapoursynth4-rs = { version = "0.5.1", features = ["vs-graph"] }
21
+
22
+ [lints.rust]
23
+ improper_ctypes = "warn"
24
+ improper_ctypes_definitions = "warn"
25
+ non_ascii_idents = "warn"
26
+ rust_2018_idioms = { level = "warn", priority = -1 }
27
+ single_use_lifetimes = "warn"
28
+ unexpected_cfgs = { level = "warn", check-cfg = [] }
29
+ unnameable_types = "warn"
30
+ unreachable_pub = "warn"
31
+ unsafe_op_in_unsafe_fn = "warn"
32
+
33
+ [lints.clippy]
34
+ all = { level = "warn", priority = -1 }
35
+ pedantic = { level = "warn", priority = -1 }
36
+ complexity = { level = "warn", priority = -1 }
37
+
38
+ too_many_arguments = { level = "allow", priority = 1 }
39
+ cast_ptr_alignment = { level = "allow", priority = 1 }