netrun-sim 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.
- netrun_sim-0.1.0/Cargo.lock +612 -0
- netrun_sim-0.1.0/Cargo.toml +8 -0
- netrun_sim-0.1.0/PKG-INFO +7 -0
- netrun_sim-0.1.0/core/Cargo.toml +14 -0
- netrun_sim-0.1.0/core/examples/diamond_flow.rs +238 -0
- netrun_sim-0.1.0/core/examples/linear_flow.rs +193 -0
- netrun_sim-0.1.0/core/src/_utils.rs +5 -0
- netrun_sim-0.1.0/core/src/graph.rs +912 -0
- netrun_sim-0.1.0/core/src/lib.rs +6 -0
- netrun_sim-0.1.0/core/src/net.rs +1612 -0
- netrun_sim-0.1.0/core/src/test_fixtures.rs +257 -0
- netrun_sim-0.1.0/core/tests/common/mod.rs +195 -0
- netrun_sim-0.1.0/core/tests/graph_api.rs +366 -0
- netrun_sim-0.1.0/core/tests/net_api.rs +485 -0
- netrun_sim-0.1.0/core/tests/workflow.rs +382 -0
- netrun_sim-0.1.0/pyproject.toml +29 -0
- netrun_sim-0.1.0/python/.envrc +2 -0
- netrun_sim-0.1.0/python/CHANGELOG.md +6 -0
- netrun_sim-0.1.0/python/Cargo.toml +15 -0
- netrun_sim-0.1.0/python/README.md +173 -0
- netrun_sim-0.1.0/python/examples/diamond_flow.ipynb +601 -0
- netrun_sim-0.1.0/python/examples/diamond_flow.py +222 -0
- netrun_sim-0.1.0/python/examples/graph_serialization.ipynb +542 -0
- netrun_sim-0.1.0/python/examples/linear_flow.ipynb +597 -0
- netrun_sim-0.1.0/python/examples/linear_flow.py +164 -0
- netrun_sim-0.1.0/python/netrun_sim/__init__.py +51 -0
- netrun_sim-0.1.0/python/netrun_sim/__init__.pyi +486 -0
- netrun_sim-0.1.0/python/netrun_sim/py.typed +0 -0
- netrun_sim-0.1.0/python/publish_new_version.sh +50 -0
- netrun_sim-0.1.0/python/python/netrun_sim/__init__.py +51 -0
- netrun_sim-0.1.0/python/python/netrun_sim/__init__.pyi +486 -0
- netrun_sim-0.1.0/python/python/netrun_sim/py.typed +0 -0
- netrun_sim-0.1.0/python/src/errors.rs +156 -0
- netrun_sim-0.1.0/python/src/graph.rs +777 -0
- netrun_sim-0.1.0/python/src/lib.rs +20 -0
- netrun_sim-0.1.0/python/src/net.rs +818 -0
- netrun_sim-0.1.0/python/uv.lock +3933 -0
|
@@ -0,0 +1,612 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "autocfg"
|
|
7
|
+
version = "1.5.0"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
|
|
10
|
+
|
|
11
|
+
[[package]]
|
|
12
|
+
name = "bitflags"
|
|
13
|
+
version = "2.10.0"
|
|
14
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
15
|
+
checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3"
|
|
16
|
+
|
|
17
|
+
[[package]]
|
|
18
|
+
name = "bumpalo"
|
|
19
|
+
version = "3.19.1"
|
|
20
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
21
|
+
checksum = "5dd9dc738b7a8311c7ade152424974d8115f2cdad61e8dab8dac9f2362298510"
|
|
22
|
+
|
|
23
|
+
[[package]]
|
|
24
|
+
name = "cfg-if"
|
|
25
|
+
version = "1.0.4"
|
|
26
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
27
|
+
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
|
28
|
+
|
|
29
|
+
[[package]]
|
|
30
|
+
name = "const_fn"
|
|
31
|
+
version = "0.4.11"
|
|
32
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
33
|
+
checksum = "2f8a2ca5ac02d09563609681103aada9e1777d54fc57a5acd7a41404f9c93b6e"
|
|
34
|
+
|
|
35
|
+
[[package]]
|
|
36
|
+
name = "equivalent"
|
|
37
|
+
version = "1.0.2"
|
|
38
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
39
|
+
checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
|
|
40
|
+
|
|
41
|
+
[[package]]
|
|
42
|
+
name = "errno"
|
|
43
|
+
version = "0.3.14"
|
|
44
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
45
|
+
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
|
|
46
|
+
dependencies = [
|
|
47
|
+
"libc",
|
|
48
|
+
"windows-sys 0.61.2",
|
|
49
|
+
]
|
|
50
|
+
|
|
51
|
+
[[package]]
|
|
52
|
+
name = "getrandom"
|
|
53
|
+
version = "0.2.16"
|
|
54
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
55
|
+
checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592"
|
|
56
|
+
dependencies = [
|
|
57
|
+
"cfg-if",
|
|
58
|
+
"libc",
|
|
59
|
+
"wasi",
|
|
60
|
+
]
|
|
61
|
+
|
|
62
|
+
[[package]]
|
|
63
|
+
name = "hashbrown"
|
|
64
|
+
version = "0.16.1"
|
|
65
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
66
|
+
checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"
|
|
67
|
+
|
|
68
|
+
[[package]]
|
|
69
|
+
name = "heck"
|
|
70
|
+
version = "0.5.0"
|
|
71
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
72
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
73
|
+
|
|
74
|
+
[[package]]
|
|
75
|
+
name = "indexmap"
|
|
76
|
+
version = "2.12.1"
|
|
77
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
78
|
+
checksum = "0ad4bb2b565bca0645f4d68c5c9af97fba094e9791da685bf83cb5f3ce74acf2"
|
|
79
|
+
dependencies = [
|
|
80
|
+
"equivalent",
|
|
81
|
+
"hashbrown",
|
|
82
|
+
]
|
|
83
|
+
|
|
84
|
+
[[package]]
|
|
85
|
+
name = "indoc"
|
|
86
|
+
version = "2.0.7"
|
|
87
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
88
|
+
checksum = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706"
|
|
89
|
+
dependencies = [
|
|
90
|
+
"rustversion",
|
|
91
|
+
]
|
|
92
|
+
|
|
93
|
+
[[package]]
|
|
94
|
+
name = "itoa"
|
|
95
|
+
version = "1.0.16"
|
|
96
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
97
|
+
checksum = "7ee5b5339afb4c41626dde77b7a611bd4f2c202b897852b4bcf5d03eddc61010"
|
|
98
|
+
|
|
99
|
+
[[package]]
|
|
100
|
+
name = "js-sys"
|
|
101
|
+
version = "0.3.83"
|
|
102
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
103
|
+
checksum = "464a3709c7f55f1f721e5389aa6ea4e3bc6aba669353300af094b29ffbdde1d8"
|
|
104
|
+
dependencies = [
|
|
105
|
+
"once_cell",
|
|
106
|
+
"wasm-bindgen",
|
|
107
|
+
]
|
|
108
|
+
|
|
109
|
+
[[package]]
|
|
110
|
+
name = "libc"
|
|
111
|
+
version = "0.2.178"
|
|
112
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
113
|
+
checksum = "37c93d8daa9d8a012fd8ab92f088405fb202ea0b6ab73ee2482ae66af4f42091"
|
|
114
|
+
|
|
115
|
+
[[package]]
|
|
116
|
+
name = "linux-raw-sys"
|
|
117
|
+
version = "0.4.15"
|
|
118
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
119
|
+
checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab"
|
|
120
|
+
|
|
121
|
+
[[package]]
|
|
122
|
+
name = "memchr"
|
|
123
|
+
version = "2.7.6"
|
|
124
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
125
|
+
checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
|
|
126
|
+
|
|
127
|
+
[[package]]
|
|
128
|
+
name = "memoffset"
|
|
129
|
+
version = "0.9.1"
|
|
130
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
131
|
+
checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
|
|
132
|
+
dependencies = [
|
|
133
|
+
"autocfg",
|
|
134
|
+
]
|
|
135
|
+
|
|
136
|
+
[[package]]
|
|
137
|
+
name = "netrun-sim"
|
|
138
|
+
version = "0.1.0"
|
|
139
|
+
dependencies = [
|
|
140
|
+
"indexmap",
|
|
141
|
+
"serde",
|
|
142
|
+
"serde_json",
|
|
143
|
+
"thiserror",
|
|
144
|
+
"ulid",
|
|
145
|
+
"utcnow",
|
|
146
|
+
]
|
|
147
|
+
|
|
148
|
+
[[package]]
|
|
149
|
+
name = "netrun-sim-python"
|
|
150
|
+
version = "0.1.0"
|
|
151
|
+
dependencies = [
|
|
152
|
+
"netrun-sim",
|
|
153
|
+
"pyo3",
|
|
154
|
+
"serde_json",
|
|
155
|
+
"ulid",
|
|
156
|
+
]
|
|
157
|
+
|
|
158
|
+
[[package]]
|
|
159
|
+
name = "once_cell"
|
|
160
|
+
version = "1.21.3"
|
|
161
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
162
|
+
checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
|
|
163
|
+
|
|
164
|
+
[[package]]
|
|
165
|
+
name = "portable-atomic"
|
|
166
|
+
version = "1.12.0"
|
|
167
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
168
|
+
checksum = "f59e70c4aef1e55797c2e8fd94a4f2a973fc972cfde0e0b05f683667b0cd39dd"
|
|
169
|
+
|
|
170
|
+
[[package]]
|
|
171
|
+
name = "ppv-lite86"
|
|
172
|
+
version = "0.2.21"
|
|
173
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
174
|
+
checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
|
|
175
|
+
dependencies = [
|
|
176
|
+
"zerocopy",
|
|
177
|
+
]
|
|
178
|
+
|
|
179
|
+
[[package]]
|
|
180
|
+
name = "proc-macro2"
|
|
181
|
+
version = "1.0.103"
|
|
182
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
183
|
+
checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8"
|
|
184
|
+
dependencies = [
|
|
185
|
+
"unicode-ident",
|
|
186
|
+
]
|
|
187
|
+
|
|
188
|
+
[[package]]
|
|
189
|
+
name = "pyo3"
|
|
190
|
+
version = "0.23.5"
|
|
191
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
192
|
+
checksum = "7778bffd85cf38175ac1f545509665d0b9b92a198ca7941f131f85f7a4f9a872"
|
|
193
|
+
dependencies = [
|
|
194
|
+
"cfg-if",
|
|
195
|
+
"indoc",
|
|
196
|
+
"libc",
|
|
197
|
+
"memoffset",
|
|
198
|
+
"once_cell",
|
|
199
|
+
"portable-atomic",
|
|
200
|
+
"pyo3-build-config",
|
|
201
|
+
"pyo3-ffi",
|
|
202
|
+
"pyo3-macros",
|
|
203
|
+
"unindent",
|
|
204
|
+
]
|
|
205
|
+
|
|
206
|
+
[[package]]
|
|
207
|
+
name = "pyo3-build-config"
|
|
208
|
+
version = "0.23.5"
|
|
209
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
210
|
+
checksum = "94f6cbe86ef3bf18998d9df6e0f3fc1050a8c5efa409bf712e661a4366e010fb"
|
|
211
|
+
dependencies = [
|
|
212
|
+
"once_cell",
|
|
213
|
+
"target-lexicon",
|
|
214
|
+
]
|
|
215
|
+
|
|
216
|
+
[[package]]
|
|
217
|
+
name = "pyo3-ffi"
|
|
218
|
+
version = "0.23.5"
|
|
219
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
220
|
+
checksum = "e9f1b4c431c0bb1c8fb0a338709859eed0d030ff6daa34368d3b152a63dfdd8d"
|
|
221
|
+
dependencies = [
|
|
222
|
+
"libc",
|
|
223
|
+
"pyo3-build-config",
|
|
224
|
+
]
|
|
225
|
+
|
|
226
|
+
[[package]]
|
|
227
|
+
name = "pyo3-macros"
|
|
228
|
+
version = "0.23.5"
|
|
229
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
230
|
+
checksum = "fbc2201328f63c4710f68abdf653c89d8dbc2858b88c5d88b0ff38a75288a9da"
|
|
231
|
+
dependencies = [
|
|
232
|
+
"proc-macro2",
|
|
233
|
+
"pyo3-macros-backend",
|
|
234
|
+
"quote",
|
|
235
|
+
"syn",
|
|
236
|
+
]
|
|
237
|
+
|
|
238
|
+
[[package]]
|
|
239
|
+
name = "pyo3-macros-backend"
|
|
240
|
+
version = "0.23.5"
|
|
241
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
242
|
+
checksum = "fca6726ad0f3da9c9de093d6f116a93c1a38e417ed73bf138472cf4064f72028"
|
|
243
|
+
dependencies = [
|
|
244
|
+
"heck",
|
|
245
|
+
"proc-macro2",
|
|
246
|
+
"pyo3-build-config",
|
|
247
|
+
"quote",
|
|
248
|
+
"syn",
|
|
249
|
+
]
|
|
250
|
+
|
|
251
|
+
[[package]]
|
|
252
|
+
name = "quote"
|
|
253
|
+
version = "1.0.42"
|
|
254
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
255
|
+
checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f"
|
|
256
|
+
dependencies = [
|
|
257
|
+
"proc-macro2",
|
|
258
|
+
]
|
|
259
|
+
|
|
260
|
+
[[package]]
|
|
261
|
+
name = "rand"
|
|
262
|
+
version = "0.8.5"
|
|
263
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
264
|
+
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
|
|
265
|
+
dependencies = [
|
|
266
|
+
"libc",
|
|
267
|
+
"rand_chacha",
|
|
268
|
+
"rand_core",
|
|
269
|
+
]
|
|
270
|
+
|
|
271
|
+
[[package]]
|
|
272
|
+
name = "rand_chacha"
|
|
273
|
+
version = "0.3.1"
|
|
274
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
275
|
+
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
|
|
276
|
+
dependencies = [
|
|
277
|
+
"ppv-lite86",
|
|
278
|
+
"rand_core",
|
|
279
|
+
]
|
|
280
|
+
|
|
281
|
+
[[package]]
|
|
282
|
+
name = "rand_core"
|
|
283
|
+
version = "0.6.4"
|
|
284
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
285
|
+
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
|
|
286
|
+
dependencies = [
|
|
287
|
+
"getrandom",
|
|
288
|
+
]
|
|
289
|
+
|
|
290
|
+
[[package]]
|
|
291
|
+
name = "rustix"
|
|
292
|
+
version = "0.38.44"
|
|
293
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
294
|
+
checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154"
|
|
295
|
+
dependencies = [
|
|
296
|
+
"bitflags",
|
|
297
|
+
"errno",
|
|
298
|
+
"libc",
|
|
299
|
+
"linux-raw-sys",
|
|
300
|
+
"windows-sys 0.59.0",
|
|
301
|
+
]
|
|
302
|
+
|
|
303
|
+
[[package]]
|
|
304
|
+
name = "rustversion"
|
|
305
|
+
version = "1.0.22"
|
|
306
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
307
|
+
checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
|
|
308
|
+
|
|
309
|
+
[[package]]
|
|
310
|
+
name = "serde"
|
|
311
|
+
version = "1.0.228"
|
|
312
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
313
|
+
checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
|
|
314
|
+
dependencies = [
|
|
315
|
+
"serde_core",
|
|
316
|
+
"serde_derive",
|
|
317
|
+
]
|
|
318
|
+
|
|
319
|
+
[[package]]
|
|
320
|
+
name = "serde_core"
|
|
321
|
+
version = "1.0.228"
|
|
322
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
323
|
+
checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
|
|
324
|
+
dependencies = [
|
|
325
|
+
"serde_derive",
|
|
326
|
+
]
|
|
327
|
+
|
|
328
|
+
[[package]]
|
|
329
|
+
name = "serde_derive"
|
|
330
|
+
version = "1.0.228"
|
|
331
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
332
|
+
checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
|
|
333
|
+
dependencies = [
|
|
334
|
+
"proc-macro2",
|
|
335
|
+
"quote",
|
|
336
|
+
"syn",
|
|
337
|
+
]
|
|
338
|
+
|
|
339
|
+
[[package]]
|
|
340
|
+
name = "serde_json"
|
|
341
|
+
version = "1.0.147"
|
|
342
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
343
|
+
checksum = "6af14725505314343e673e9ecb7cd7e8a36aa9791eb936235a3567cc31447ae4"
|
|
344
|
+
dependencies = [
|
|
345
|
+
"itoa",
|
|
346
|
+
"memchr",
|
|
347
|
+
"serde",
|
|
348
|
+
"serde_core",
|
|
349
|
+
"zmij",
|
|
350
|
+
]
|
|
351
|
+
|
|
352
|
+
[[package]]
|
|
353
|
+
name = "syn"
|
|
354
|
+
version = "2.0.111"
|
|
355
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
356
|
+
checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87"
|
|
357
|
+
dependencies = [
|
|
358
|
+
"proc-macro2",
|
|
359
|
+
"quote",
|
|
360
|
+
"unicode-ident",
|
|
361
|
+
]
|
|
362
|
+
|
|
363
|
+
[[package]]
|
|
364
|
+
name = "target-lexicon"
|
|
365
|
+
version = "0.12.16"
|
|
366
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
367
|
+
checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
|
|
368
|
+
|
|
369
|
+
[[package]]
|
|
370
|
+
name = "thiserror"
|
|
371
|
+
version = "2.0.17"
|
|
372
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
373
|
+
checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8"
|
|
374
|
+
dependencies = [
|
|
375
|
+
"thiserror-impl",
|
|
376
|
+
]
|
|
377
|
+
|
|
378
|
+
[[package]]
|
|
379
|
+
name = "thiserror-impl"
|
|
380
|
+
version = "2.0.17"
|
|
381
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
382
|
+
checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913"
|
|
383
|
+
dependencies = [
|
|
384
|
+
"proc-macro2",
|
|
385
|
+
"quote",
|
|
386
|
+
"syn",
|
|
387
|
+
]
|
|
388
|
+
|
|
389
|
+
[[package]]
|
|
390
|
+
name = "ulid"
|
|
391
|
+
version = "1.1.0"
|
|
392
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
393
|
+
checksum = "7e37c4b6cbcc59a8dcd09a6429fbc7890286bcbb79215cea7b38a3c4c0921d93"
|
|
394
|
+
dependencies = [
|
|
395
|
+
"rand",
|
|
396
|
+
]
|
|
397
|
+
|
|
398
|
+
[[package]]
|
|
399
|
+
name = "unicode-ident"
|
|
400
|
+
version = "1.0.22"
|
|
401
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
402
|
+
checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5"
|
|
403
|
+
|
|
404
|
+
[[package]]
|
|
405
|
+
name = "unindent"
|
|
406
|
+
version = "0.2.4"
|
|
407
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
408
|
+
checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
|
|
409
|
+
|
|
410
|
+
[[package]]
|
|
411
|
+
name = "utcnow"
|
|
412
|
+
version = "0.2.7"
|
|
413
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
414
|
+
checksum = "c3d1b903f7711bad0f9c1716c1497bf3db4289c53a2985ba42ac2f2e04047bd9"
|
|
415
|
+
dependencies = [
|
|
416
|
+
"const_fn",
|
|
417
|
+
"errno",
|
|
418
|
+
"js-sys",
|
|
419
|
+
"libc",
|
|
420
|
+
"rustix",
|
|
421
|
+
"rustversion",
|
|
422
|
+
"wasi",
|
|
423
|
+
"wasm-bindgen",
|
|
424
|
+
"winapi",
|
|
425
|
+
]
|
|
426
|
+
|
|
427
|
+
[[package]]
|
|
428
|
+
name = "wasi"
|
|
429
|
+
version = "0.11.1+wasi-snapshot-preview1"
|
|
430
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
431
|
+
checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
|
|
432
|
+
|
|
433
|
+
[[package]]
|
|
434
|
+
name = "wasm-bindgen"
|
|
435
|
+
version = "0.2.106"
|
|
436
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
437
|
+
checksum = "0d759f433fa64a2d763d1340820e46e111a7a5ab75f993d1852d70b03dbb80fd"
|
|
438
|
+
dependencies = [
|
|
439
|
+
"cfg-if",
|
|
440
|
+
"once_cell",
|
|
441
|
+
"rustversion",
|
|
442
|
+
"wasm-bindgen-macro",
|
|
443
|
+
"wasm-bindgen-shared",
|
|
444
|
+
]
|
|
445
|
+
|
|
446
|
+
[[package]]
|
|
447
|
+
name = "wasm-bindgen-macro"
|
|
448
|
+
version = "0.2.106"
|
|
449
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
450
|
+
checksum = "48cb0d2638f8baedbc542ed444afc0644a29166f1595371af4fecf8ce1e7eeb3"
|
|
451
|
+
dependencies = [
|
|
452
|
+
"quote",
|
|
453
|
+
"wasm-bindgen-macro-support",
|
|
454
|
+
]
|
|
455
|
+
|
|
456
|
+
[[package]]
|
|
457
|
+
name = "wasm-bindgen-macro-support"
|
|
458
|
+
version = "0.2.106"
|
|
459
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
460
|
+
checksum = "cefb59d5cd5f92d9dcf80e4683949f15ca4b511f4ac0a6e14d4e1ac60c6ecd40"
|
|
461
|
+
dependencies = [
|
|
462
|
+
"bumpalo",
|
|
463
|
+
"proc-macro2",
|
|
464
|
+
"quote",
|
|
465
|
+
"syn",
|
|
466
|
+
"wasm-bindgen-shared",
|
|
467
|
+
]
|
|
468
|
+
|
|
469
|
+
[[package]]
|
|
470
|
+
name = "wasm-bindgen-shared"
|
|
471
|
+
version = "0.2.106"
|
|
472
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
473
|
+
checksum = "cbc538057e648b67f72a982e708d485b2efa771e1ac05fec311f9f63e5800db4"
|
|
474
|
+
dependencies = [
|
|
475
|
+
"unicode-ident",
|
|
476
|
+
]
|
|
477
|
+
|
|
478
|
+
[[package]]
|
|
479
|
+
name = "winapi"
|
|
480
|
+
version = "0.3.9"
|
|
481
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
482
|
+
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
|
483
|
+
dependencies = [
|
|
484
|
+
"winapi-i686-pc-windows-gnu",
|
|
485
|
+
"winapi-x86_64-pc-windows-gnu",
|
|
486
|
+
]
|
|
487
|
+
|
|
488
|
+
[[package]]
|
|
489
|
+
name = "winapi-i686-pc-windows-gnu"
|
|
490
|
+
version = "0.4.0"
|
|
491
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
492
|
+
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
|
493
|
+
|
|
494
|
+
[[package]]
|
|
495
|
+
name = "winapi-x86_64-pc-windows-gnu"
|
|
496
|
+
version = "0.4.0"
|
|
497
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
498
|
+
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
|
499
|
+
|
|
500
|
+
[[package]]
|
|
501
|
+
name = "windows-link"
|
|
502
|
+
version = "0.2.1"
|
|
503
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
504
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
505
|
+
|
|
506
|
+
[[package]]
|
|
507
|
+
name = "windows-sys"
|
|
508
|
+
version = "0.59.0"
|
|
509
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
510
|
+
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
|
|
511
|
+
dependencies = [
|
|
512
|
+
"windows-targets",
|
|
513
|
+
]
|
|
514
|
+
|
|
515
|
+
[[package]]
|
|
516
|
+
name = "windows-sys"
|
|
517
|
+
version = "0.61.2"
|
|
518
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
519
|
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
|
520
|
+
dependencies = [
|
|
521
|
+
"windows-link",
|
|
522
|
+
]
|
|
523
|
+
|
|
524
|
+
[[package]]
|
|
525
|
+
name = "windows-targets"
|
|
526
|
+
version = "0.52.6"
|
|
527
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
528
|
+
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
|
|
529
|
+
dependencies = [
|
|
530
|
+
"windows_aarch64_gnullvm",
|
|
531
|
+
"windows_aarch64_msvc",
|
|
532
|
+
"windows_i686_gnu",
|
|
533
|
+
"windows_i686_gnullvm",
|
|
534
|
+
"windows_i686_msvc",
|
|
535
|
+
"windows_x86_64_gnu",
|
|
536
|
+
"windows_x86_64_gnullvm",
|
|
537
|
+
"windows_x86_64_msvc",
|
|
538
|
+
]
|
|
539
|
+
|
|
540
|
+
[[package]]
|
|
541
|
+
name = "windows_aarch64_gnullvm"
|
|
542
|
+
version = "0.52.6"
|
|
543
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
544
|
+
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
|
|
545
|
+
|
|
546
|
+
[[package]]
|
|
547
|
+
name = "windows_aarch64_msvc"
|
|
548
|
+
version = "0.52.6"
|
|
549
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
550
|
+
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
|
|
551
|
+
|
|
552
|
+
[[package]]
|
|
553
|
+
name = "windows_i686_gnu"
|
|
554
|
+
version = "0.52.6"
|
|
555
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
556
|
+
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
|
|
557
|
+
|
|
558
|
+
[[package]]
|
|
559
|
+
name = "windows_i686_gnullvm"
|
|
560
|
+
version = "0.52.6"
|
|
561
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
562
|
+
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
|
|
563
|
+
|
|
564
|
+
[[package]]
|
|
565
|
+
name = "windows_i686_msvc"
|
|
566
|
+
version = "0.52.6"
|
|
567
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
568
|
+
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
|
|
569
|
+
|
|
570
|
+
[[package]]
|
|
571
|
+
name = "windows_x86_64_gnu"
|
|
572
|
+
version = "0.52.6"
|
|
573
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
574
|
+
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
|
|
575
|
+
|
|
576
|
+
[[package]]
|
|
577
|
+
name = "windows_x86_64_gnullvm"
|
|
578
|
+
version = "0.52.6"
|
|
579
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
580
|
+
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
|
|
581
|
+
|
|
582
|
+
[[package]]
|
|
583
|
+
name = "windows_x86_64_msvc"
|
|
584
|
+
version = "0.52.6"
|
|
585
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
586
|
+
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
|
587
|
+
|
|
588
|
+
[[package]]
|
|
589
|
+
name = "zerocopy"
|
|
590
|
+
version = "0.8.31"
|
|
591
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
592
|
+
checksum = "fd74ec98b9250adb3ca554bdde269adf631549f51d8a8f8f0a10b50f1cb298c3"
|
|
593
|
+
dependencies = [
|
|
594
|
+
"zerocopy-derive",
|
|
595
|
+
]
|
|
596
|
+
|
|
597
|
+
[[package]]
|
|
598
|
+
name = "zerocopy-derive"
|
|
599
|
+
version = "0.8.31"
|
|
600
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
601
|
+
checksum = "d8a8d209fdf45cf5138cbb5a506f6b52522a25afccc534d1475dad8e31105c6a"
|
|
602
|
+
dependencies = [
|
|
603
|
+
"proc-macro2",
|
|
604
|
+
"quote",
|
|
605
|
+
"syn",
|
|
606
|
+
]
|
|
607
|
+
|
|
608
|
+
[[package]]
|
|
609
|
+
name = "zmij"
|
|
610
|
+
version = "0.1.8"
|
|
611
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
612
|
+
checksum = "f1dccf46b25b205e4bebe1d5258a991df1cc17801017a845cb5b3fe0269781aa"
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
[package]
|
|
2
|
+
name = "netrun-sim"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
edition = "2024"
|
|
5
|
+
|
|
6
|
+
[dependencies]
|
|
7
|
+
indexmap = "2.12.1"
|
|
8
|
+
serde = { version = "1.0", features = ["derive"] }
|
|
9
|
+
thiserror = "2.0"
|
|
10
|
+
ulid = "=1.1.0"
|
|
11
|
+
utcnow = "0.2.7"
|
|
12
|
+
|
|
13
|
+
[dev-dependencies]
|
|
14
|
+
serde_json = "1.0"
|