codexcw 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.
- codexcw-0.1.0/Cargo.lock +624 -0
- codexcw-0.1.0/Cargo.toml +34 -0
- codexcw-0.1.0/PKG-INFO +97 -0
- codexcw-0.1.0/README.md +76 -0
- codexcw-0.1.0/bindings/python/Cargo.toml +20 -0
- codexcw-0.1.0/bindings/python/README.md +76 -0
- codexcw-0.1.0/bindings/python/src/lib.rs +755 -0
- codexcw-0.1.0/bindings/python/tests/fixtures/fake_codex.sh +22 -0
- codexcw-0.1.0/bindings/python/tests/test_smoke.py +136 -0
- codexcw-0.1.0/bindings/python/uv.lock +247 -0
- codexcw-0.1.0/crates/codexcw/Cargo.toml +25 -0
- codexcw-0.1.0/crates/codexcw/README.md +83 -0
- codexcw-0.1.0/crates/codexcw/examples/run.rs +19 -0
- codexcw-0.1.0/crates/codexcw/src/args.rs +398 -0
- codexcw-0.1.0/crates/codexcw/src/decoder.rs +231 -0
- codexcw-0.1.0/crates/codexcw/src/error.rs +100 -0
- codexcw-0.1.0/crates/codexcw/src/event.rs +269 -0
- codexcw-0.1.0/crates/codexcw/src/group.rs +263 -0
- codexcw-0.1.0/crates/codexcw/src/lib.rs +68 -0
- codexcw-0.1.0/crates/codexcw/src/request.rs +190 -0
- codexcw-0.1.0/crates/codexcw/src/runner.rs +523 -0
- codexcw-0.1.0/crates/codexcw/src/session.rs +134 -0
- codexcw-0.1.0/crates/codexcw/src/tail.rs +54 -0
- codexcw-0.1.0/crates/codexcw/tests/common/mod.rs +63 -0
- codexcw-0.1.0/crates/codexcw/tests/runner_it.rs +310 -0
- codexcw-0.1.0/pyproject.toml +36 -0
- codexcw-0.1.0/python/codexcw/__init__.py +229 -0
- codexcw-0.1.0/python/codexcw/_codexcw.pyi +104 -0
- codexcw-0.1.0/python/codexcw/aio.py +125 -0
- codexcw-0.1.0/python/codexcw/py.typed +0 -0
codexcw-0.1.0/Cargo.lock
ADDED
|
@@ -0,0 +1,624 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "bitflags"
|
|
7
|
+
version = "2.13.0"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "b4388bee8683e3d04af747c73422af53102d2bd24d9eadb6cbc100baef4b43f8"
|
|
10
|
+
|
|
11
|
+
[[package]]
|
|
12
|
+
name = "bytes"
|
|
13
|
+
version = "1.12.0"
|
|
14
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
15
|
+
checksum = "8ae3f5d315924270530207e2a68396c3cc547f6dca3fbdca317cfb1a51edb593"
|
|
16
|
+
|
|
17
|
+
[[package]]
|
|
18
|
+
name = "cfg-if"
|
|
19
|
+
version = "1.0.4"
|
|
20
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
21
|
+
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
|
22
|
+
|
|
23
|
+
[[package]]
|
|
24
|
+
name = "codexcw"
|
|
25
|
+
version = "0.1.0"
|
|
26
|
+
dependencies = [
|
|
27
|
+
"serde",
|
|
28
|
+
"serde_json",
|
|
29
|
+
"tempfile",
|
|
30
|
+
"thiserror",
|
|
31
|
+
"tokio",
|
|
32
|
+
"tokio-stream",
|
|
33
|
+
"tokio-util",
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
[[package]]
|
|
37
|
+
name = "codexcw-node"
|
|
38
|
+
version = "0.1.0"
|
|
39
|
+
dependencies = [
|
|
40
|
+
"codexcw",
|
|
41
|
+
"napi",
|
|
42
|
+
"napi-build",
|
|
43
|
+
"napi-derive",
|
|
44
|
+
"tokio",
|
|
45
|
+
"tokio-stream",
|
|
46
|
+
]
|
|
47
|
+
|
|
48
|
+
[[package]]
|
|
49
|
+
name = "codexcw-py"
|
|
50
|
+
version = "0.1.0"
|
|
51
|
+
dependencies = [
|
|
52
|
+
"codexcw",
|
|
53
|
+
"pyo3",
|
|
54
|
+
"tokio",
|
|
55
|
+
"tokio-stream",
|
|
56
|
+
]
|
|
57
|
+
|
|
58
|
+
[[package]]
|
|
59
|
+
name = "convert_case"
|
|
60
|
+
version = "0.11.0"
|
|
61
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
62
|
+
checksum = "affbf0190ed2caf063e3def54ff444b449371d55c58e513a95ab98eca50adb49"
|
|
63
|
+
dependencies = [
|
|
64
|
+
"unicode-segmentation",
|
|
65
|
+
]
|
|
66
|
+
|
|
67
|
+
[[package]]
|
|
68
|
+
name = "ctor"
|
|
69
|
+
version = "1.0.7"
|
|
70
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
71
|
+
checksum = "01334b89b69ff726750c5ce5073fc8bd860e99aa9a8fc5ca11b04730e3aee97a"
|
|
72
|
+
|
|
73
|
+
[[package]]
|
|
74
|
+
name = "errno"
|
|
75
|
+
version = "0.3.14"
|
|
76
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
77
|
+
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
|
|
78
|
+
dependencies = [
|
|
79
|
+
"libc",
|
|
80
|
+
"windows-sys",
|
|
81
|
+
]
|
|
82
|
+
|
|
83
|
+
[[package]]
|
|
84
|
+
name = "fastrand"
|
|
85
|
+
version = "2.4.1"
|
|
86
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
87
|
+
checksum = "9f1f227452a390804cdb637b74a86990f2a7d7ba4b7d5693aac9b4dd6defd8d6"
|
|
88
|
+
|
|
89
|
+
[[package]]
|
|
90
|
+
name = "futures"
|
|
91
|
+
version = "0.3.32"
|
|
92
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
93
|
+
checksum = "8b147ee9d1f6d097cef9ce628cd2ee62288d963e16fb287bd9286455b241382d"
|
|
94
|
+
dependencies = [
|
|
95
|
+
"futures-channel",
|
|
96
|
+
"futures-core",
|
|
97
|
+
"futures-executor",
|
|
98
|
+
"futures-io",
|
|
99
|
+
"futures-sink",
|
|
100
|
+
"futures-task",
|
|
101
|
+
"futures-util",
|
|
102
|
+
]
|
|
103
|
+
|
|
104
|
+
[[package]]
|
|
105
|
+
name = "futures-channel"
|
|
106
|
+
version = "0.3.32"
|
|
107
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
108
|
+
checksum = "07bbe89c50d7a535e539b8c17bc0b49bdb77747034daa8087407d655f3f7cc1d"
|
|
109
|
+
dependencies = [
|
|
110
|
+
"futures-core",
|
|
111
|
+
"futures-sink",
|
|
112
|
+
]
|
|
113
|
+
|
|
114
|
+
[[package]]
|
|
115
|
+
name = "futures-core"
|
|
116
|
+
version = "0.3.32"
|
|
117
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
118
|
+
checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d"
|
|
119
|
+
|
|
120
|
+
[[package]]
|
|
121
|
+
name = "futures-executor"
|
|
122
|
+
version = "0.3.32"
|
|
123
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
124
|
+
checksum = "baf29c38818342a3b26b5b923639e7b1f4a61fc5e76102d4b1981c6dc7a7579d"
|
|
125
|
+
dependencies = [
|
|
126
|
+
"futures-core",
|
|
127
|
+
"futures-task",
|
|
128
|
+
"futures-util",
|
|
129
|
+
]
|
|
130
|
+
|
|
131
|
+
[[package]]
|
|
132
|
+
name = "futures-io"
|
|
133
|
+
version = "0.3.32"
|
|
134
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
135
|
+
checksum = "cecba35d7ad927e23624b22ad55235f2239cfa44fd10428eecbeba6d6a717718"
|
|
136
|
+
|
|
137
|
+
[[package]]
|
|
138
|
+
name = "futures-macro"
|
|
139
|
+
version = "0.3.32"
|
|
140
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
141
|
+
checksum = "e835b70203e41293343137df5c0664546da5745f82ec9b84d40be8336958447b"
|
|
142
|
+
dependencies = [
|
|
143
|
+
"proc-macro2",
|
|
144
|
+
"quote",
|
|
145
|
+
"syn",
|
|
146
|
+
]
|
|
147
|
+
|
|
148
|
+
[[package]]
|
|
149
|
+
name = "futures-sink"
|
|
150
|
+
version = "0.3.32"
|
|
151
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
152
|
+
checksum = "c39754e157331b013978ec91992bde1ac089843443c49cbc7f46150b0fad0893"
|
|
153
|
+
|
|
154
|
+
[[package]]
|
|
155
|
+
name = "futures-task"
|
|
156
|
+
version = "0.3.32"
|
|
157
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
158
|
+
checksum = "037711b3d59c33004d3856fbdc83b99d4ff37a24768fa1be9ce3538a1cde4393"
|
|
159
|
+
|
|
160
|
+
[[package]]
|
|
161
|
+
name = "futures-util"
|
|
162
|
+
version = "0.3.32"
|
|
163
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
164
|
+
checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6"
|
|
165
|
+
dependencies = [
|
|
166
|
+
"futures-channel",
|
|
167
|
+
"futures-core",
|
|
168
|
+
"futures-io",
|
|
169
|
+
"futures-macro",
|
|
170
|
+
"futures-sink",
|
|
171
|
+
"futures-task",
|
|
172
|
+
"memchr",
|
|
173
|
+
"pin-project-lite",
|
|
174
|
+
"slab",
|
|
175
|
+
]
|
|
176
|
+
|
|
177
|
+
[[package]]
|
|
178
|
+
name = "getrandom"
|
|
179
|
+
version = "0.4.3"
|
|
180
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
181
|
+
checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
|
|
182
|
+
dependencies = [
|
|
183
|
+
"cfg-if",
|
|
184
|
+
"libc",
|
|
185
|
+
"r-efi",
|
|
186
|
+
]
|
|
187
|
+
|
|
188
|
+
[[package]]
|
|
189
|
+
name = "heck"
|
|
190
|
+
version = "0.5.0"
|
|
191
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
192
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
193
|
+
|
|
194
|
+
[[package]]
|
|
195
|
+
name = "itoa"
|
|
196
|
+
version = "1.0.18"
|
|
197
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
198
|
+
checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
|
|
199
|
+
|
|
200
|
+
[[package]]
|
|
201
|
+
name = "libc"
|
|
202
|
+
version = "0.2.186"
|
|
203
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
204
|
+
checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
|
|
205
|
+
|
|
206
|
+
[[package]]
|
|
207
|
+
name = "libloading"
|
|
208
|
+
version = "0.9.0"
|
|
209
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
210
|
+
checksum = "754ca22de805bb5744484a5b151a9e1a8e837d5dc232c2d7d8c2e3492edc8b60"
|
|
211
|
+
dependencies = [
|
|
212
|
+
"cfg-if",
|
|
213
|
+
"windows-link",
|
|
214
|
+
]
|
|
215
|
+
|
|
216
|
+
[[package]]
|
|
217
|
+
name = "linux-raw-sys"
|
|
218
|
+
version = "0.12.1"
|
|
219
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
220
|
+
checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
|
|
221
|
+
|
|
222
|
+
[[package]]
|
|
223
|
+
name = "memchr"
|
|
224
|
+
version = "2.8.2"
|
|
225
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
226
|
+
checksum = "88904434abc2901f197fe8cc55f0445e7ded921dba5911dad2e2b39b48e663c4"
|
|
227
|
+
|
|
228
|
+
[[package]]
|
|
229
|
+
name = "mio"
|
|
230
|
+
version = "1.2.1"
|
|
231
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
232
|
+
checksum = "02bd0af71c67b473010cbbc60715ee815645a4dc942899111f494b4b737d6fda"
|
|
233
|
+
dependencies = [
|
|
234
|
+
"libc",
|
|
235
|
+
"wasi",
|
|
236
|
+
"windows-sys",
|
|
237
|
+
]
|
|
238
|
+
|
|
239
|
+
[[package]]
|
|
240
|
+
name = "napi"
|
|
241
|
+
version = "3.9.3"
|
|
242
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
243
|
+
checksum = "fbd9f9295f3ff5921e78a71222c3361a8216f7760b1a99a6ad4e8441de18bbb9"
|
|
244
|
+
dependencies = [
|
|
245
|
+
"bitflags",
|
|
246
|
+
"ctor",
|
|
247
|
+
"futures",
|
|
248
|
+
"napi-build",
|
|
249
|
+
"napi-sys",
|
|
250
|
+
"nohash-hasher",
|
|
251
|
+
"rustc-hash",
|
|
252
|
+
"tokio",
|
|
253
|
+
]
|
|
254
|
+
|
|
255
|
+
[[package]]
|
|
256
|
+
name = "napi-build"
|
|
257
|
+
version = "2.3.2"
|
|
258
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
259
|
+
checksum = "c9c366d2c8c60b86fa632df75f745509b52f9128f91a6bad4c796e44abb505e1"
|
|
260
|
+
|
|
261
|
+
[[package]]
|
|
262
|
+
name = "napi-derive"
|
|
263
|
+
version = "3.5.6"
|
|
264
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
265
|
+
checksum = "89b3f766e04667e6da0e181e2da4f85475d5a6513b7cf6a80bea184e224a5b42"
|
|
266
|
+
dependencies = [
|
|
267
|
+
"convert_case",
|
|
268
|
+
"ctor",
|
|
269
|
+
"napi-derive-backend",
|
|
270
|
+
"proc-macro2",
|
|
271
|
+
"quote",
|
|
272
|
+
"syn",
|
|
273
|
+
]
|
|
274
|
+
|
|
275
|
+
[[package]]
|
|
276
|
+
name = "napi-derive-backend"
|
|
277
|
+
version = "5.0.4"
|
|
278
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
279
|
+
checksum = "0d5af30503edf933ce7377cf6d4c877a62b0f1107ea05585f1b5e430e88d5baf"
|
|
280
|
+
dependencies = [
|
|
281
|
+
"convert_case",
|
|
282
|
+
"proc-macro2",
|
|
283
|
+
"quote",
|
|
284
|
+
"semver",
|
|
285
|
+
"syn",
|
|
286
|
+
]
|
|
287
|
+
|
|
288
|
+
[[package]]
|
|
289
|
+
name = "napi-sys"
|
|
290
|
+
version = "3.2.2"
|
|
291
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
292
|
+
checksum = "1f5bcdf71abd3a50d00b49c1c2c75251cb3c913777d6139cd37dabc093a5e400"
|
|
293
|
+
dependencies = [
|
|
294
|
+
"libloading",
|
|
295
|
+
]
|
|
296
|
+
|
|
297
|
+
[[package]]
|
|
298
|
+
name = "nohash-hasher"
|
|
299
|
+
version = "0.2.0"
|
|
300
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
301
|
+
checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451"
|
|
302
|
+
|
|
303
|
+
[[package]]
|
|
304
|
+
name = "once_cell"
|
|
305
|
+
version = "1.21.4"
|
|
306
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
307
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
308
|
+
|
|
309
|
+
[[package]]
|
|
310
|
+
name = "pin-project-lite"
|
|
311
|
+
version = "0.2.17"
|
|
312
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
313
|
+
checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
|
|
314
|
+
|
|
315
|
+
[[package]]
|
|
316
|
+
name = "portable-atomic"
|
|
317
|
+
version = "1.13.1"
|
|
318
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
319
|
+
checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
|
|
320
|
+
|
|
321
|
+
[[package]]
|
|
322
|
+
name = "proc-macro2"
|
|
323
|
+
version = "1.0.106"
|
|
324
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
325
|
+
checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
|
|
326
|
+
dependencies = [
|
|
327
|
+
"unicode-ident",
|
|
328
|
+
]
|
|
329
|
+
|
|
330
|
+
[[package]]
|
|
331
|
+
name = "pyo3"
|
|
332
|
+
version = "0.29.0"
|
|
333
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
334
|
+
checksum = "cd274650b21d4bfc26a0a47587962c1edb425f69287324355cd040c3ea66071c"
|
|
335
|
+
dependencies = [
|
|
336
|
+
"libc",
|
|
337
|
+
"once_cell",
|
|
338
|
+
"portable-atomic",
|
|
339
|
+
"pyo3-build-config",
|
|
340
|
+
"pyo3-ffi",
|
|
341
|
+
"pyo3-macros",
|
|
342
|
+
]
|
|
343
|
+
|
|
344
|
+
[[package]]
|
|
345
|
+
name = "pyo3-build-config"
|
|
346
|
+
version = "0.29.0"
|
|
347
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
348
|
+
checksum = "c5e2a7d2f0d013342f295c048ad19237add5154a55b1c5a254c0ec93d4109078"
|
|
349
|
+
dependencies = [
|
|
350
|
+
"target-lexicon",
|
|
351
|
+
]
|
|
352
|
+
|
|
353
|
+
[[package]]
|
|
354
|
+
name = "pyo3-ffi"
|
|
355
|
+
version = "0.29.0"
|
|
356
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
357
|
+
checksum = "ca85c467da1bbc8d866eea5deff9cf29ea5f7785054a17da36e65bda9c05845b"
|
|
358
|
+
dependencies = [
|
|
359
|
+
"libc",
|
|
360
|
+
"pyo3-build-config",
|
|
361
|
+
]
|
|
362
|
+
|
|
363
|
+
[[package]]
|
|
364
|
+
name = "pyo3-macros"
|
|
365
|
+
version = "0.29.0"
|
|
366
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
367
|
+
checksum = "9ac53762fd065daa3194dd09337a38bd793a188100fd1a9304c4ab312d901771"
|
|
368
|
+
dependencies = [
|
|
369
|
+
"proc-macro2",
|
|
370
|
+
"pyo3-macros-backend",
|
|
371
|
+
"quote",
|
|
372
|
+
"syn",
|
|
373
|
+
]
|
|
374
|
+
|
|
375
|
+
[[package]]
|
|
376
|
+
name = "pyo3-macros-backend"
|
|
377
|
+
version = "0.29.0"
|
|
378
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
379
|
+
checksum = "4ca3a1557399783172dc5bf39cfca835157732532cba56b71d2292161e53b362"
|
|
380
|
+
dependencies = [
|
|
381
|
+
"heck",
|
|
382
|
+
"proc-macro2",
|
|
383
|
+
"quote",
|
|
384
|
+
"syn",
|
|
385
|
+
]
|
|
386
|
+
|
|
387
|
+
[[package]]
|
|
388
|
+
name = "quote"
|
|
389
|
+
version = "1.0.45"
|
|
390
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
391
|
+
checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
|
|
392
|
+
dependencies = [
|
|
393
|
+
"proc-macro2",
|
|
394
|
+
]
|
|
395
|
+
|
|
396
|
+
[[package]]
|
|
397
|
+
name = "r-efi"
|
|
398
|
+
version = "6.0.0"
|
|
399
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
400
|
+
checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
|
|
401
|
+
|
|
402
|
+
[[package]]
|
|
403
|
+
name = "rustc-hash"
|
|
404
|
+
version = "2.1.2"
|
|
405
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
406
|
+
checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe"
|
|
407
|
+
|
|
408
|
+
[[package]]
|
|
409
|
+
name = "rustix"
|
|
410
|
+
version = "1.1.4"
|
|
411
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
412
|
+
checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190"
|
|
413
|
+
dependencies = [
|
|
414
|
+
"bitflags",
|
|
415
|
+
"errno",
|
|
416
|
+
"libc",
|
|
417
|
+
"linux-raw-sys",
|
|
418
|
+
"windows-sys",
|
|
419
|
+
]
|
|
420
|
+
|
|
421
|
+
[[package]]
|
|
422
|
+
name = "semver"
|
|
423
|
+
version = "1.0.28"
|
|
424
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
425
|
+
checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
|
|
426
|
+
|
|
427
|
+
[[package]]
|
|
428
|
+
name = "serde"
|
|
429
|
+
version = "1.0.228"
|
|
430
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
431
|
+
checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
|
|
432
|
+
dependencies = [
|
|
433
|
+
"serde_core",
|
|
434
|
+
"serde_derive",
|
|
435
|
+
]
|
|
436
|
+
|
|
437
|
+
[[package]]
|
|
438
|
+
name = "serde_core"
|
|
439
|
+
version = "1.0.228"
|
|
440
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
441
|
+
checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
|
|
442
|
+
dependencies = [
|
|
443
|
+
"serde_derive",
|
|
444
|
+
]
|
|
445
|
+
|
|
446
|
+
[[package]]
|
|
447
|
+
name = "serde_derive"
|
|
448
|
+
version = "1.0.228"
|
|
449
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
450
|
+
checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
|
|
451
|
+
dependencies = [
|
|
452
|
+
"proc-macro2",
|
|
453
|
+
"quote",
|
|
454
|
+
"syn",
|
|
455
|
+
]
|
|
456
|
+
|
|
457
|
+
[[package]]
|
|
458
|
+
name = "serde_json"
|
|
459
|
+
version = "1.0.150"
|
|
460
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
461
|
+
checksum = "e8014e44b4736ed0538adeecded0fce2a272f22dc9578a7eb6b2d9993c74cfb9"
|
|
462
|
+
dependencies = [
|
|
463
|
+
"itoa",
|
|
464
|
+
"memchr",
|
|
465
|
+
"serde",
|
|
466
|
+
"serde_core",
|
|
467
|
+
"zmij",
|
|
468
|
+
]
|
|
469
|
+
|
|
470
|
+
[[package]]
|
|
471
|
+
name = "signal-hook-registry"
|
|
472
|
+
version = "1.4.8"
|
|
473
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
474
|
+
checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b"
|
|
475
|
+
dependencies = [
|
|
476
|
+
"errno",
|
|
477
|
+
"libc",
|
|
478
|
+
]
|
|
479
|
+
|
|
480
|
+
[[package]]
|
|
481
|
+
name = "slab"
|
|
482
|
+
version = "0.4.12"
|
|
483
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
484
|
+
checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
|
|
485
|
+
|
|
486
|
+
[[package]]
|
|
487
|
+
name = "syn"
|
|
488
|
+
version = "2.0.118"
|
|
489
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
490
|
+
checksum = "1b9ae57f904213ebb649ce6895b8a66c66f0203b9319718f69a5612a065b1422"
|
|
491
|
+
dependencies = [
|
|
492
|
+
"proc-macro2",
|
|
493
|
+
"quote",
|
|
494
|
+
"unicode-ident",
|
|
495
|
+
]
|
|
496
|
+
|
|
497
|
+
[[package]]
|
|
498
|
+
name = "target-lexicon"
|
|
499
|
+
version = "0.13.5"
|
|
500
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
501
|
+
checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
502
|
+
|
|
503
|
+
[[package]]
|
|
504
|
+
name = "tempfile"
|
|
505
|
+
version = "3.27.0"
|
|
506
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
507
|
+
checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd"
|
|
508
|
+
dependencies = [
|
|
509
|
+
"fastrand",
|
|
510
|
+
"getrandom",
|
|
511
|
+
"once_cell",
|
|
512
|
+
"rustix",
|
|
513
|
+
"windows-sys",
|
|
514
|
+
]
|
|
515
|
+
|
|
516
|
+
[[package]]
|
|
517
|
+
name = "thiserror"
|
|
518
|
+
version = "2.0.18"
|
|
519
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
520
|
+
checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4"
|
|
521
|
+
dependencies = [
|
|
522
|
+
"thiserror-impl",
|
|
523
|
+
]
|
|
524
|
+
|
|
525
|
+
[[package]]
|
|
526
|
+
name = "thiserror-impl"
|
|
527
|
+
version = "2.0.18"
|
|
528
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
529
|
+
checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5"
|
|
530
|
+
dependencies = [
|
|
531
|
+
"proc-macro2",
|
|
532
|
+
"quote",
|
|
533
|
+
"syn",
|
|
534
|
+
]
|
|
535
|
+
|
|
536
|
+
[[package]]
|
|
537
|
+
name = "tokio"
|
|
538
|
+
version = "1.52.3"
|
|
539
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
540
|
+
checksum = "8fc7f01b389ac15039e4dc9531aa973a135d7a4135281b12d7c1bc79fd57fffe"
|
|
541
|
+
dependencies = [
|
|
542
|
+
"bytes",
|
|
543
|
+
"libc",
|
|
544
|
+
"mio",
|
|
545
|
+
"pin-project-lite",
|
|
546
|
+
"signal-hook-registry",
|
|
547
|
+
"tokio-macros",
|
|
548
|
+
"windows-sys",
|
|
549
|
+
]
|
|
550
|
+
|
|
551
|
+
[[package]]
|
|
552
|
+
name = "tokio-macros"
|
|
553
|
+
version = "2.7.0"
|
|
554
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
555
|
+
checksum = "385a6cb71ab9ab790c5fe8d67f1645e6c450a7ce006a33de03daa956cf70a496"
|
|
556
|
+
dependencies = [
|
|
557
|
+
"proc-macro2",
|
|
558
|
+
"quote",
|
|
559
|
+
"syn",
|
|
560
|
+
]
|
|
561
|
+
|
|
562
|
+
[[package]]
|
|
563
|
+
name = "tokio-stream"
|
|
564
|
+
version = "0.1.18"
|
|
565
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
566
|
+
checksum = "32da49809aab5c3bc678af03902d4ccddea2a87d028d86392a4b1560c6906c70"
|
|
567
|
+
dependencies = [
|
|
568
|
+
"futures-core",
|
|
569
|
+
"pin-project-lite",
|
|
570
|
+
"tokio",
|
|
571
|
+
]
|
|
572
|
+
|
|
573
|
+
[[package]]
|
|
574
|
+
name = "tokio-util"
|
|
575
|
+
version = "0.7.18"
|
|
576
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
577
|
+
checksum = "9ae9cec805b01e8fc3fd2fe289f89149a9b66dd16786abd8b19cfa7b48cb0098"
|
|
578
|
+
dependencies = [
|
|
579
|
+
"bytes",
|
|
580
|
+
"futures-core",
|
|
581
|
+
"futures-sink",
|
|
582
|
+
"futures-util",
|
|
583
|
+
"pin-project-lite",
|
|
584
|
+
"tokio",
|
|
585
|
+
]
|
|
586
|
+
|
|
587
|
+
[[package]]
|
|
588
|
+
name = "unicode-ident"
|
|
589
|
+
version = "1.0.24"
|
|
590
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
591
|
+
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
592
|
+
|
|
593
|
+
[[package]]
|
|
594
|
+
name = "unicode-segmentation"
|
|
595
|
+
version = "1.13.3"
|
|
596
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
597
|
+
checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8"
|
|
598
|
+
|
|
599
|
+
[[package]]
|
|
600
|
+
name = "wasi"
|
|
601
|
+
version = "0.11.1+wasi-snapshot-preview1"
|
|
602
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
603
|
+
checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
|
|
604
|
+
|
|
605
|
+
[[package]]
|
|
606
|
+
name = "windows-link"
|
|
607
|
+
version = "0.2.1"
|
|
608
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
609
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
610
|
+
|
|
611
|
+
[[package]]
|
|
612
|
+
name = "windows-sys"
|
|
613
|
+
version = "0.61.2"
|
|
614
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
615
|
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
|
616
|
+
dependencies = [
|
|
617
|
+
"windows-link",
|
|
618
|
+
]
|
|
619
|
+
|
|
620
|
+
[[package]]
|
|
621
|
+
name = "zmij"
|
|
622
|
+
version = "1.0.21"
|
|
623
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
624
|
+
checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa"
|
codexcw-0.1.0/Cargo.toml
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
[workspace]
|
|
2
|
+
resolver = "2"
|
|
3
|
+
members = ["crates/codexcw", "bindings/python"]
|
|
4
|
+
|
|
5
|
+
[workspace.package]
|
|
6
|
+
version = "0.1.0"
|
|
7
|
+
edition = "2021"
|
|
8
|
+
rust-version = "1.90"
|
|
9
|
+
license = "CC0-1.0"
|
|
10
|
+
repository = "https://github.com/c3-oss/codexcw"
|
|
11
|
+
homepage = "https://github.com/c3-oss/codexcw"
|
|
12
|
+
authors = ["c3-oss"]
|
|
13
|
+
|
|
14
|
+
[workspace.dependencies]
|
|
15
|
+
codexcw = { path = "crates/codexcw", version = "0.1.0" }
|
|
16
|
+
tokio = { version = "1", default-features = false, features = [
|
|
17
|
+
"process",
|
|
18
|
+
"io-util",
|
|
19
|
+
"rt",
|
|
20
|
+
"rt-multi-thread",
|
|
21
|
+
"sync",
|
|
22
|
+
"macros",
|
|
23
|
+
"time",
|
|
24
|
+
] }
|
|
25
|
+
tokio-stream = "0.1"
|
|
26
|
+
tokio-util = { version = "0.7", features = ["codec", "rt"] }
|
|
27
|
+
serde = { version = "1", features = ["derive"] }
|
|
28
|
+
serde_json = { version = "1", features = ["raw_value"] }
|
|
29
|
+
thiserror = "2"
|
|
30
|
+
tempfile = "3"
|
|
31
|
+
|
|
32
|
+
[profile.release]
|
|
33
|
+
lto = true
|
|
34
|
+
strip = true
|