simulation-alg 0.1.0__tar.gz → 0.1.2__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.
- simulation_alg-0.1.2/Cargo.lock +700 -0
- {simulation_alg-0.1.0 → simulation_alg-0.1.2}/Cargo.toml +2 -2
- {simulation_alg-0.1.0 → simulation_alg-0.1.2}/PKG-INFO +1 -1
- {simulation_alg-0.1.0 → simulation_alg-0.1.2}/pyproject.toml +1 -1
- simulation_alg-0.1.2/python/__init__.py +0 -0
- {simulation_alg-0.1.0 → simulation_alg-0.1.2}/simulation.pyi +42 -1
- simulation_alg-0.1.2/src/graph/hypergraph.rs +327 -0
- {simulation_alg-0.1.0 → simulation_alg-0.1.2}/src/graph/mod.rs +1 -0
- {simulation_alg-0.1.0 → simulation_alg-0.1.2}/src/graph/networkx_graph.rs +15 -0
- {simulation_alg-0.1.0 → simulation_alg-0.1.2}/src/lib.rs +5 -1
- simulation_alg-0.1.2/tests/test_hyper_simulation.py +45 -0
- simulation_alg-0.1.0/Cargo.lock +0 -240
- {simulation_alg-0.1.0 → simulation_alg-0.1.2}/.github/workflows/ci.yml +0 -0
- {simulation_alg-0.1.0 → simulation_alg-0.1.2}/.gitignore +0 -0
- {simulation_alg-0.1.0 → simulation_alg-0.1.2}/.gitmodules +0 -0
- {simulation_alg-0.1.0 → simulation_alg-0.1.2}/LICENSE +0 -0
- {simulation_alg-0.1.0 → simulation_alg-0.1.2}/README.md +0 -0
- /simulation_alg-0.1.0/python/__init__.py → /simulation_alg-0.1.2/hyper-simulation.log +0 -0
- {simulation_alg-0.1.0 → simulation_alg-0.1.2}/requirements.txt +0 -0
- {simulation_alg-0.1.0 → simulation_alg-0.1.2}/src/utils.rs +0 -0
- {simulation_alg-0.1.0 → simulation_alg-0.1.2}/tests/test_simulation.py +0 -0
|
@@ -0,0 +1,700 @@
|
|
|
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 = "anstream"
|
|
16
|
+
version = "0.6.18"
|
|
17
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
18
|
+
checksum = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b"
|
|
19
|
+
dependencies = [
|
|
20
|
+
"anstyle",
|
|
21
|
+
"anstyle-parse",
|
|
22
|
+
"anstyle-query",
|
|
23
|
+
"anstyle-wincon",
|
|
24
|
+
"colorchoice",
|
|
25
|
+
"is_terminal_polyfill",
|
|
26
|
+
"utf8parse",
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
[[package]]
|
|
30
|
+
name = "anstyle"
|
|
31
|
+
version = "1.0.10"
|
|
32
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
33
|
+
checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9"
|
|
34
|
+
|
|
35
|
+
[[package]]
|
|
36
|
+
name = "anstyle-parse"
|
|
37
|
+
version = "0.2.6"
|
|
38
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
39
|
+
checksum = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9"
|
|
40
|
+
dependencies = [
|
|
41
|
+
"utf8parse",
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
[[package]]
|
|
45
|
+
name = "anstyle-query"
|
|
46
|
+
version = "1.1.2"
|
|
47
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
48
|
+
checksum = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c"
|
|
49
|
+
dependencies = [
|
|
50
|
+
"windows-sys",
|
|
51
|
+
]
|
|
52
|
+
|
|
53
|
+
[[package]]
|
|
54
|
+
name = "anstyle-wincon"
|
|
55
|
+
version = "3.0.8"
|
|
56
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
57
|
+
checksum = "6680de5231bd6ee4c6191b8a1325daa282b415391ec9d3a37bd34f2060dc73fa"
|
|
58
|
+
dependencies = [
|
|
59
|
+
"anstyle",
|
|
60
|
+
"once_cell_polyfill",
|
|
61
|
+
"windows-sys",
|
|
62
|
+
]
|
|
63
|
+
|
|
64
|
+
[[package]]
|
|
65
|
+
name = "autocfg"
|
|
66
|
+
version = "1.4.0"
|
|
67
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
68
|
+
checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
|
|
69
|
+
|
|
70
|
+
[[package]]
|
|
71
|
+
name = "bincode"
|
|
72
|
+
version = "1.3.3"
|
|
73
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
74
|
+
checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad"
|
|
75
|
+
dependencies = [
|
|
76
|
+
"serde",
|
|
77
|
+
]
|
|
78
|
+
|
|
79
|
+
[[package]]
|
|
80
|
+
name = "bitflags"
|
|
81
|
+
version = "2.9.1"
|
|
82
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
83
|
+
checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967"
|
|
84
|
+
|
|
85
|
+
[[package]]
|
|
86
|
+
name = "byteorder"
|
|
87
|
+
version = "1.5.0"
|
|
88
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
89
|
+
checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
|
|
90
|
+
|
|
91
|
+
[[package]]
|
|
92
|
+
name = "cfg-if"
|
|
93
|
+
version = "1.0.0"
|
|
94
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
95
|
+
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
96
|
+
|
|
97
|
+
[[package]]
|
|
98
|
+
name = "colorchoice"
|
|
99
|
+
version = "1.0.3"
|
|
100
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
101
|
+
checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990"
|
|
102
|
+
|
|
103
|
+
[[package]]
|
|
104
|
+
name = "crossbeam-deque"
|
|
105
|
+
version = "0.8.6"
|
|
106
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
107
|
+
checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51"
|
|
108
|
+
dependencies = [
|
|
109
|
+
"crossbeam-epoch",
|
|
110
|
+
"crossbeam-utils",
|
|
111
|
+
]
|
|
112
|
+
|
|
113
|
+
[[package]]
|
|
114
|
+
name = "crossbeam-epoch"
|
|
115
|
+
version = "0.9.18"
|
|
116
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
117
|
+
checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
|
|
118
|
+
dependencies = [
|
|
119
|
+
"crossbeam-utils",
|
|
120
|
+
]
|
|
121
|
+
|
|
122
|
+
[[package]]
|
|
123
|
+
name = "crossbeam-utils"
|
|
124
|
+
version = "0.8.21"
|
|
125
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
126
|
+
checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
|
|
127
|
+
|
|
128
|
+
[[package]]
|
|
129
|
+
name = "either"
|
|
130
|
+
version = "1.14.0"
|
|
131
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
132
|
+
checksum = "b7914353092ddf589ad78f25c5c1c21b7f80b0ff8621e7c814c3485b5306da9d"
|
|
133
|
+
|
|
134
|
+
[[package]]
|
|
135
|
+
name = "env_filter"
|
|
136
|
+
version = "0.1.3"
|
|
137
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
138
|
+
checksum = "186e05a59d4c50738528153b83b0b0194d3a29507dfec16eccd4b342903397d0"
|
|
139
|
+
dependencies = [
|
|
140
|
+
"log",
|
|
141
|
+
"regex",
|
|
142
|
+
]
|
|
143
|
+
|
|
144
|
+
[[package]]
|
|
145
|
+
name = "env_logger"
|
|
146
|
+
version = "0.11.8"
|
|
147
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
148
|
+
checksum = "13c863f0904021b108aa8b2f55046443e6b1ebde8fd4a15c399893aae4fa069f"
|
|
149
|
+
dependencies = [
|
|
150
|
+
"anstream",
|
|
151
|
+
"anstyle",
|
|
152
|
+
"env_filter",
|
|
153
|
+
"jiff",
|
|
154
|
+
"log",
|
|
155
|
+
]
|
|
156
|
+
|
|
157
|
+
[[package]]
|
|
158
|
+
name = "fxhash"
|
|
159
|
+
version = "0.2.1"
|
|
160
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
161
|
+
checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c"
|
|
162
|
+
dependencies = [
|
|
163
|
+
"byteorder",
|
|
164
|
+
]
|
|
165
|
+
|
|
166
|
+
[[package]]
|
|
167
|
+
name = "getrandom"
|
|
168
|
+
version = "0.3.3"
|
|
169
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
170
|
+
checksum = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4"
|
|
171
|
+
dependencies = [
|
|
172
|
+
"cfg-if",
|
|
173
|
+
"libc",
|
|
174
|
+
"r-efi",
|
|
175
|
+
"wasi",
|
|
176
|
+
]
|
|
177
|
+
|
|
178
|
+
[[package]]
|
|
179
|
+
name = "graph-base"
|
|
180
|
+
version = "0.1.13"
|
|
181
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
182
|
+
checksum = "985b3629de3172005640f8f4ba46b738c605682db2776ecf4dd73a42ce55325f"
|
|
183
|
+
dependencies = [
|
|
184
|
+
"lazy_static",
|
|
185
|
+
"rand",
|
|
186
|
+
"serde",
|
|
187
|
+
]
|
|
188
|
+
|
|
189
|
+
[[package]]
|
|
190
|
+
name = "graph-simulation"
|
|
191
|
+
version = "0.1.11"
|
|
192
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
193
|
+
checksum = "57eeb0875aa48f6b04a5fd26a65e74fa0d92dbeca6f6eea09836dd977f718fa1"
|
|
194
|
+
dependencies = [
|
|
195
|
+
"bincode",
|
|
196
|
+
"env_logger",
|
|
197
|
+
"fxhash",
|
|
198
|
+
"graph-base",
|
|
199
|
+
"itertools",
|
|
200
|
+
"lazy_static",
|
|
201
|
+
"log",
|
|
202
|
+
"rand",
|
|
203
|
+
"rand_pcg",
|
|
204
|
+
"serde",
|
|
205
|
+
"serde_json",
|
|
206
|
+
]
|
|
207
|
+
|
|
208
|
+
[[package]]
|
|
209
|
+
name = "heck"
|
|
210
|
+
version = "0.5.0"
|
|
211
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
212
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
213
|
+
|
|
214
|
+
[[package]]
|
|
215
|
+
name = "indoc"
|
|
216
|
+
version = "2.0.5"
|
|
217
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
218
|
+
checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
|
|
219
|
+
|
|
220
|
+
[[package]]
|
|
221
|
+
name = "is_terminal_polyfill"
|
|
222
|
+
version = "1.70.1"
|
|
223
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
224
|
+
checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
|
|
225
|
+
|
|
226
|
+
[[package]]
|
|
227
|
+
name = "itertools"
|
|
228
|
+
version = "0.14.0"
|
|
229
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
230
|
+
checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285"
|
|
231
|
+
dependencies = [
|
|
232
|
+
"either",
|
|
233
|
+
]
|
|
234
|
+
|
|
235
|
+
[[package]]
|
|
236
|
+
name = "itoa"
|
|
237
|
+
version = "1.0.15"
|
|
238
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
239
|
+
checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
|
|
240
|
+
|
|
241
|
+
[[package]]
|
|
242
|
+
name = "jiff"
|
|
243
|
+
version = "0.2.14"
|
|
244
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
245
|
+
checksum = "a194df1107f33c79f4f93d02c80798520551949d59dfad22b6157048a88cca93"
|
|
246
|
+
dependencies = [
|
|
247
|
+
"jiff-static",
|
|
248
|
+
"log",
|
|
249
|
+
"portable-atomic",
|
|
250
|
+
"portable-atomic-util",
|
|
251
|
+
"serde",
|
|
252
|
+
]
|
|
253
|
+
|
|
254
|
+
[[package]]
|
|
255
|
+
name = "jiff-static"
|
|
256
|
+
version = "0.2.14"
|
|
257
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
258
|
+
checksum = "6c6e1db7ed32c6c71b759497fae34bf7933636f75a251b9e736555da426f6442"
|
|
259
|
+
dependencies = [
|
|
260
|
+
"proc-macro2",
|
|
261
|
+
"quote",
|
|
262
|
+
"syn",
|
|
263
|
+
]
|
|
264
|
+
|
|
265
|
+
[[package]]
|
|
266
|
+
name = "lazy_static"
|
|
267
|
+
version = "1.5.0"
|
|
268
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
269
|
+
checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
|
|
270
|
+
|
|
271
|
+
[[package]]
|
|
272
|
+
name = "libc"
|
|
273
|
+
version = "0.2.169"
|
|
274
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
275
|
+
checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"
|
|
276
|
+
|
|
277
|
+
[[package]]
|
|
278
|
+
name = "log"
|
|
279
|
+
version = "0.4.27"
|
|
280
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
281
|
+
checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
|
|
282
|
+
|
|
283
|
+
[[package]]
|
|
284
|
+
name = "memchr"
|
|
285
|
+
version = "2.7.4"
|
|
286
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
287
|
+
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
|
|
288
|
+
|
|
289
|
+
[[package]]
|
|
290
|
+
name = "memoffset"
|
|
291
|
+
version = "0.9.1"
|
|
292
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
293
|
+
checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
|
|
294
|
+
dependencies = [
|
|
295
|
+
"autocfg",
|
|
296
|
+
]
|
|
297
|
+
|
|
298
|
+
[[package]]
|
|
299
|
+
name = "once_cell"
|
|
300
|
+
version = "1.20.2"
|
|
301
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
302
|
+
checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
|
|
303
|
+
|
|
304
|
+
[[package]]
|
|
305
|
+
name = "once_cell_polyfill"
|
|
306
|
+
version = "1.70.1"
|
|
307
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
308
|
+
checksum = "a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad"
|
|
309
|
+
|
|
310
|
+
[[package]]
|
|
311
|
+
name = "portable-atomic"
|
|
312
|
+
version = "1.11.0"
|
|
313
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
314
|
+
checksum = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e"
|
|
315
|
+
|
|
316
|
+
[[package]]
|
|
317
|
+
name = "portable-atomic-util"
|
|
318
|
+
version = "0.2.4"
|
|
319
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
320
|
+
checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507"
|
|
321
|
+
dependencies = [
|
|
322
|
+
"portable-atomic",
|
|
323
|
+
]
|
|
324
|
+
|
|
325
|
+
[[package]]
|
|
326
|
+
name = "ppv-lite86"
|
|
327
|
+
version = "0.2.21"
|
|
328
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
329
|
+
checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
|
|
330
|
+
dependencies = [
|
|
331
|
+
"zerocopy",
|
|
332
|
+
]
|
|
333
|
+
|
|
334
|
+
[[package]]
|
|
335
|
+
name = "proc-macro2"
|
|
336
|
+
version = "1.0.95"
|
|
337
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
338
|
+
checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778"
|
|
339
|
+
dependencies = [
|
|
340
|
+
"unicode-ident",
|
|
341
|
+
]
|
|
342
|
+
|
|
343
|
+
[[package]]
|
|
344
|
+
name = "pyo3"
|
|
345
|
+
version = "0.23.5"
|
|
346
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
347
|
+
checksum = "7778bffd85cf38175ac1f545509665d0b9b92a198ca7941f131f85f7a4f9a872"
|
|
348
|
+
dependencies = [
|
|
349
|
+
"cfg-if",
|
|
350
|
+
"indoc",
|
|
351
|
+
"libc",
|
|
352
|
+
"memoffset",
|
|
353
|
+
"once_cell",
|
|
354
|
+
"portable-atomic",
|
|
355
|
+
"pyo3-build-config",
|
|
356
|
+
"pyo3-ffi",
|
|
357
|
+
"pyo3-macros",
|
|
358
|
+
"unindent",
|
|
359
|
+
]
|
|
360
|
+
|
|
361
|
+
[[package]]
|
|
362
|
+
name = "pyo3-build-config"
|
|
363
|
+
version = "0.23.5"
|
|
364
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
365
|
+
checksum = "94f6cbe86ef3bf18998d9df6e0f3fc1050a8c5efa409bf712e661a4366e010fb"
|
|
366
|
+
dependencies = [
|
|
367
|
+
"once_cell",
|
|
368
|
+
"target-lexicon",
|
|
369
|
+
]
|
|
370
|
+
|
|
371
|
+
[[package]]
|
|
372
|
+
name = "pyo3-ffi"
|
|
373
|
+
version = "0.23.5"
|
|
374
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
375
|
+
checksum = "e9f1b4c431c0bb1c8fb0a338709859eed0d030ff6daa34368d3b152a63dfdd8d"
|
|
376
|
+
dependencies = [
|
|
377
|
+
"libc",
|
|
378
|
+
"pyo3-build-config",
|
|
379
|
+
]
|
|
380
|
+
|
|
381
|
+
[[package]]
|
|
382
|
+
name = "pyo3-macros"
|
|
383
|
+
version = "0.23.5"
|
|
384
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
385
|
+
checksum = "fbc2201328f63c4710f68abdf653c89d8dbc2858b88c5d88b0ff38a75288a9da"
|
|
386
|
+
dependencies = [
|
|
387
|
+
"proc-macro2",
|
|
388
|
+
"pyo3-macros-backend",
|
|
389
|
+
"quote",
|
|
390
|
+
"syn",
|
|
391
|
+
]
|
|
392
|
+
|
|
393
|
+
[[package]]
|
|
394
|
+
name = "pyo3-macros-backend"
|
|
395
|
+
version = "0.23.5"
|
|
396
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
397
|
+
checksum = "fca6726ad0f3da9c9de093d6f116a93c1a38e417ed73bf138472cf4064f72028"
|
|
398
|
+
dependencies = [
|
|
399
|
+
"heck",
|
|
400
|
+
"proc-macro2",
|
|
401
|
+
"pyo3-build-config",
|
|
402
|
+
"quote",
|
|
403
|
+
"syn",
|
|
404
|
+
]
|
|
405
|
+
|
|
406
|
+
[[package]]
|
|
407
|
+
name = "quote"
|
|
408
|
+
version = "1.0.38"
|
|
409
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
410
|
+
checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc"
|
|
411
|
+
dependencies = [
|
|
412
|
+
"proc-macro2",
|
|
413
|
+
]
|
|
414
|
+
|
|
415
|
+
[[package]]
|
|
416
|
+
name = "r-efi"
|
|
417
|
+
version = "5.2.0"
|
|
418
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
419
|
+
checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5"
|
|
420
|
+
|
|
421
|
+
[[package]]
|
|
422
|
+
name = "rand"
|
|
423
|
+
version = "0.9.1"
|
|
424
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
425
|
+
checksum = "9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97"
|
|
426
|
+
dependencies = [
|
|
427
|
+
"rand_chacha",
|
|
428
|
+
"rand_core",
|
|
429
|
+
]
|
|
430
|
+
|
|
431
|
+
[[package]]
|
|
432
|
+
name = "rand_chacha"
|
|
433
|
+
version = "0.9.0"
|
|
434
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
435
|
+
checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
|
|
436
|
+
dependencies = [
|
|
437
|
+
"ppv-lite86",
|
|
438
|
+
"rand_core",
|
|
439
|
+
]
|
|
440
|
+
|
|
441
|
+
[[package]]
|
|
442
|
+
name = "rand_core"
|
|
443
|
+
version = "0.9.3"
|
|
444
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
445
|
+
checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38"
|
|
446
|
+
dependencies = [
|
|
447
|
+
"getrandom",
|
|
448
|
+
]
|
|
449
|
+
|
|
450
|
+
[[package]]
|
|
451
|
+
name = "rand_pcg"
|
|
452
|
+
version = "0.9.0"
|
|
453
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
454
|
+
checksum = "b48ac3f7ffaab7fac4d2376632268aa5f89abdb55f7ebf8f4d11fffccb2320f7"
|
|
455
|
+
dependencies = [
|
|
456
|
+
"rand_core",
|
|
457
|
+
]
|
|
458
|
+
|
|
459
|
+
[[package]]
|
|
460
|
+
name = "rayon"
|
|
461
|
+
version = "1.10.0"
|
|
462
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
463
|
+
checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa"
|
|
464
|
+
dependencies = [
|
|
465
|
+
"either",
|
|
466
|
+
"rayon-core",
|
|
467
|
+
]
|
|
468
|
+
|
|
469
|
+
[[package]]
|
|
470
|
+
name = "rayon-core"
|
|
471
|
+
version = "1.12.1"
|
|
472
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
473
|
+
checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2"
|
|
474
|
+
dependencies = [
|
|
475
|
+
"crossbeam-deque",
|
|
476
|
+
"crossbeam-utils",
|
|
477
|
+
]
|
|
478
|
+
|
|
479
|
+
[[package]]
|
|
480
|
+
name = "regex"
|
|
481
|
+
version = "1.11.1"
|
|
482
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
483
|
+
checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
|
|
484
|
+
dependencies = [
|
|
485
|
+
"aho-corasick",
|
|
486
|
+
"memchr",
|
|
487
|
+
"regex-automata",
|
|
488
|
+
"regex-syntax",
|
|
489
|
+
]
|
|
490
|
+
|
|
491
|
+
[[package]]
|
|
492
|
+
name = "regex-automata"
|
|
493
|
+
version = "0.4.9"
|
|
494
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
495
|
+
checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
|
|
496
|
+
dependencies = [
|
|
497
|
+
"aho-corasick",
|
|
498
|
+
"memchr",
|
|
499
|
+
"regex-syntax",
|
|
500
|
+
]
|
|
501
|
+
|
|
502
|
+
[[package]]
|
|
503
|
+
name = "regex-syntax"
|
|
504
|
+
version = "0.8.5"
|
|
505
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
506
|
+
checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
|
|
507
|
+
|
|
508
|
+
[[package]]
|
|
509
|
+
name = "ryu"
|
|
510
|
+
version = "1.0.20"
|
|
511
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
512
|
+
checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
|
|
513
|
+
|
|
514
|
+
[[package]]
|
|
515
|
+
name = "serde"
|
|
516
|
+
version = "1.0.219"
|
|
517
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
518
|
+
checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6"
|
|
519
|
+
dependencies = [
|
|
520
|
+
"serde_derive",
|
|
521
|
+
]
|
|
522
|
+
|
|
523
|
+
[[package]]
|
|
524
|
+
name = "serde_derive"
|
|
525
|
+
version = "1.0.219"
|
|
526
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
527
|
+
checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
|
|
528
|
+
dependencies = [
|
|
529
|
+
"proc-macro2",
|
|
530
|
+
"quote",
|
|
531
|
+
"syn",
|
|
532
|
+
]
|
|
533
|
+
|
|
534
|
+
[[package]]
|
|
535
|
+
name = "serde_json"
|
|
536
|
+
version = "1.0.140"
|
|
537
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
538
|
+
checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373"
|
|
539
|
+
dependencies = [
|
|
540
|
+
"itoa",
|
|
541
|
+
"memchr",
|
|
542
|
+
"ryu",
|
|
543
|
+
"serde",
|
|
544
|
+
]
|
|
545
|
+
|
|
546
|
+
[[package]]
|
|
547
|
+
name = "simulation"
|
|
548
|
+
version = "0.1.0"
|
|
549
|
+
dependencies = [
|
|
550
|
+
"graph-base",
|
|
551
|
+
"graph-simulation",
|
|
552
|
+
"pyo3",
|
|
553
|
+
"rayon",
|
|
554
|
+
]
|
|
555
|
+
|
|
556
|
+
[[package]]
|
|
557
|
+
name = "syn"
|
|
558
|
+
version = "2.0.98"
|
|
559
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
560
|
+
checksum = "36147f1a48ae0ec2b5b3bc5b537d267457555a10dc06f3dbc8cb11ba3006d3b1"
|
|
561
|
+
dependencies = [
|
|
562
|
+
"proc-macro2",
|
|
563
|
+
"quote",
|
|
564
|
+
"unicode-ident",
|
|
565
|
+
]
|
|
566
|
+
|
|
567
|
+
[[package]]
|
|
568
|
+
name = "target-lexicon"
|
|
569
|
+
version = "0.12.16"
|
|
570
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
571
|
+
checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
|
|
572
|
+
|
|
573
|
+
[[package]]
|
|
574
|
+
name = "unicode-ident"
|
|
575
|
+
version = "1.0.14"
|
|
576
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
577
|
+
checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83"
|
|
578
|
+
|
|
579
|
+
[[package]]
|
|
580
|
+
name = "unindent"
|
|
581
|
+
version = "0.2.3"
|
|
582
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
583
|
+
checksum = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"
|
|
584
|
+
|
|
585
|
+
[[package]]
|
|
586
|
+
name = "utf8parse"
|
|
587
|
+
version = "0.2.2"
|
|
588
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
589
|
+
checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
|
|
590
|
+
|
|
591
|
+
[[package]]
|
|
592
|
+
name = "wasi"
|
|
593
|
+
version = "0.14.2+wasi-0.2.4"
|
|
594
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
595
|
+
checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3"
|
|
596
|
+
dependencies = [
|
|
597
|
+
"wit-bindgen-rt",
|
|
598
|
+
]
|
|
599
|
+
|
|
600
|
+
[[package]]
|
|
601
|
+
name = "windows-sys"
|
|
602
|
+
version = "0.59.0"
|
|
603
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
604
|
+
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
|
|
605
|
+
dependencies = [
|
|
606
|
+
"windows-targets",
|
|
607
|
+
]
|
|
608
|
+
|
|
609
|
+
[[package]]
|
|
610
|
+
name = "windows-targets"
|
|
611
|
+
version = "0.52.6"
|
|
612
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
613
|
+
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
|
|
614
|
+
dependencies = [
|
|
615
|
+
"windows_aarch64_gnullvm",
|
|
616
|
+
"windows_aarch64_msvc",
|
|
617
|
+
"windows_i686_gnu",
|
|
618
|
+
"windows_i686_gnullvm",
|
|
619
|
+
"windows_i686_msvc",
|
|
620
|
+
"windows_x86_64_gnu",
|
|
621
|
+
"windows_x86_64_gnullvm",
|
|
622
|
+
"windows_x86_64_msvc",
|
|
623
|
+
]
|
|
624
|
+
|
|
625
|
+
[[package]]
|
|
626
|
+
name = "windows_aarch64_gnullvm"
|
|
627
|
+
version = "0.52.6"
|
|
628
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
629
|
+
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
|
|
630
|
+
|
|
631
|
+
[[package]]
|
|
632
|
+
name = "windows_aarch64_msvc"
|
|
633
|
+
version = "0.52.6"
|
|
634
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
635
|
+
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
|
|
636
|
+
|
|
637
|
+
[[package]]
|
|
638
|
+
name = "windows_i686_gnu"
|
|
639
|
+
version = "0.52.6"
|
|
640
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
641
|
+
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
|
|
642
|
+
|
|
643
|
+
[[package]]
|
|
644
|
+
name = "windows_i686_gnullvm"
|
|
645
|
+
version = "0.52.6"
|
|
646
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
647
|
+
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
|
|
648
|
+
|
|
649
|
+
[[package]]
|
|
650
|
+
name = "windows_i686_msvc"
|
|
651
|
+
version = "0.52.6"
|
|
652
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
653
|
+
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
|
|
654
|
+
|
|
655
|
+
[[package]]
|
|
656
|
+
name = "windows_x86_64_gnu"
|
|
657
|
+
version = "0.52.6"
|
|
658
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
659
|
+
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
|
|
660
|
+
|
|
661
|
+
[[package]]
|
|
662
|
+
name = "windows_x86_64_gnullvm"
|
|
663
|
+
version = "0.52.6"
|
|
664
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
665
|
+
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
|
|
666
|
+
|
|
667
|
+
[[package]]
|
|
668
|
+
name = "windows_x86_64_msvc"
|
|
669
|
+
version = "0.52.6"
|
|
670
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
671
|
+
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
|
672
|
+
|
|
673
|
+
[[package]]
|
|
674
|
+
name = "wit-bindgen-rt"
|
|
675
|
+
version = "0.39.0"
|
|
676
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
677
|
+
checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1"
|
|
678
|
+
dependencies = [
|
|
679
|
+
"bitflags",
|
|
680
|
+
]
|
|
681
|
+
|
|
682
|
+
[[package]]
|
|
683
|
+
name = "zerocopy"
|
|
684
|
+
version = "0.8.25"
|
|
685
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
686
|
+
checksum = "a1702d9583232ddb9174e01bb7c15a2ab8fb1bc6f227aa1233858c351a3ba0cb"
|
|
687
|
+
dependencies = [
|
|
688
|
+
"zerocopy-derive",
|
|
689
|
+
]
|
|
690
|
+
|
|
691
|
+
[[package]]
|
|
692
|
+
name = "zerocopy-derive"
|
|
693
|
+
version = "0.8.25"
|
|
694
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
695
|
+
checksum = "28a6e20d751156648aa063f3800b706ee209a32c0b4d9f24be3d980b01be55ef"
|
|
696
|
+
dependencies = [
|
|
697
|
+
"proc-macro2",
|
|
698
|
+
"quote",
|
|
699
|
+
"syn",
|
|
700
|
+
]
|
|
@@ -14,8 +14,8 @@ crate-type = ["cdylib"]
|
|
|
14
14
|
|
|
15
15
|
[dependencies]
|
|
16
16
|
pyo3 = { version = "0.23", features = ["extension-module"] }
|
|
17
|
-
graph-simulation = "0.1.
|
|
18
|
-
graph-base = "0.1.
|
|
17
|
+
graph-simulation = "0.1.11"
|
|
18
|
+
graph-base = "0.1.13"
|
|
19
19
|
rayon = "1.10.0"
|
|
20
20
|
# [tool.maturin]
|
|
21
21
|
# include-pyi = true # 自动打包生成的 .pyi 文件
|