rusilo 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.
- rusilo-0.1.0/Cargo.lock +611 -0
- rusilo-0.1.0/Cargo.toml +61 -0
- rusilo-0.1.0/LICENSE-APACHE +201 -0
- rusilo-0.1.0/LICENSE-MIT +21 -0
- rusilo-0.1.0/PKG-INFO +306 -0
- rusilo-0.1.0/PLOT_USAGE.md +3 -0
- rusilo-0.1.0/README.md +255 -0
- rusilo-0.1.0/build.rs +79 -0
- rusilo-0.1.0/docs/conf.py +5 -0
- rusilo-0.1.0/docs/index.md +11 -0
- rusilo-0.1.0/docs/plotting.md +85 -0
- rusilo-0.1.0/docs/python-usage.md +408 -0
- rusilo-0.1.0/docs/requirements.txt +3 -0
- rusilo-0.1.0/examples/actual_data_reading_demo.rs +118 -0
- rusilo-0.1.0/examples/demo_python_bindings.py +65 -0
- rusilo-0.1.0/examples/ergonomic_api.rs +257 -0
- rusilo-0.1.0/examples/extract_coordinate_patterns.rs +177 -0
- rusilo-0.1.0/examples/ffi_fallback.rs +122 -0
- rusilo-0.1.0/examples/pdb_reader.rs +208 -0
- rusilo-0.1.0/examples/peek_at_real_data.rs +126 -0
- rusilo-0.1.0/examples/python_example.py +142 -0
- rusilo-0.1.0/examples/read_binary_data.rs +154 -0
- rusilo-0.1.0/examples/silo_summary.rs +218 -0
- rusilo-0.1.0/examples/typed_silo_objects.rs +487 -0
- rusilo-0.1.0/plot_temperature_slice.py +330 -0
- rusilo-0.1.0/pyproject.toml +98 -0
- rusilo-0.1.0/python/rusilo/__init__.py +61 -0
- rusilo-0.1.0/python/rusilo/pion.py +486 -0
- rusilo-0.1.0/python/rusilo/py.typed +2 -0
- rusilo-0.1.0/python/rusilo/refinement.py +115 -0
- rusilo-0.1.0/python/tests/test_multiblock.py +110 -0
- rusilo-0.1.0/python/tests/test_native.py +27 -0
- rusilo-0.1.0/python/tests/test_pion.py +188 -0
- rusilo-0.1.0/python/tests/test_plotting.py +80 -0
- rusilo-0.1.0/python/tests/test_rusilo.py +218 -0
- rusilo-0.1.0/setup.py +94 -0
- rusilo-0.1.0/src/bin/cli.rs +46 -0
- rusilo-0.1.0/src/error.rs +66 -0
- rusilo-0.1.0/src/ffi.rs +228 -0
- rusilo-0.1.0/src/ffi_file.rs +396 -0
- rusilo-0.1.0/src/file.rs +495 -0
- rusilo-0.1.0/src/lib.rs +86 -0
- rusilo-0.1.0/src/multiblock.rs +449 -0
- rusilo-0.1.0/src/objects/material.rs +309 -0
- rusilo-0.1.0/src/objects/mesh.rs +293 -0
- rusilo-0.1.0/src/objects/mod.rs +174 -0
- rusilo-0.1.0/src/objects/var.rs +479 -0
- rusilo-0.1.0/src/pdb.rs +897 -0
- rusilo-0.1.0/src/pdb_parser.rs +573 -0
- rusilo-0.1.0/src/python.rs +773 -0
- rusilo-0.1.0/src/real_silo.rs +1389 -0
- rusilo-0.1.0/src/silo_types.rs +748 -0
- rusilo-0.1.0/src/streaming.rs +373 -0
- rusilo-0.1.0/src/utils.rs +224 -0
- rusilo-0.1.0/tests/debug_variable_extraction.rs +33 -0
- rusilo-0.1.0/tests/fixtures/external-blocks.silo +0 -0
- rusilo-0.1.0/tests/fixtures/external-master.silo +0 -0
- rusilo-0.1.0/tests/fixtures/multiblock.silo +0 -0
- rusilo-0.1.0/tests/fixtures/native-hdf5.silo +0 -0
- rusilo-0.1.0/tests/fixtures/pion-1d.silo +0 -0
- rusilo-0.1.0/tests/fixtures/pion-2d-level00.silo +0 -0
- rusilo-0.1.0/tests/fixtures/pion-2d-level01.silo +0 -0
- rusilo-0.1.0/tests/fixtures/pion-3d.silo +0 -0
- rusilo-0.1.0/tests/fixtures/rectilinear.silo +0 -0
- rusilo-0.1.0/tests/fixtures/write_pion_fixtures.c +64 -0
- rusilo-0.1.0/tests/fixtures/write_reader_fixtures.c +92 -0
- rusilo-0.1.0/tests/real_silo_test.rs +117 -0
- rusilo-0.1.0/tests/streaming_integration.rs +269 -0
- rusilo-0.1.0/tests/test_real_silo_errors.rs +23 -0
- rusilo-0.1.0/tests/test_real_silo_variables.rs +53 -0
- rusilo-0.1.0/wrapper.h +1 -0
rusilo-0.1.0/Cargo.lock
ADDED
|
@@ -0,0 +1,611 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "aho-corasick"
|
|
7
|
+
version = "1.1.3"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
|
|
10
|
+
dependencies = [
|
|
11
|
+
"memchr",
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
[[package]]
|
|
15
|
+
name = "bindgen"
|
|
16
|
+
version = "0.69.5"
|
|
17
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
18
|
+
checksum = "271383c67ccabffb7381723dea0672a673f292304fcb45c01cc648c7a8d58088"
|
|
19
|
+
dependencies = [
|
|
20
|
+
"bitflags",
|
|
21
|
+
"cexpr",
|
|
22
|
+
"clang-sys",
|
|
23
|
+
"itertools",
|
|
24
|
+
"lazy_static",
|
|
25
|
+
"lazycell",
|
|
26
|
+
"log",
|
|
27
|
+
"prettyplease",
|
|
28
|
+
"proc-macro2",
|
|
29
|
+
"quote",
|
|
30
|
+
"regex",
|
|
31
|
+
"rustc-hash",
|
|
32
|
+
"shlex",
|
|
33
|
+
"syn",
|
|
34
|
+
"which",
|
|
35
|
+
]
|
|
36
|
+
|
|
37
|
+
[[package]]
|
|
38
|
+
name = "bitflags"
|
|
39
|
+
version = "2.9.1"
|
|
40
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
41
|
+
checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967"
|
|
42
|
+
|
|
43
|
+
[[package]]
|
|
44
|
+
name = "byteorder"
|
|
45
|
+
version = "1.5.0"
|
|
46
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
47
|
+
checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
|
|
48
|
+
|
|
49
|
+
[[package]]
|
|
50
|
+
name = "cexpr"
|
|
51
|
+
version = "0.6.0"
|
|
52
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
53
|
+
checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
|
|
54
|
+
dependencies = [
|
|
55
|
+
"nom",
|
|
56
|
+
]
|
|
57
|
+
|
|
58
|
+
[[package]]
|
|
59
|
+
name = "cfg-if"
|
|
60
|
+
version = "1.0.1"
|
|
61
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
62
|
+
checksum = "9555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268"
|
|
63
|
+
|
|
64
|
+
[[package]]
|
|
65
|
+
name = "clang-sys"
|
|
66
|
+
version = "1.8.1"
|
|
67
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
68
|
+
checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4"
|
|
69
|
+
dependencies = [
|
|
70
|
+
"glob",
|
|
71
|
+
"libc",
|
|
72
|
+
"libloading",
|
|
73
|
+
]
|
|
74
|
+
|
|
75
|
+
[[package]]
|
|
76
|
+
name = "either"
|
|
77
|
+
version = "1.15.0"
|
|
78
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
79
|
+
checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
|
|
80
|
+
|
|
81
|
+
[[package]]
|
|
82
|
+
name = "errno"
|
|
83
|
+
version = "0.3.13"
|
|
84
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
85
|
+
checksum = "778e2ac28f6c47af28e4907f13ffd1e1ddbd400980a9abd7c8df189bf578a5ad"
|
|
86
|
+
dependencies = [
|
|
87
|
+
"libc",
|
|
88
|
+
"windows-sys 0.60.2",
|
|
89
|
+
]
|
|
90
|
+
|
|
91
|
+
[[package]]
|
|
92
|
+
name = "fastrand"
|
|
93
|
+
version = "2.3.0"
|
|
94
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
95
|
+
checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
|
|
96
|
+
|
|
97
|
+
[[package]]
|
|
98
|
+
name = "getrandom"
|
|
99
|
+
version = "0.3.3"
|
|
100
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
101
|
+
checksum = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4"
|
|
102
|
+
dependencies = [
|
|
103
|
+
"cfg-if",
|
|
104
|
+
"libc",
|
|
105
|
+
"r-efi",
|
|
106
|
+
"wasi",
|
|
107
|
+
]
|
|
108
|
+
|
|
109
|
+
[[package]]
|
|
110
|
+
name = "glob"
|
|
111
|
+
version = "0.3.3"
|
|
112
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
113
|
+
checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
|
|
114
|
+
|
|
115
|
+
[[package]]
|
|
116
|
+
name = "heck"
|
|
117
|
+
version = "0.5.0"
|
|
118
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
119
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
120
|
+
|
|
121
|
+
[[package]]
|
|
122
|
+
name = "home"
|
|
123
|
+
version = "0.5.11"
|
|
124
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
125
|
+
checksum = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf"
|
|
126
|
+
dependencies = [
|
|
127
|
+
"windows-sys 0.59.0",
|
|
128
|
+
]
|
|
129
|
+
|
|
130
|
+
[[package]]
|
|
131
|
+
name = "itertools"
|
|
132
|
+
version = "0.12.1"
|
|
133
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
134
|
+
checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
|
|
135
|
+
dependencies = [
|
|
136
|
+
"either",
|
|
137
|
+
]
|
|
138
|
+
|
|
139
|
+
[[package]]
|
|
140
|
+
name = "lazy_static"
|
|
141
|
+
version = "1.5.0"
|
|
142
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
143
|
+
checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
|
|
144
|
+
|
|
145
|
+
[[package]]
|
|
146
|
+
name = "lazycell"
|
|
147
|
+
version = "1.3.0"
|
|
148
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
149
|
+
checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
|
|
150
|
+
|
|
151
|
+
[[package]]
|
|
152
|
+
name = "libc"
|
|
153
|
+
version = "0.2.175"
|
|
154
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
155
|
+
checksum = "6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543"
|
|
156
|
+
|
|
157
|
+
[[package]]
|
|
158
|
+
name = "libloading"
|
|
159
|
+
version = "0.8.8"
|
|
160
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
161
|
+
checksum = "07033963ba89ebaf1584d767badaa2e8fcec21aedea6b8c0346d487d49c28667"
|
|
162
|
+
dependencies = [
|
|
163
|
+
"cfg-if",
|
|
164
|
+
"windows-targets 0.53.3",
|
|
165
|
+
]
|
|
166
|
+
|
|
167
|
+
[[package]]
|
|
168
|
+
name = "linux-raw-sys"
|
|
169
|
+
version = "0.4.15"
|
|
170
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
171
|
+
checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab"
|
|
172
|
+
|
|
173
|
+
[[package]]
|
|
174
|
+
name = "linux-raw-sys"
|
|
175
|
+
version = "0.9.4"
|
|
176
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
177
|
+
checksum = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12"
|
|
178
|
+
|
|
179
|
+
[[package]]
|
|
180
|
+
name = "log"
|
|
181
|
+
version = "0.4.27"
|
|
182
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
183
|
+
checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
|
|
184
|
+
|
|
185
|
+
[[package]]
|
|
186
|
+
name = "memchr"
|
|
187
|
+
version = "2.7.5"
|
|
188
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
189
|
+
checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0"
|
|
190
|
+
|
|
191
|
+
[[package]]
|
|
192
|
+
name = "minimal-lexical"
|
|
193
|
+
version = "0.2.1"
|
|
194
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
195
|
+
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
|
|
196
|
+
|
|
197
|
+
[[package]]
|
|
198
|
+
name = "nom"
|
|
199
|
+
version = "7.1.3"
|
|
200
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
201
|
+
checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
|
|
202
|
+
dependencies = [
|
|
203
|
+
"memchr",
|
|
204
|
+
"minimal-lexical",
|
|
205
|
+
]
|
|
206
|
+
|
|
207
|
+
[[package]]
|
|
208
|
+
name = "once_cell"
|
|
209
|
+
version = "1.21.3"
|
|
210
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
211
|
+
checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
|
|
212
|
+
|
|
213
|
+
[[package]]
|
|
214
|
+
name = "pkg-config"
|
|
215
|
+
version = "0.3.32"
|
|
216
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
217
|
+
checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c"
|
|
218
|
+
|
|
219
|
+
[[package]]
|
|
220
|
+
name = "portable-atomic"
|
|
221
|
+
version = "1.11.1"
|
|
222
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
223
|
+
checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483"
|
|
224
|
+
|
|
225
|
+
[[package]]
|
|
226
|
+
name = "prettyplease"
|
|
227
|
+
version = "0.2.36"
|
|
228
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
229
|
+
checksum = "ff24dfcda44452b9816fff4cd4227e1bb73ff5a2f1bc1105aa92fb8565ce44d2"
|
|
230
|
+
dependencies = [
|
|
231
|
+
"proc-macro2",
|
|
232
|
+
"syn",
|
|
233
|
+
]
|
|
234
|
+
|
|
235
|
+
[[package]]
|
|
236
|
+
name = "proc-macro2"
|
|
237
|
+
version = "1.0.97"
|
|
238
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
239
|
+
checksum = "d61789d7719defeb74ea5fe81f2fdfdbd28a803847077cecce2ff14e1472f6f1"
|
|
240
|
+
dependencies = [
|
|
241
|
+
"unicode-ident",
|
|
242
|
+
]
|
|
243
|
+
|
|
244
|
+
[[package]]
|
|
245
|
+
name = "pyo3"
|
|
246
|
+
version = "0.29.0"
|
|
247
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
248
|
+
checksum = "cd274650b21d4bfc26a0a47587962c1edb425f69287324355cd040c3ea66071c"
|
|
249
|
+
dependencies = [
|
|
250
|
+
"libc",
|
|
251
|
+
"once_cell",
|
|
252
|
+
"portable-atomic",
|
|
253
|
+
"pyo3-build-config",
|
|
254
|
+
"pyo3-ffi",
|
|
255
|
+
"pyo3-macros",
|
|
256
|
+
]
|
|
257
|
+
|
|
258
|
+
[[package]]
|
|
259
|
+
name = "pyo3-build-config"
|
|
260
|
+
version = "0.29.0"
|
|
261
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
262
|
+
checksum = "c5e2a7d2f0d013342f295c048ad19237add5154a55b1c5a254c0ec93d4109078"
|
|
263
|
+
dependencies = [
|
|
264
|
+
"target-lexicon",
|
|
265
|
+
]
|
|
266
|
+
|
|
267
|
+
[[package]]
|
|
268
|
+
name = "pyo3-ffi"
|
|
269
|
+
version = "0.29.0"
|
|
270
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
271
|
+
checksum = "ca85c467da1bbc8d866eea5deff9cf29ea5f7785054a17da36e65bda9c05845b"
|
|
272
|
+
dependencies = [
|
|
273
|
+
"libc",
|
|
274
|
+
"pyo3-build-config",
|
|
275
|
+
]
|
|
276
|
+
|
|
277
|
+
[[package]]
|
|
278
|
+
name = "pyo3-macros"
|
|
279
|
+
version = "0.29.0"
|
|
280
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
281
|
+
checksum = "9ac53762fd065daa3194dd09337a38bd793a188100fd1a9304c4ab312d901771"
|
|
282
|
+
dependencies = [
|
|
283
|
+
"proc-macro2",
|
|
284
|
+
"pyo3-macros-backend",
|
|
285
|
+
"quote",
|
|
286
|
+
"syn",
|
|
287
|
+
]
|
|
288
|
+
|
|
289
|
+
[[package]]
|
|
290
|
+
name = "pyo3-macros-backend"
|
|
291
|
+
version = "0.29.0"
|
|
292
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
293
|
+
checksum = "4ca3a1557399783172dc5bf39cfca835157732532cba56b71d2292161e53b362"
|
|
294
|
+
dependencies = [
|
|
295
|
+
"heck",
|
|
296
|
+
"proc-macro2",
|
|
297
|
+
"quote",
|
|
298
|
+
"syn",
|
|
299
|
+
]
|
|
300
|
+
|
|
301
|
+
[[package]]
|
|
302
|
+
name = "quote"
|
|
303
|
+
version = "1.0.40"
|
|
304
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
305
|
+
checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
|
|
306
|
+
dependencies = [
|
|
307
|
+
"proc-macro2",
|
|
308
|
+
]
|
|
309
|
+
|
|
310
|
+
[[package]]
|
|
311
|
+
name = "r-efi"
|
|
312
|
+
version = "5.3.0"
|
|
313
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
314
|
+
checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
|
|
315
|
+
|
|
316
|
+
[[package]]
|
|
317
|
+
name = "regex"
|
|
318
|
+
version = "1.11.1"
|
|
319
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
320
|
+
checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
|
|
321
|
+
dependencies = [
|
|
322
|
+
"aho-corasick",
|
|
323
|
+
"memchr",
|
|
324
|
+
"regex-automata",
|
|
325
|
+
"regex-syntax",
|
|
326
|
+
]
|
|
327
|
+
|
|
328
|
+
[[package]]
|
|
329
|
+
name = "regex-automata"
|
|
330
|
+
version = "0.4.9"
|
|
331
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
332
|
+
checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
|
|
333
|
+
dependencies = [
|
|
334
|
+
"aho-corasick",
|
|
335
|
+
"memchr",
|
|
336
|
+
"regex-syntax",
|
|
337
|
+
]
|
|
338
|
+
|
|
339
|
+
[[package]]
|
|
340
|
+
name = "regex-syntax"
|
|
341
|
+
version = "0.8.5"
|
|
342
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
343
|
+
checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
|
|
344
|
+
|
|
345
|
+
[[package]]
|
|
346
|
+
name = "rusilo"
|
|
347
|
+
version = "0.1.0"
|
|
348
|
+
dependencies = [
|
|
349
|
+
"bindgen",
|
|
350
|
+
"byteorder",
|
|
351
|
+
"pkg-config",
|
|
352
|
+
"pyo3",
|
|
353
|
+
"tempfile",
|
|
354
|
+
]
|
|
355
|
+
|
|
356
|
+
[[package]]
|
|
357
|
+
name = "rustc-hash"
|
|
358
|
+
version = "1.1.0"
|
|
359
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
360
|
+
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
|
|
361
|
+
|
|
362
|
+
[[package]]
|
|
363
|
+
name = "rustix"
|
|
364
|
+
version = "0.38.44"
|
|
365
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
366
|
+
checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154"
|
|
367
|
+
dependencies = [
|
|
368
|
+
"bitflags",
|
|
369
|
+
"errno",
|
|
370
|
+
"libc",
|
|
371
|
+
"linux-raw-sys 0.4.15",
|
|
372
|
+
"windows-sys 0.59.0",
|
|
373
|
+
]
|
|
374
|
+
|
|
375
|
+
[[package]]
|
|
376
|
+
name = "rustix"
|
|
377
|
+
version = "1.0.8"
|
|
378
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
379
|
+
checksum = "11181fbabf243db407ef8df94a6ce0b2f9a733bd8be4ad02b4eda9602296cac8"
|
|
380
|
+
dependencies = [
|
|
381
|
+
"bitflags",
|
|
382
|
+
"errno",
|
|
383
|
+
"libc",
|
|
384
|
+
"linux-raw-sys 0.9.4",
|
|
385
|
+
"windows-sys 0.60.2",
|
|
386
|
+
]
|
|
387
|
+
|
|
388
|
+
[[package]]
|
|
389
|
+
name = "shlex"
|
|
390
|
+
version = "1.3.0"
|
|
391
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
392
|
+
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
393
|
+
|
|
394
|
+
[[package]]
|
|
395
|
+
name = "syn"
|
|
396
|
+
version = "2.0.104"
|
|
397
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
398
|
+
checksum = "17b6f705963418cdb9927482fa304bc562ece2fdd4f616084c50b7023b435a40"
|
|
399
|
+
dependencies = [
|
|
400
|
+
"proc-macro2",
|
|
401
|
+
"quote",
|
|
402
|
+
"unicode-ident",
|
|
403
|
+
]
|
|
404
|
+
|
|
405
|
+
[[package]]
|
|
406
|
+
name = "target-lexicon"
|
|
407
|
+
version = "0.13.5"
|
|
408
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
409
|
+
checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
410
|
+
|
|
411
|
+
[[package]]
|
|
412
|
+
name = "tempfile"
|
|
413
|
+
version = "3.20.0"
|
|
414
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
415
|
+
checksum = "e8a64e3985349f2441a1a9ef0b853f869006c3855f2cda6862a94d26ebb9d6a1"
|
|
416
|
+
dependencies = [
|
|
417
|
+
"fastrand",
|
|
418
|
+
"getrandom",
|
|
419
|
+
"once_cell",
|
|
420
|
+
"rustix 1.0.8",
|
|
421
|
+
"windows-sys 0.59.0",
|
|
422
|
+
]
|
|
423
|
+
|
|
424
|
+
[[package]]
|
|
425
|
+
name = "unicode-ident"
|
|
426
|
+
version = "1.0.18"
|
|
427
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
428
|
+
checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
|
|
429
|
+
|
|
430
|
+
[[package]]
|
|
431
|
+
name = "wasi"
|
|
432
|
+
version = "0.14.2+wasi-0.2.4"
|
|
433
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
434
|
+
checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3"
|
|
435
|
+
dependencies = [
|
|
436
|
+
"wit-bindgen-rt",
|
|
437
|
+
]
|
|
438
|
+
|
|
439
|
+
[[package]]
|
|
440
|
+
name = "which"
|
|
441
|
+
version = "4.4.2"
|
|
442
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
443
|
+
checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7"
|
|
444
|
+
dependencies = [
|
|
445
|
+
"either",
|
|
446
|
+
"home",
|
|
447
|
+
"once_cell",
|
|
448
|
+
"rustix 0.38.44",
|
|
449
|
+
]
|
|
450
|
+
|
|
451
|
+
[[package]]
|
|
452
|
+
name = "windows-link"
|
|
453
|
+
version = "0.1.3"
|
|
454
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
455
|
+
checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a"
|
|
456
|
+
|
|
457
|
+
[[package]]
|
|
458
|
+
name = "windows-sys"
|
|
459
|
+
version = "0.59.0"
|
|
460
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
461
|
+
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
|
|
462
|
+
dependencies = [
|
|
463
|
+
"windows-targets 0.52.6",
|
|
464
|
+
]
|
|
465
|
+
|
|
466
|
+
[[package]]
|
|
467
|
+
name = "windows-sys"
|
|
468
|
+
version = "0.60.2"
|
|
469
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
470
|
+
checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb"
|
|
471
|
+
dependencies = [
|
|
472
|
+
"windows-targets 0.53.3",
|
|
473
|
+
]
|
|
474
|
+
|
|
475
|
+
[[package]]
|
|
476
|
+
name = "windows-targets"
|
|
477
|
+
version = "0.52.6"
|
|
478
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
479
|
+
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
|
|
480
|
+
dependencies = [
|
|
481
|
+
"windows_aarch64_gnullvm 0.52.6",
|
|
482
|
+
"windows_aarch64_msvc 0.52.6",
|
|
483
|
+
"windows_i686_gnu 0.52.6",
|
|
484
|
+
"windows_i686_gnullvm 0.52.6",
|
|
485
|
+
"windows_i686_msvc 0.52.6",
|
|
486
|
+
"windows_x86_64_gnu 0.52.6",
|
|
487
|
+
"windows_x86_64_gnullvm 0.52.6",
|
|
488
|
+
"windows_x86_64_msvc 0.52.6",
|
|
489
|
+
]
|
|
490
|
+
|
|
491
|
+
[[package]]
|
|
492
|
+
name = "windows-targets"
|
|
493
|
+
version = "0.53.3"
|
|
494
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
495
|
+
checksum = "d5fe6031c4041849d7c496a8ded650796e7b6ecc19df1a431c1a363342e5dc91"
|
|
496
|
+
dependencies = [
|
|
497
|
+
"windows-link",
|
|
498
|
+
"windows_aarch64_gnullvm 0.53.0",
|
|
499
|
+
"windows_aarch64_msvc 0.53.0",
|
|
500
|
+
"windows_i686_gnu 0.53.0",
|
|
501
|
+
"windows_i686_gnullvm 0.53.0",
|
|
502
|
+
"windows_i686_msvc 0.53.0",
|
|
503
|
+
"windows_x86_64_gnu 0.53.0",
|
|
504
|
+
"windows_x86_64_gnullvm 0.53.0",
|
|
505
|
+
"windows_x86_64_msvc 0.53.0",
|
|
506
|
+
]
|
|
507
|
+
|
|
508
|
+
[[package]]
|
|
509
|
+
name = "windows_aarch64_gnullvm"
|
|
510
|
+
version = "0.52.6"
|
|
511
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
512
|
+
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
|
|
513
|
+
|
|
514
|
+
[[package]]
|
|
515
|
+
name = "windows_aarch64_gnullvm"
|
|
516
|
+
version = "0.53.0"
|
|
517
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
518
|
+
checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764"
|
|
519
|
+
|
|
520
|
+
[[package]]
|
|
521
|
+
name = "windows_aarch64_msvc"
|
|
522
|
+
version = "0.52.6"
|
|
523
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
524
|
+
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
|
|
525
|
+
|
|
526
|
+
[[package]]
|
|
527
|
+
name = "windows_aarch64_msvc"
|
|
528
|
+
version = "0.53.0"
|
|
529
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
530
|
+
checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c"
|
|
531
|
+
|
|
532
|
+
[[package]]
|
|
533
|
+
name = "windows_i686_gnu"
|
|
534
|
+
version = "0.52.6"
|
|
535
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
536
|
+
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
|
|
537
|
+
|
|
538
|
+
[[package]]
|
|
539
|
+
name = "windows_i686_gnu"
|
|
540
|
+
version = "0.53.0"
|
|
541
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
542
|
+
checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3"
|
|
543
|
+
|
|
544
|
+
[[package]]
|
|
545
|
+
name = "windows_i686_gnullvm"
|
|
546
|
+
version = "0.52.6"
|
|
547
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
548
|
+
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
|
|
549
|
+
|
|
550
|
+
[[package]]
|
|
551
|
+
name = "windows_i686_gnullvm"
|
|
552
|
+
version = "0.53.0"
|
|
553
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
554
|
+
checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11"
|
|
555
|
+
|
|
556
|
+
[[package]]
|
|
557
|
+
name = "windows_i686_msvc"
|
|
558
|
+
version = "0.52.6"
|
|
559
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
560
|
+
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
|
|
561
|
+
|
|
562
|
+
[[package]]
|
|
563
|
+
name = "windows_i686_msvc"
|
|
564
|
+
version = "0.53.0"
|
|
565
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
566
|
+
checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d"
|
|
567
|
+
|
|
568
|
+
[[package]]
|
|
569
|
+
name = "windows_x86_64_gnu"
|
|
570
|
+
version = "0.52.6"
|
|
571
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
572
|
+
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
|
|
573
|
+
|
|
574
|
+
[[package]]
|
|
575
|
+
name = "windows_x86_64_gnu"
|
|
576
|
+
version = "0.53.0"
|
|
577
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
578
|
+
checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba"
|
|
579
|
+
|
|
580
|
+
[[package]]
|
|
581
|
+
name = "windows_x86_64_gnullvm"
|
|
582
|
+
version = "0.52.6"
|
|
583
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
584
|
+
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
|
|
585
|
+
|
|
586
|
+
[[package]]
|
|
587
|
+
name = "windows_x86_64_gnullvm"
|
|
588
|
+
version = "0.53.0"
|
|
589
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
590
|
+
checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57"
|
|
591
|
+
|
|
592
|
+
[[package]]
|
|
593
|
+
name = "windows_x86_64_msvc"
|
|
594
|
+
version = "0.52.6"
|
|
595
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
596
|
+
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
|
597
|
+
|
|
598
|
+
[[package]]
|
|
599
|
+
name = "windows_x86_64_msvc"
|
|
600
|
+
version = "0.53.0"
|
|
601
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
602
|
+
checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486"
|
|
603
|
+
|
|
604
|
+
[[package]]
|
|
605
|
+
name = "wit-bindgen-rt"
|
|
606
|
+
version = "0.39.0"
|
|
607
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
608
|
+
checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1"
|
|
609
|
+
dependencies = [
|
|
610
|
+
"bitflags",
|
|
611
|
+
]
|
rusilo-0.1.0/Cargo.toml
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
[package]
|
|
2
|
+
name = "rusilo"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
edition = "2024"
|
|
5
|
+
description = "A Rust library for reading and manipulating Silo files"
|
|
6
|
+
license = "MIT OR Apache-2.0"
|
|
7
|
+
authors = ["Rusilo Contributors"]
|
|
8
|
+
repository = "https://github.com/greensh16/rusilo"
|
|
9
|
+
documentation = "https://www.sgreen.au/rusilo/"
|
|
10
|
+
readme = "README.md"
|
|
11
|
+
include = [
|
|
12
|
+
"/Cargo.toml",
|
|
13
|
+
"/Cargo.lock",
|
|
14
|
+
"/README.md",
|
|
15
|
+
"/LICENSE*",
|
|
16
|
+
"/build.rs",
|
|
17
|
+
"/wrapper.h",
|
|
18
|
+
"/src/**/*.rs",
|
|
19
|
+
"/examples/*.rs",
|
|
20
|
+
"/examples/*.py",
|
|
21
|
+
"/tests/**/*.rs",
|
|
22
|
+
"/tests/fixtures/*.silo",
|
|
23
|
+
"/tests/fixtures/*.c",
|
|
24
|
+
"/pyproject.toml",
|
|
25
|
+
"/setup.py",
|
|
26
|
+
"/python/rusilo/*.py",
|
|
27
|
+
"/python/rusilo/*.pyi",
|
|
28
|
+
"/python/rusilo/py.typed",
|
|
29
|
+
"/python/tests/*.py",
|
|
30
|
+
"/plot_temperature_slice.py",
|
|
31
|
+
"/PLOT_USAGE.md",
|
|
32
|
+
"/docs/conf.py",
|
|
33
|
+
"/docs/index.md",
|
|
34
|
+
"/docs/plotting.md",
|
|
35
|
+
"/docs/python-usage.md",
|
|
36
|
+
"/docs/requirements.txt",
|
|
37
|
+
]
|
|
38
|
+
|
|
39
|
+
[lib]
|
|
40
|
+
crate-type = ["lib", "cdylib"]
|
|
41
|
+
|
|
42
|
+
[[bin]]
|
|
43
|
+
name = "rusilo-cli"
|
|
44
|
+
path = "src/bin/cli.rs"
|
|
45
|
+
|
|
46
|
+
[features]
|
|
47
|
+
default = []
|
|
48
|
+
ffi = ["bindgen", "pkg-config"]
|
|
49
|
+
rusilo-py = ["pyo3"]
|
|
50
|
+
python-abi3 = ["rusilo-py", "pyo3/abi3-py38"]
|
|
51
|
+
|
|
52
|
+
[dependencies]
|
|
53
|
+
byteorder = "1.5"
|
|
54
|
+
pyo3 = { version = "0.29.0", features = ["extension-module"], optional = true }
|
|
55
|
+
|
|
56
|
+
[dev-dependencies]
|
|
57
|
+
tempfile = "3.8"
|
|
58
|
+
|
|
59
|
+
[build-dependencies]
|
|
60
|
+
bindgen = { version = "0.69", optional = true }
|
|
61
|
+
pkg-config = { version = "0.3", optional = true }
|