tinyray 0.0.1__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.
- tinyray-0.0.1/Cargo.lock +641 -0
- tinyray-0.0.1/Cargo.toml +37 -0
- tinyray-0.0.1/PKG-INFO +175 -0
- tinyray-0.0.1/README.md +138 -0
- tinyray-0.0.1/crates/tinyray-core/Cargo.toml +15 -0
- tinyray-0.0.1/crates/tinyray-core/src/error.rs +45 -0
- tinyray-0.0.1/crates/tinyray-core/src/framing.rs +647 -0
- tinyray-0.0.1/crates/tinyray-core/src/ids.rs +261 -0
- tinyray-0.0.1/crates/tinyray-core/src/lib.rs +16 -0
- tinyray-0.0.1/crates/tinyray-core/src/limits.rs +47 -0
- tinyray-0.0.1/crates/tinyray-core/src/proto.rs +270 -0
- tinyray-0.0.1/crates/tinyray-py/Cargo.toml +24 -0
- tinyray-0.0.1/crates/tinyray-py/src/bench.rs +59 -0
- tinyray-0.0.1/crates/tinyray-py/src/buffers.rs +188 -0
- tinyray-0.0.1/crates/tinyray-py/src/cluster.rs +396 -0
- tinyray-0.0.1/crates/tinyray-py/src/collective.rs +195 -0
- tinyray-0.0.1/crates/tinyray-py/src/driver.rs +257 -0
- tinyray-0.0.1/crates/tinyray-py/src/errors.rs +110 -0
- tinyray-0.0.1/crates/tinyray-py/src/framing.rs +204 -0
- tinyray-0.0.1/crates/tinyray-py/src/ids.rs +69 -0
- tinyray-0.0.1/crates/tinyray-py/src/lib.rs +80 -0
- tinyray-0.0.1/crates/tinyray-py/src/runtime.rs +32 -0
- tinyray-0.0.1/crates/tinyray-py/src/worker.rs +256 -0
- tinyray-0.0.1/crates/tinyray-runtime/Cargo.toml +25 -0
- tinyray-0.0.1/crates/tinyray-runtime/src/actor.rs +532 -0
- tinyray-0.0.1/crates/tinyray-runtime/src/client.rs +353 -0
- tinyray-0.0.1/crates/tinyray-runtime/src/cluster.rs +777 -0
- tinyray-0.0.1/crates/tinyray-runtime/src/collective.rs +566 -0
- tinyray-0.0.1/crates/tinyray-runtime/src/lib.rs +17 -0
- tinyray-0.0.1/crates/tinyray-runtime/src/queue.rs +342 -0
- tinyray-0.0.1/crates/tinyray-runtime/src/shm.rs +297 -0
- tinyray-0.0.1/crates/tinyray-runtime/src/store.rs +759 -0
- tinyray-0.0.1/crates/tinyray-runtime/src/transport/client.rs +316 -0
- tinyray-0.0.1/crates/tinyray-runtime/src/transport/mod.rs +33 -0
- tinyray-0.0.1/crates/tinyray-runtime/src/transport/server.rs +252 -0
- tinyray-0.0.1/crates/tinyray-runtime/tests/end_to_end.rs +587 -0
- tinyray-0.0.1/pyproject.toml +113 -0
- tinyray-0.0.1/python/tinyray/__init__.py +97 -0
- tinyray-0.0.1/python/tinyray/_tinyray.pyi +663 -0
- tinyray-0.0.1/python/tinyray/api.py +610 -0
- tinyray-0.0.1/python/tinyray/cli.py +163 -0
- tinyray-0.0.1/python/tinyray/collective.py +317 -0
- tinyray-0.0.1/python/tinyray/head.py +518 -0
- tinyray-0.0.1/python/tinyray/launcher.py +232 -0
- tinyray-0.0.1/python/tinyray/pool.py +89 -0
- tinyray-0.0.1/python/tinyray/prewarm.py +191 -0
- tinyray-0.0.1/python/tinyray/py.typed +0 -0
- tinyray-0.0.1/python/tinyray/serde.py +81 -0
- tinyray-0.0.1/python/tinyray/worker_main.py +222 -0
tinyray-0.0.1/Cargo.lock
ADDED
|
@@ -0,0 +1,641 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 3
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "atomic-waker"
|
|
7
|
+
version = "1.1.2"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
|
|
10
|
+
|
|
11
|
+
[[package]]
|
|
12
|
+
name = "autocfg"
|
|
13
|
+
version = "1.5.1"
|
|
14
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
15
|
+
checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
|
|
16
|
+
|
|
17
|
+
[[package]]
|
|
18
|
+
name = "bitflags"
|
|
19
|
+
version = "2.13.1"
|
|
20
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
21
|
+
checksum = "b588b76d00fde79687d7646a9b5bdf3cc0f655e0bbd080335a95d7e96f3587da"
|
|
22
|
+
|
|
23
|
+
[[package]]
|
|
24
|
+
name = "bytes"
|
|
25
|
+
version = "1.12.1"
|
|
26
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
27
|
+
checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04"
|
|
28
|
+
|
|
29
|
+
[[package]]
|
|
30
|
+
name = "cfg-if"
|
|
31
|
+
version = "1.0.4"
|
|
32
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
33
|
+
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
|
34
|
+
|
|
35
|
+
[[package]]
|
|
36
|
+
name = "errno"
|
|
37
|
+
version = "0.3.14"
|
|
38
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
39
|
+
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
|
|
40
|
+
dependencies = [
|
|
41
|
+
"libc",
|
|
42
|
+
"windows-sys",
|
|
43
|
+
]
|
|
44
|
+
|
|
45
|
+
[[package]]
|
|
46
|
+
name = "futures-channel"
|
|
47
|
+
version = "0.3.34"
|
|
48
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
49
|
+
checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4"
|
|
50
|
+
dependencies = [
|
|
51
|
+
"futures-core",
|
|
52
|
+
]
|
|
53
|
+
|
|
54
|
+
[[package]]
|
|
55
|
+
name = "futures-core"
|
|
56
|
+
version = "0.3.34"
|
|
57
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
58
|
+
checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e"
|
|
59
|
+
|
|
60
|
+
[[package]]
|
|
61
|
+
name = "futures-task"
|
|
62
|
+
version = "0.3.34"
|
|
63
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
64
|
+
checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd"
|
|
65
|
+
|
|
66
|
+
[[package]]
|
|
67
|
+
name = "futures-util"
|
|
68
|
+
version = "0.3.34"
|
|
69
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
70
|
+
checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc"
|
|
71
|
+
dependencies = [
|
|
72
|
+
"futures-core",
|
|
73
|
+
"futures-task",
|
|
74
|
+
"pin-project-lite",
|
|
75
|
+
]
|
|
76
|
+
|
|
77
|
+
[[package]]
|
|
78
|
+
name = "heck"
|
|
79
|
+
version = "0.5.0"
|
|
80
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
81
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
82
|
+
|
|
83
|
+
[[package]]
|
|
84
|
+
name = "http"
|
|
85
|
+
version = "1.5.0"
|
|
86
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
87
|
+
checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0"
|
|
88
|
+
dependencies = [
|
|
89
|
+
"bytes",
|
|
90
|
+
"itoa",
|
|
91
|
+
]
|
|
92
|
+
|
|
93
|
+
[[package]]
|
|
94
|
+
name = "http-body"
|
|
95
|
+
version = "1.1.0"
|
|
96
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
97
|
+
checksum = "ca2a8f2913ee65f60facd6a5905613afaa448497a0230cc41ce022d93290bc2c"
|
|
98
|
+
dependencies = [
|
|
99
|
+
"bytes",
|
|
100
|
+
"http",
|
|
101
|
+
]
|
|
102
|
+
|
|
103
|
+
[[package]]
|
|
104
|
+
name = "http-body-util"
|
|
105
|
+
version = "0.1.5"
|
|
106
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
107
|
+
checksum = "23169fe34a5fbcdd3f3862e78fb9b6fccd5f02a6dc6f732547005d45631ce71c"
|
|
108
|
+
dependencies = [
|
|
109
|
+
"bytes",
|
|
110
|
+
"futures-core",
|
|
111
|
+
"http",
|
|
112
|
+
"http-body",
|
|
113
|
+
"pin-project-lite",
|
|
114
|
+
]
|
|
115
|
+
|
|
116
|
+
[[package]]
|
|
117
|
+
name = "httparse"
|
|
118
|
+
version = "1.10.1"
|
|
119
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
120
|
+
checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
|
|
121
|
+
|
|
122
|
+
[[package]]
|
|
123
|
+
name = "httpdate"
|
|
124
|
+
version = "1.0.3"
|
|
125
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
126
|
+
checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
|
|
127
|
+
|
|
128
|
+
[[package]]
|
|
129
|
+
name = "hyper"
|
|
130
|
+
version = "1.11.0"
|
|
131
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
132
|
+
checksum = "d22053281f852e11534f5198498373cbb59295120a20771d90f7ed1897490a72"
|
|
133
|
+
dependencies = [
|
|
134
|
+
"atomic-waker",
|
|
135
|
+
"bytes",
|
|
136
|
+
"futures-channel",
|
|
137
|
+
"futures-core",
|
|
138
|
+
"http",
|
|
139
|
+
"http-body",
|
|
140
|
+
"httparse",
|
|
141
|
+
"httpdate",
|
|
142
|
+
"itoa",
|
|
143
|
+
"pin-project-lite",
|
|
144
|
+
"smallvec",
|
|
145
|
+
"tokio",
|
|
146
|
+
"want",
|
|
147
|
+
]
|
|
148
|
+
|
|
149
|
+
[[package]]
|
|
150
|
+
name = "hyper-util"
|
|
151
|
+
version = "0.1.20"
|
|
152
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
153
|
+
checksum = "96547c2556ec9d12fb1578c4eaf448b04993e7fb79cbaad930a656880a6bdfa0"
|
|
154
|
+
dependencies = [
|
|
155
|
+
"bytes",
|
|
156
|
+
"futures-channel",
|
|
157
|
+
"futures-util",
|
|
158
|
+
"http",
|
|
159
|
+
"http-body",
|
|
160
|
+
"hyper",
|
|
161
|
+
"libc",
|
|
162
|
+
"pin-project-lite",
|
|
163
|
+
"socket2",
|
|
164
|
+
"tokio",
|
|
165
|
+
"tower-service",
|
|
166
|
+
"tracing",
|
|
167
|
+
]
|
|
168
|
+
|
|
169
|
+
[[package]]
|
|
170
|
+
name = "indoc"
|
|
171
|
+
version = "2.0.7"
|
|
172
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
173
|
+
checksum = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706"
|
|
174
|
+
dependencies = [
|
|
175
|
+
"rustversion",
|
|
176
|
+
]
|
|
177
|
+
|
|
178
|
+
[[package]]
|
|
179
|
+
name = "itoa"
|
|
180
|
+
version = "1.0.18"
|
|
181
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
182
|
+
checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
|
|
183
|
+
|
|
184
|
+
[[package]]
|
|
185
|
+
name = "libc"
|
|
186
|
+
version = "0.2.189"
|
|
187
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
188
|
+
checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
|
|
189
|
+
|
|
190
|
+
[[package]]
|
|
191
|
+
name = "lock_api"
|
|
192
|
+
version = "0.4.14"
|
|
193
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
194
|
+
checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965"
|
|
195
|
+
dependencies = [
|
|
196
|
+
"scopeguard",
|
|
197
|
+
]
|
|
198
|
+
|
|
199
|
+
[[package]]
|
|
200
|
+
name = "memoffset"
|
|
201
|
+
version = "0.9.1"
|
|
202
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
203
|
+
checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
|
|
204
|
+
dependencies = [
|
|
205
|
+
"autocfg",
|
|
206
|
+
]
|
|
207
|
+
|
|
208
|
+
[[package]]
|
|
209
|
+
name = "mio"
|
|
210
|
+
version = "1.2.2"
|
|
211
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
212
|
+
checksum = "30d65c71f1ce40ab09135ce117d742b9f8a19ff91a41a8b57ed50bc2de59c427"
|
|
213
|
+
dependencies = [
|
|
214
|
+
"libc",
|
|
215
|
+
"wasi",
|
|
216
|
+
"windows-sys",
|
|
217
|
+
]
|
|
218
|
+
|
|
219
|
+
[[package]]
|
|
220
|
+
name = "num-traits"
|
|
221
|
+
version = "0.2.19"
|
|
222
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
223
|
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
|
224
|
+
dependencies = [
|
|
225
|
+
"autocfg",
|
|
226
|
+
]
|
|
227
|
+
|
|
228
|
+
[[package]]
|
|
229
|
+
name = "once_cell"
|
|
230
|
+
version = "1.21.4"
|
|
231
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
232
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
233
|
+
|
|
234
|
+
[[package]]
|
|
235
|
+
name = "parking_lot"
|
|
236
|
+
version = "0.12.5"
|
|
237
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
238
|
+
checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a"
|
|
239
|
+
dependencies = [
|
|
240
|
+
"lock_api",
|
|
241
|
+
"parking_lot_core",
|
|
242
|
+
]
|
|
243
|
+
|
|
244
|
+
[[package]]
|
|
245
|
+
name = "parking_lot_core"
|
|
246
|
+
version = "0.9.12"
|
|
247
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
248
|
+
checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
|
|
249
|
+
dependencies = [
|
|
250
|
+
"cfg-if",
|
|
251
|
+
"libc",
|
|
252
|
+
"redox_syscall",
|
|
253
|
+
"smallvec",
|
|
254
|
+
"windows-link",
|
|
255
|
+
]
|
|
256
|
+
|
|
257
|
+
[[package]]
|
|
258
|
+
name = "pin-project-lite"
|
|
259
|
+
version = "0.2.17"
|
|
260
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
261
|
+
checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
|
|
262
|
+
|
|
263
|
+
[[package]]
|
|
264
|
+
name = "portable-atomic"
|
|
265
|
+
version = "1.15.0"
|
|
266
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
267
|
+
checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
|
|
268
|
+
|
|
269
|
+
[[package]]
|
|
270
|
+
name = "proc-macro2"
|
|
271
|
+
version = "1.0.107"
|
|
272
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
273
|
+
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
274
|
+
dependencies = [
|
|
275
|
+
"unicode-ident",
|
|
276
|
+
]
|
|
277
|
+
|
|
278
|
+
[[package]]
|
|
279
|
+
name = "pyo3"
|
|
280
|
+
version = "0.27.2"
|
|
281
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
282
|
+
checksum = "ab53c047fcd1a1d2a8820fe84f05d6be69e9526be40cb03b73f86b6b03e6d87d"
|
|
283
|
+
dependencies = [
|
|
284
|
+
"indoc",
|
|
285
|
+
"libc",
|
|
286
|
+
"memoffset",
|
|
287
|
+
"once_cell",
|
|
288
|
+
"portable-atomic",
|
|
289
|
+
"pyo3-build-config",
|
|
290
|
+
"pyo3-ffi",
|
|
291
|
+
"pyo3-macros",
|
|
292
|
+
"unindent",
|
|
293
|
+
]
|
|
294
|
+
|
|
295
|
+
[[package]]
|
|
296
|
+
name = "pyo3-build-config"
|
|
297
|
+
version = "0.27.2"
|
|
298
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
299
|
+
checksum = "b455933107de8642b4487ed26d912c2d899dec6114884214a0b3bb3be9261ea6"
|
|
300
|
+
dependencies = [
|
|
301
|
+
"target-lexicon",
|
|
302
|
+
]
|
|
303
|
+
|
|
304
|
+
[[package]]
|
|
305
|
+
name = "pyo3-ffi"
|
|
306
|
+
version = "0.27.2"
|
|
307
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
308
|
+
checksum = "1c85c9cbfaddf651b1221594209aed57e9e5cff63c4d11d1feead529b872a089"
|
|
309
|
+
dependencies = [
|
|
310
|
+
"libc",
|
|
311
|
+
"pyo3-build-config",
|
|
312
|
+
]
|
|
313
|
+
|
|
314
|
+
[[package]]
|
|
315
|
+
name = "pyo3-macros"
|
|
316
|
+
version = "0.27.2"
|
|
317
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
318
|
+
checksum = "0a5b10c9bf9888125d917fb4d2ca2d25c8df94c7ab5a52e13313a07e050a3b02"
|
|
319
|
+
dependencies = [
|
|
320
|
+
"proc-macro2",
|
|
321
|
+
"pyo3-macros-backend",
|
|
322
|
+
"quote",
|
|
323
|
+
"syn 2.0.119",
|
|
324
|
+
]
|
|
325
|
+
|
|
326
|
+
[[package]]
|
|
327
|
+
name = "pyo3-macros-backend"
|
|
328
|
+
version = "0.27.2"
|
|
329
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
330
|
+
checksum = "03b51720d314836e53327f5871d4c0cfb4fb37cc2c4a11cc71907a86342c40f9"
|
|
331
|
+
dependencies = [
|
|
332
|
+
"heck",
|
|
333
|
+
"proc-macro2",
|
|
334
|
+
"pyo3-build-config",
|
|
335
|
+
"quote",
|
|
336
|
+
"syn 2.0.119",
|
|
337
|
+
]
|
|
338
|
+
|
|
339
|
+
[[package]]
|
|
340
|
+
name = "quote"
|
|
341
|
+
version = "1.0.47"
|
|
342
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
343
|
+
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
344
|
+
dependencies = [
|
|
345
|
+
"proc-macro2",
|
|
346
|
+
]
|
|
347
|
+
|
|
348
|
+
[[package]]
|
|
349
|
+
name = "redox_syscall"
|
|
350
|
+
version = "0.5.18"
|
|
351
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
352
|
+
checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
|
|
353
|
+
dependencies = [
|
|
354
|
+
"bitflags",
|
|
355
|
+
]
|
|
356
|
+
|
|
357
|
+
[[package]]
|
|
358
|
+
name = "rmp"
|
|
359
|
+
version = "0.8.15"
|
|
360
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
361
|
+
checksum = "4ba8be72d372b2c9b35542551678538b562e7cf86c3315773cae48dfbfe7790c"
|
|
362
|
+
dependencies = [
|
|
363
|
+
"num-traits",
|
|
364
|
+
]
|
|
365
|
+
|
|
366
|
+
[[package]]
|
|
367
|
+
name = "rmp-serde"
|
|
368
|
+
version = "1.3.1"
|
|
369
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
370
|
+
checksum = "72f81bee8c8ef9b577d1681a70ebbc962c232461e397b22c208c43c04b67a155"
|
|
371
|
+
dependencies = [
|
|
372
|
+
"rmp",
|
|
373
|
+
"serde",
|
|
374
|
+
]
|
|
375
|
+
|
|
376
|
+
[[package]]
|
|
377
|
+
name = "rustversion"
|
|
378
|
+
version = "1.0.23"
|
|
379
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
380
|
+
checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
|
|
381
|
+
|
|
382
|
+
[[package]]
|
|
383
|
+
name = "scopeguard"
|
|
384
|
+
version = "1.2.0"
|
|
385
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
386
|
+
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
|
|
387
|
+
|
|
388
|
+
[[package]]
|
|
389
|
+
name = "serde"
|
|
390
|
+
version = "1.0.229"
|
|
391
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
392
|
+
checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
|
|
393
|
+
dependencies = [
|
|
394
|
+
"serde_core",
|
|
395
|
+
"serde_derive",
|
|
396
|
+
]
|
|
397
|
+
|
|
398
|
+
[[package]]
|
|
399
|
+
name = "serde_core"
|
|
400
|
+
version = "1.0.229"
|
|
401
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
402
|
+
checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
|
|
403
|
+
dependencies = [
|
|
404
|
+
"serde_derive",
|
|
405
|
+
]
|
|
406
|
+
|
|
407
|
+
[[package]]
|
|
408
|
+
name = "serde_derive"
|
|
409
|
+
version = "1.0.229"
|
|
410
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
411
|
+
checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
412
|
+
dependencies = [
|
|
413
|
+
"proc-macro2",
|
|
414
|
+
"quote",
|
|
415
|
+
"syn 3.0.3",
|
|
416
|
+
]
|
|
417
|
+
|
|
418
|
+
[[package]]
|
|
419
|
+
name = "signal-hook-registry"
|
|
420
|
+
version = "1.4.8"
|
|
421
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
422
|
+
checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b"
|
|
423
|
+
dependencies = [
|
|
424
|
+
"errno",
|
|
425
|
+
"libc",
|
|
426
|
+
]
|
|
427
|
+
|
|
428
|
+
[[package]]
|
|
429
|
+
name = "smallvec"
|
|
430
|
+
version = "1.15.2"
|
|
431
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
432
|
+
checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90"
|
|
433
|
+
|
|
434
|
+
[[package]]
|
|
435
|
+
name = "socket2"
|
|
436
|
+
version = "0.6.5"
|
|
437
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
438
|
+
checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4"
|
|
439
|
+
dependencies = [
|
|
440
|
+
"libc",
|
|
441
|
+
"windows-sys",
|
|
442
|
+
]
|
|
443
|
+
|
|
444
|
+
[[package]]
|
|
445
|
+
name = "syn"
|
|
446
|
+
version = "2.0.119"
|
|
447
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
448
|
+
checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
|
|
449
|
+
dependencies = [
|
|
450
|
+
"proc-macro2",
|
|
451
|
+
"quote",
|
|
452
|
+
"unicode-ident",
|
|
453
|
+
]
|
|
454
|
+
|
|
455
|
+
[[package]]
|
|
456
|
+
name = "syn"
|
|
457
|
+
version = "3.0.3"
|
|
458
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
459
|
+
checksum = "53e9bae58849f64dfa4f5d5ae372c8341f7305f82a3868709269343628b659a3"
|
|
460
|
+
dependencies = [
|
|
461
|
+
"proc-macro2",
|
|
462
|
+
"quote",
|
|
463
|
+
"unicode-ident",
|
|
464
|
+
]
|
|
465
|
+
|
|
466
|
+
[[package]]
|
|
467
|
+
name = "target-lexicon"
|
|
468
|
+
version = "0.13.5"
|
|
469
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
470
|
+
checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
471
|
+
|
|
472
|
+
[[package]]
|
|
473
|
+
name = "thiserror"
|
|
474
|
+
version = "1.0.69"
|
|
475
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
476
|
+
checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
|
|
477
|
+
dependencies = [
|
|
478
|
+
"thiserror-impl",
|
|
479
|
+
]
|
|
480
|
+
|
|
481
|
+
[[package]]
|
|
482
|
+
name = "thiserror-impl"
|
|
483
|
+
version = "1.0.69"
|
|
484
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
485
|
+
checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
|
|
486
|
+
dependencies = [
|
|
487
|
+
"proc-macro2",
|
|
488
|
+
"quote",
|
|
489
|
+
"syn 2.0.119",
|
|
490
|
+
]
|
|
491
|
+
|
|
492
|
+
[[package]]
|
|
493
|
+
name = "tinyray-core"
|
|
494
|
+
version = "0.0.1"
|
|
495
|
+
dependencies = [
|
|
496
|
+
"bytes",
|
|
497
|
+
"rmp-serde",
|
|
498
|
+
"serde",
|
|
499
|
+
"thiserror",
|
|
500
|
+
]
|
|
501
|
+
|
|
502
|
+
[[package]]
|
|
503
|
+
name = "tinyray-py"
|
|
504
|
+
version = "0.0.1"
|
|
505
|
+
dependencies = [
|
|
506
|
+
"bytes",
|
|
507
|
+
"parking_lot",
|
|
508
|
+
"pyo3",
|
|
509
|
+
"tinyray-core",
|
|
510
|
+
"tinyray-runtime",
|
|
511
|
+
"tokio",
|
|
512
|
+
]
|
|
513
|
+
|
|
514
|
+
[[package]]
|
|
515
|
+
name = "tinyray-runtime"
|
|
516
|
+
version = "0.0.1"
|
|
517
|
+
dependencies = [
|
|
518
|
+
"bytes",
|
|
519
|
+
"http-body-util",
|
|
520
|
+
"hyper",
|
|
521
|
+
"hyper-util",
|
|
522
|
+
"parking_lot",
|
|
523
|
+
"rmp-serde",
|
|
524
|
+
"serde",
|
|
525
|
+
"thiserror",
|
|
526
|
+
"tinyray-core",
|
|
527
|
+
"tokio",
|
|
528
|
+
"tracing",
|
|
529
|
+
]
|
|
530
|
+
|
|
531
|
+
[[package]]
|
|
532
|
+
name = "tokio"
|
|
533
|
+
version = "1.53.1"
|
|
534
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
535
|
+
checksum = "202caea871b69668250d242070849eb495be178ed697a3e98aebce5bc81a0bed"
|
|
536
|
+
dependencies = [
|
|
537
|
+
"bytes",
|
|
538
|
+
"libc",
|
|
539
|
+
"mio",
|
|
540
|
+
"pin-project-lite",
|
|
541
|
+
"signal-hook-registry",
|
|
542
|
+
"socket2",
|
|
543
|
+
"tokio-macros",
|
|
544
|
+
"windows-sys",
|
|
545
|
+
]
|
|
546
|
+
|
|
547
|
+
[[package]]
|
|
548
|
+
name = "tokio-macros"
|
|
549
|
+
version = "2.7.2"
|
|
550
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
551
|
+
checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e"
|
|
552
|
+
dependencies = [
|
|
553
|
+
"proc-macro2",
|
|
554
|
+
"quote",
|
|
555
|
+
"syn 3.0.3",
|
|
556
|
+
]
|
|
557
|
+
|
|
558
|
+
[[package]]
|
|
559
|
+
name = "tower-service"
|
|
560
|
+
version = "0.3.3"
|
|
561
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
562
|
+
checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3"
|
|
563
|
+
|
|
564
|
+
[[package]]
|
|
565
|
+
name = "tracing"
|
|
566
|
+
version = "0.1.44"
|
|
567
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
568
|
+
checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100"
|
|
569
|
+
dependencies = [
|
|
570
|
+
"pin-project-lite",
|
|
571
|
+
"tracing-attributes",
|
|
572
|
+
"tracing-core",
|
|
573
|
+
]
|
|
574
|
+
|
|
575
|
+
[[package]]
|
|
576
|
+
name = "tracing-attributes"
|
|
577
|
+
version = "0.1.31"
|
|
578
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
579
|
+
checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da"
|
|
580
|
+
dependencies = [
|
|
581
|
+
"proc-macro2",
|
|
582
|
+
"quote",
|
|
583
|
+
"syn 2.0.119",
|
|
584
|
+
]
|
|
585
|
+
|
|
586
|
+
[[package]]
|
|
587
|
+
name = "tracing-core"
|
|
588
|
+
version = "0.1.36"
|
|
589
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
590
|
+
checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a"
|
|
591
|
+
dependencies = [
|
|
592
|
+
"once_cell",
|
|
593
|
+
]
|
|
594
|
+
|
|
595
|
+
[[package]]
|
|
596
|
+
name = "try-lock"
|
|
597
|
+
version = "0.2.5"
|
|
598
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
599
|
+
checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
|
|
600
|
+
|
|
601
|
+
[[package]]
|
|
602
|
+
name = "unicode-ident"
|
|
603
|
+
version = "1.0.24"
|
|
604
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
605
|
+
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
606
|
+
|
|
607
|
+
[[package]]
|
|
608
|
+
name = "unindent"
|
|
609
|
+
version = "0.2.4"
|
|
610
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
611
|
+
checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
|
|
612
|
+
|
|
613
|
+
[[package]]
|
|
614
|
+
name = "want"
|
|
615
|
+
version = "0.3.1"
|
|
616
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
617
|
+
checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e"
|
|
618
|
+
dependencies = [
|
|
619
|
+
"try-lock",
|
|
620
|
+
]
|
|
621
|
+
|
|
622
|
+
[[package]]
|
|
623
|
+
name = "wasi"
|
|
624
|
+
version = "0.11.1+wasi-snapshot-preview1"
|
|
625
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
626
|
+
checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
|
|
627
|
+
|
|
628
|
+
[[package]]
|
|
629
|
+
name = "windows-link"
|
|
630
|
+
version = "0.2.1"
|
|
631
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
632
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
633
|
+
|
|
634
|
+
[[package]]
|
|
635
|
+
name = "windows-sys"
|
|
636
|
+
version = "0.61.2"
|
|
637
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
638
|
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
|
639
|
+
dependencies = [
|
|
640
|
+
"windows-link",
|
|
641
|
+
]
|
tinyray-0.0.1/Cargo.toml
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[workspace]
|
|
2
|
+
resolver = "2"
|
|
3
|
+
members = ["crates/tinyray-core", "crates/tinyray-py", "crates/tinyray-runtime"]
|
|
4
|
+
|
|
5
|
+
[workspace.package]
|
|
6
|
+
version = "0.0.1"
|
|
7
|
+
edition = "2021"
|
|
8
|
+
rust-version = "1.82"
|
|
9
|
+
license = "Apache-2.0"
|
|
10
|
+
repository = "https://github.com/HSPK/tinyray"
|
|
11
|
+
homepage = "https://github.com/HSPK/tinyray"
|
|
12
|
+
|
|
13
|
+
[workspace.dependencies]
|
|
14
|
+
tinyray-core = { path = "crates/tinyray-core" }
|
|
15
|
+
tinyray-runtime = { path = "crates/tinyray-runtime" }
|
|
16
|
+
|
|
17
|
+
tokio = { version = "1", features = ["rt-multi-thread", "net", "sync", "time", "macros", "io-util", "process", "signal"] }
|
|
18
|
+
hyper = { version = "1", features = ["server", "client", "http1"] }
|
|
19
|
+
hyper-util = { version = "0.1", features = ["tokio", "server", "client", "client-legacy", "http1"] }
|
|
20
|
+
http-body-util = "0.1"
|
|
21
|
+
parking_lot = "0.12"
|
|
22
|
+
tracing = "0.1"
|
|
23
|
+
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
24
|
+
|
|
25
|
+
bytes = "1.6"
|
|
26
|
+
serde = { version = "1.0", features = ["derive"] }
|
|
27
|
+
rmp-serde = "1.1"
|
|
28
|
+
thiserror = "1.0"
|
|
29
|
+
|
|
30
|
+
[profile.release]
|
|
31
|
+
opt-level = 3
|
|
32
|
+
lto = "thin"
|
|
33
|
+
codegen-units = 1
|
|
34
|
+
|
|
35
|
+
[profile.bench]
|
|
36
|
+
inherits = "release"
|
|
37
|
+
debug = true
|