e-serde 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.
- e_serde-0.1.0/Cargo.lock +546 -0
- e_serde-0.1.0/Cargo.toml +23 -0
- e_serde-0.1.0/LICENSE +21 -0
- e_serde-0.1.0/PKG-INFO +180 -0
- e_serde-0.1.0/README.md +157 -0
- e_serde-0.1.0/crates/native/Cargo.toml +19 -0
- e_serde-0.1.0/crates/native/src/convert.rs +87 -0
- e_serde-0.1.0/crates/native/src/ini.rs +96 -0
- e_serde-0.1.0/crates/native/src/jsonc.rs +32 -0
- e_serde-0.1.0/crates/native/src/lib.rs +27 -0
- e_serde-0.1.0/crates/native/src/toml.rs +94 -0
- e_serde-0.1.0/crates/native/src/yaml.rs +204 -0
- e_serde-0.1.0/pyproject.toml +161 -0
- e_serde-0.1.0/src/eserde/__init__.py +45 -0
- e_serde-0.1.0/src/eserde/_native.pyi +18 -0
- e_serde-0.1.0/src/eserde/backends/base.py +37 -0
- e_serde-0.1.0/src/eserde/backends/msgspec/json.py +34 -0
- e_serde-0.1.0/src/eserde/backends/native/ini.py +29 -0
- e_serde-0.1.0/src/eserde/backends/native/jsonc.py +20 -0
- e_serde-0.1.0/src/eserde/backends/native/toml.py +20 -0
- e_serde-0.1.0/src/eserde/backends/native/yaml.py +19 -0
- e_serde-0.1.0/src/eserde/backends/registry.py +80 -0
- e_serde-0.1.0/src/eserde/compat.py +94 -0
- e_serde-0.1.0/src/eserde/infra/errors.py +27 -0
- e_serde-0.1.0/src/eserde/infra/formats.py +40 -0
- e_serde-0.1.0/src/eserde/infra/io.py +28 -0
- e_serde-0.1.0/src/eserde/infra/protocols.py +28 -0
- e_serde-0.1.0/src/eserde/logic/api.py +286 -0
- e_serde-0.1.0/src/eserde/logic/encoder.py +151 -0
- e_serde-0.1.0/src/eserde/main.py +20 -0
- e_serde-0.1.0/src/eserde/py.typed +0 -0
e_serde-0.1.0/Cargo.lock
ADDED
|
@@ -0,0 +1,546 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "arraydeque"
|
|
7
|
+
version = "0.5.1"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "7d902e3d592a523def97af8f317b08ce16b7ab854c1985a0c671e6f15cebc236"
|
|
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 = "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 = "const-random"
|
|
25
|
+
version = "0.1.18"
|
|
26
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
27
|
+
checksum = "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359"
|
|
28
|
+
dependencies = [
|
|
29
|
+
"const-random-macro",
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
[[package]]
|
|
33
|
+
name = "const-random-macro"
|
|
34
|
+
version = "0.1.16"
|
|
35
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
36
|
+
checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e"
|
|
37
|
+
dependencies = [
|
|
38
|
+
"getrandom",
|
|
39
|
+
"once_cell",
|
|
40
|
+
"tiny-keccak",
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
[[package]]
|
|
44
|
+
name = "core_detect"
|
|
45
|
+
version = "1.0.0"
|
|
46
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
47
|
+
checksum = "7f8f80099a98041a3d1622845c271458a2d73e688351bf3cb999266764b81d48"
|
|
48
|
+
|
|
49
|
+
[[package]]
|
|
50
|
+
name = "crunchy"
|
|
51
|
+
version = "0.2.4"
|
|
52
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
53
|
+
checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5"
|
|
54
|
+
|
|
55
|
+
[[package]]
|
|
56
|
+
name = "dlv-list"
|
|
57
|
+
version = "0.5.2"
|
|
58
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
59
|
+
checksum = "442039f5147480ba31067cb00ada1adae6892028e40e45fc5de7b7df6dcc1b5f"
|
|
60
|
+
dependencies = [
|
|
61
|
+
"const-random",
|
|
62
|
+
]
|
|
63
|
+
|
|
64
|
+
[[package]]
|
|
65
|
+
name = "e-serde-native"
|
|
66
|
+
version = "0.1.0"
|
|
67
|
+
dependencies = [
|
|
68
|
+
"jsonc-parser",
|
|
69
|
+
"pyo3",
|
|
70
|
+
"rust-ini",
|
|
71
|
+
"saphyr",
|
|
72
|
+
"serde_json",
|
|
73
|
+
"toml",
|
|
74
|
+
]
|
|
75
|
+
|
|
76
|
+
[[package]]
|
|
77
|
+
name = "encoding_rs"
|
|
78
|
+
version = "0.8.41"
|
|
79
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
80
|
+
checksum = "7b5ef0006ac9ab233c38522f5ae99cae3625151de8f706cacee1cba4b8e2832a"
|
|
81
|
+
dependencies = [
|
|
82
|
+
"cfg-if",
|
|
83
|
+
"core_detect",
|
|
84
|
+
"multiversion",
|
|
85
|
+
"multiversion_no_op",
|
|
86
|
+
"rustversion",
|
|
87
|
+
"scopeguard",
|
|
88
|
+
"simdutf8",
|
|
89
|
+
]
|
|
90
|
+
|
|
91
|
+
[[package]]
|
|
92
|
+
name = "equivalent"
|
|
93
|
+
version = "1.0.2"
|
|
94
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
95
|
+
checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
|
|
96
|
+
|
|
97
|
+
[[package]]
|
|
98
|
+
name = "foldhash"
|
|
99
|
+
version = "0.2.0"
|
|
100
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
101
|
+
checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
|
|
102
|
+
|
|
103
|
+
[[package]]
|
|
104
|
+
name = "getrandom"
|
|
105
|
+
version = "0.2.17"
|
|
106
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
107
|
+
checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
|
|
108
|
+
dependencies = [
|
|
109
|
+
"cfg-if",
|
|
110
|
+
"libc",
|
|
111
|
+
"wasi",
|
|
112
|
+
]
|
|
113
|
+
|
|
114
|
+
[[package]]
|
|
115
|
+
name = "hashbrown"
|
|
116
|
+
version = "0.14.5"
|
|
117
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
118
|
+
checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
|
|
119
|
+
|
|
120
|
+
[[package]]
|
|
121
|
+
name = "hashbrown"
|
|
122
|
+
version = "0.17.1"
|
|
123
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
124
|
+
checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
|
|
125
|
+
dependencies = [
|
|
126
|
+
"foldhash",
|
|
127
|
+
]
|
|
128
|
+
|
|
129
|
+
[[package]]
|
|
130
|
+
name = "hashlink"
|
|
131
|
+
version = "0.12.2"
|
|
132
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
133
|
+
checksum = "a596f1b20ed2cc5ecac41a164aaebc7258057060f06c0cf7a2ba3991ee7990fb"
|
|
134
|
+
dependencies = [
|
|
135
|
+
"hashbrown 0.17.1",
|
|
136
|
+
]
|
|
137
|
+
|
|
138
|
+
[[package]]
|
|
139
|
+
name = "heck"
|
|
140
|
+
version = "0.5.0"
|
|
141
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
142
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
143
|
+
|
|
144
|
+
[[package]]
|
|
145
|
+
name = "indexmap"
|
|
146
|
+
version = "2.14.0"
|
|
147
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
148
|
+
checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9"
|
|
149
|
+
dependencies = [
|
|
150
|
+
"equivalent",
|
|
151
|
+
"hashbrown 0.17.1",
|
|
152
|
+
]
|
|
153
|
+
|
|
154
|
+
[[package]]
|
|
155
|
+
name = "itoa"
|
|
156
|
+
version = "1.0.18"
|
|
157
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
158
|
+
checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
|
|
159
|
+
|
|
160
|
+
[[package]]
|
|
161
|
+
name = "jsonc-parser"
|
|
162
|
+
version = "0.33.2"
|
|
163
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
164
|
+
checksum = "9ff5a48f48971be8e762a6ff955725a0802b6e46c441057992da5a673db9fd3a"
|
|
165
|
+
dependencies = [
|
|
166
|
+
"serde",
|
|
167
|
+
]
|
|
168
|
+
|
|
169
|
+
[[package]]
|
|
170
|
+
name = "libc"
|
|
171
|
+
version = "0.2.186"
|
|
172
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
173
|
+
checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
|
|
174
|
+
|
|
175
|
+
[[package]]
|
|
176
|
+
name = "memchr"
|
|
177
|
+
version = "2.8.3"
|
|
178
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
179
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
180
|
+
|
|
181
|
+
[[package]]
|
|
182
|
+
name = "multiversion"
|
|
183
|
+
version = "0.9.0"
|
|
184
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
185
|
+
checksum = "b4ca4bea16ffc3f443cf7d866912118196bfef4c6a1556ca00f9f9b00bb43f7c"
|
|
186
|
+
dependencies = [
|
|
187
|
+
"multiversion-macros",
|
|
188
|
+
]
|
|
189
|
+
|
|
190
|
+
[[package]]
|
|
191
|
+
name = "multiversion-macros"
|
|
192
|
+
version = "0.9.0"
|
|
193
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
194
|
+
checksum = "0d416831a7317ef4b08bee00b69cbbb9c8763da7959a7026244d6266869f9c83"
|
|
195
|
+
dependencies = [
|
|
196
|
+
"proc-macro2",
|
|
197
|
+
"quote",
|
|
198
|
+
"rustversion",
|
|
199
|
+
"syn 3.0.5",
|
|
200
|
+
]
|
|
201
|
+
|
|
202
|
+
[[package]]
|
|
203
|
+
name = "multiversion_no_op"
|
|
204
|
+
version = "1.0.0"
|
|
205
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
206
|
+
checksum = "743fb55ba31b18fb1ecef6bdc9aa2743314978ac084044301a7eee33fb99a20d"
|
|
207
|
+
|
|
208
|
+
[[package]]
|
|
209
|
+
name = "num-traits"
|
|
210
|
+
version = "0.2.19"
|
|
211
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
212
|
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
|
213
|
+
dependencies = [
|
|
214
|
+
"autocfg",
|
|
215
|
+
]
|
|
216
|
+
|
|
217
|
+
[[package]]
|
|
218
|
+
name = "once_cell"
|
|
219
|
+
version = "1.21.4"
|
|
220
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
221
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
222
|
+
|
|
223
|
+
[[package]]
|
|
224
|
+
name = "ordered-float"
|
|
225
|
+
version = "5.5.0"
|
|
226
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
227
|
+
checksum = "8c7c9e0d9b23589f26070720bac724174bfec1083e82f7854cdd0267518343c0"
|
|
228
|
+
dependencies = [
|
|
229
|
+
"num-traits",
|
|
230
|
+
]
|
|
231
|
+
|
|
232
|
+
[[package]]
|
|
233
|
+
name = "ordered-multimap"
|
|
234
|
+
version = "0.7.3"
|
|
235
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
236
|
+
checksum = "49203cdcae0030493bad186b28da2fa25645fa276a51b6fec8010d281e02ef79"
|
|
237
|
+
dependencies = [
|
|
238
|
+
"dlv-list",
|
|
239
|
+
"hashbrown 0.14.5",
|
|
240
|
+
]
|
|
241
|
+
|
|
242
|
+
[[package]]
|
|
243
|
+
name = "portable-atomic"
|
|
244
|
+
version = "1.13.1"
|
|
245
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
246
|
+
checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
|
|
247
|
+
|
|
248
|
+
[[package]]
|
|
249
|
+
name = "proc-macro2"
|
|
250
|
+
version = "1.0.106"
|
|
251
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
252
|
+
checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
|
|
253
|
+
dependencies = [
|
|
254
|
+
"unicode-ident",
|
|
255
|
+
]
|
|
256
|
+
|
|
257
|
+
[[package]]
|
|
258
|
+
name = "pyo3"
|
|
259
|
+
version = "0.29.2"
|
|
260
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
261
|
+
checksum = "4688ddedf473e32662b9b067670129a8afb8c18e351482c70d62ba4a88171e8b"
|
|
262
|
+
dependencies = [
|
|
263
|
+
"libc",
|
|
264
|
+
"once_cell",
|
|
265
|
+
"portable-atomic",
|
|
266
|
+
"pyo3-build-config",
|
|
267
|
+
"pyo3-ffi",
|
|
268
|
+
"pyo3-macros",
|
|
269
|
+
"serde",
|
|
270
|
+
]
|
|
271
|
+
|
|
272
|
+
[[package]]
|
|
273
|
+
name = "pyo3-build-config"
|
|
274
|
+
version = "0.29.2"
|
|
275
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
276
|
+
checksum = "f41027e41b4bd03f6e60f9f417fe24a6341a6bb744edd62b6f709f2a52ea30e9"
|
|
277
|
+
dependencies = [
|
|
278
|
+
"target-lexicon",
|
|
279
|
+
]
|
|
280
|
+
|
|
281
|
+
[[package]]
|
|
282
|
+
name = "pyo3-ffi"
|
|
283
|
+
version = "0.29.2"
|
|
284
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
285
|
+
checksum = "e591a95526fead067432c3b3a33fc74770b87b1e04e73671090d9c2055a2b327"
|
|
286
|
+
dependencies = [
|
|
287
|
+
"libc",
|
|
288
|
+
"pyo3-build-config",
|
|
289
|
+
]
|
|
290
|
+
|
|
291
|
+
[[package]]
|
|
292
|
+
name = "pyo3-macros"
|
|
293
|
+
version = "0.29.2"
|
|
294
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
295
|
+
checksum = "73225868fc1cd84eef2c3c230ddb91273bf1de46aeb8a4248da76d32a0924a1c"
|
|
296
|
+
dependencies = [
|
|
297
|
+
"proc-macro2",
|
|
298
|
+
"pyo3-macros-backend",
|
|
299
|
+
"quote",
|
|
300
|
+
"syn 2.0.117",
|
|
301
|
+
]
|
|
302
|
+
|
|
303
|
+
[[package]]
|
|
304
|
+
name = "pyo3-macros-backend"
|
|
305
|
+
version = "0.29.2"
|
|
306
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
307
|
+
checksum = "571575aa3749fa6216757dd47d2a3e7ef360f329a40f0666a9fbd14889024952"
|
|
308
|
+
dependencies = [
|
|
309
|
+
"heck",
|
|
310
|
+
"proc-macro2",
|
|
311
|
+
"quote",
|
|
312
|
+
"syn 2.0.117",
|
|
313
|
+
]
|
|
314
|
+
|
|
315
|
+
[[package]]
|
|
316
|
+
name = "quote"
|
|
317
|
+
version = "1.0.45"
|
|
318
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
319
|
+
checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
|
|
320
|
+
dependencies = [
|
|
321
|
+
"proc-macro2",
|
|
322
|
+
]
|
|
323
|
+
|
|
324
|
+
[[package]]
|
|
325
|
+
name = "rust-ini"
|
|
326
|
+
version = "0.21.3"
|
|
327
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
328
|
+
checksum = "796e8d2b6696392a43bea58116b667fb4c29727dc5abd27d6acf338bb4f688c7"
|
|
329
|
+
dependencies = [
|
|
330
|
+
"cfg-if",
|
|
331
|
+
"ordered-multimap",
|
|
332
|
+
]
|
|
333
|
+
|
|
334
|
+
[[package]]
|
|
335
|
+
name = "rustversion"
|
|
336
|
+
version = "1.0.23"
|
|
337
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
338
|
+
checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
|
|
339
|
+
|
|
340
|
+
[[package]]
|
|
341
|
+
name = "saphyr"
|
|
342
|
+
version = "0.0.12"
|
|
343
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
344
|
+
checksum = "372edd44fb1d21f97d7160ca1fb3ed522b7f7315b2369cd10e5127379db5af33"
|
|
345
|
+
dependencies = [
|
|
346
|
+
"encoding_rs",
|
|
347
|
+
"hashlink",
|
|
348
|
+
"ordered-float",
|
|
349
|
+
"saphyr-parser",
|
|
350
|
+
"thiserror",
|
|
351
|
+
]
|
|
352
|
+
|
|
353
|
+
[[package]]
|
|
354
|
+
name = "saphyr-parser"
|
|
355
|
+
version = "0.0.12"
|
|
356
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
357
|
+
checksum = "a0b1b76852c5643f558e7347e4de549474c3ecb7154295a189f4668428c1b453"
|
|
358
|
+
dependencies = [
|
|
359
|
+
"arraydeque",
|
|
360
|
+
"thiserror",
|
|
361
|
+
]
|
|
362
|
+
|
|
363
|
+
[[package]]
|
|
364
|
+
name = "scopeguard"
|
|
365
|
+
version = "1.2.0"
|
|
366
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
367
|
+
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
|
|
368
|
+
|
|
369
|
+
[[package]]
|
|
370
|
+
name = "serde"
|
|
371
|
+
version = "1.0.228"
|
|
372
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
373
|
+
checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
|
|
374
|
+
dependencies = [
|
|
375
|
+
"serde_core",
|
|
376
|
+
"serde_derive",
|
|
377
|
+
]
|
|
378
|
+
|
|
379
|
+
[[package]]
|
|
380
|
+
name = "serde_core"
|
|
381
|
+
version = "1.0.228"
|
|
382
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
383
|
+
checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
|
|
384
|
+
dependencies = [
|
|
385
|
+
"serde_derive",
|
|
386
|
+
]
|
|
387
|
+
|
|
388
|
+
[[package]]
|
|
389
|
+
name = "serde_derive"
|
|
390
|
+
version = "1.0.228"
|
|
391
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
392
|
+
checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
|
|
393
|
+
dependencies = [
|
|
394
|
+
"proc-macro2",
|
|
395
|
+
"quote",
|
|
396
|
+
"syn 2.0.117",
|
|
397
|
+
]
|
|
398
|
+
|
|
399
|
+
[[package]]
|
|
400
|
+
name = "serde_json"
|
|
401
|
+
version = "1.0.151"
|
|
402
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
403
|
+
checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14"
|
|
404
|
+
dependencies = [
|
|
405
|
+
"indexmap",
|
|
406
|
+
"itoa",
|
|
407
|
+
"memchr",
|
|
408
|
+
"serde",
|
|
409
|
+
"serde_core",
|
|
410
|
+
"zmij",
|
|
411
|
+
]
|
|
412
|
+
|
|
413
|
+
[[package]]
|
|
414
|
+
name = "serde_spanned"
|
|
415
|
+
version = "1.1.1"
|
|
416
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
417
|
+
checksum = "6662b5879511e06e8999a8a235d848113e942c9124f211511b16466ee2995f26"
|
|
418
|
+
dependencies = [
|
|
419
|
+
"serde_core",
|
|
420
|
+
]
|
|
421
|
+
|
|
422
|
+
[[package]]
|
|
423
|
+
name = "simdutf8"
|
|
424
|
+
version = "0.1.5"
|
|
425
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
426
|
+
checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e"
|
|
427
|
+
|
|
428
|
+
[[package]]
|
|
429
|
+
name = "syn"
|
|
430
|
+
version = "2.0.117"
|
|
431
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
432
|
+
checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
|
|
433
|
+
dependencies = [
|
|
434
|
+
"proc-macro2",
|
|
435
|
+
"quote",
|
|
436
|
+
"unicode-ident",
|
|
437
|
+
]
|
|
438
|
+
|
|
439
|
+
[[package]]
|
|
440
|
+
name = "syn"
|
|
441
|
+
version = "3.0.5"
|
|
442
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
443
|
+
checksum = "12df2e0110f65b775f769bb17ef989067a1d931b2eb822bd4346631eeada89f9"
|
|
444
|
+
dependencies = [
|
|
445
|
+
"proc-macro2",
|
|
446
|
+
"quote",
|
|
447
|
+
"unicode-ident",
|
|
448
|
+
]
|
|
449
|
+
|
|
450
|
+
[[package]]
|
|
451
|
+
name = "target-lexicon"
|
|
452
|
+
version = "0.13.5"
|
|
453
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
454
|
+
checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
455
|
+
|
|
456
|
+
[[package]]
|
|
457
|
+
name = "thiserror"
|
|
458
|
+
version = "2.0.20"
|
|
459
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
460
|
+
checksum = "ec86235f5fcc2a73650310756d2ac5b138a5780bbbdfae3eeccec992c435ba4f"
|
|
461
|
+
dependencies = [
|
|
462
|
+
"thiserror-impl",
|
|
463
|
+
]
|
|
464
|
+
|
|
465
|
+
[[package]]
|
|
466
|
+
name = "thiserror-impl"
|
|
467
|
+
version = "2.0.20"
|
|
468
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
469
|
+
checksum = "bc04cd3e1236dd4a98afca4569f2deb3f120e5422a4023be2cb683f8486292af"
|
|
470
|
+
dependencies = [
|
|
471
|
+
"proc-macro2",
|
|
472
|
+
"quote",
|
|
473
|
+
"syn 3.0.5",
|
|
474
|
+
]
|
|
475
|
+
|
|
476
|
+
[[package]]
|
|
477
|
+
name = "tiny-keccak"
|
|
478
|
+
version = "2.0.2"
|
|
479
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
480
|
+
checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237"
|
|
481
|
+
dependencies = [
|
|
482
|
+
"crunchy",
|
|
483
|
+
]
|
|
484
|
+
|
|
485
|
+
[[package]]
|
|
486
|
+
name = "toml"
|
|
487
|
+
version = "1.1.6+spec-1.1.0"
|
|
488
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
489
|
+
checksum = "920602543f0911ab71da12c50d59701da54c196d1a2bf5cb4b75667f137a406a"
|
|
490
|
+
dependencies = [
|
|
491
|
+
"indexmap",
|
|
492
|
+
"serde_core",
|
|
493
|
+
"serde_spanned",
|
|
494
|
+
"toml_datetime",
|
|
495
|
+
"toml_parser",
|
|
496
|
+
"toml_writer",
|
|
497
|
+
"winnow",
|
|
498
|
+
]
|
|
499
|
+
|
|
500
|
+
[[package]]
|
|
501
|
+
name = "toml_datetime"
|
|
502
|
+
version = "1.1.1+spec-1.1.0"
|
|
503
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
504
|
+
checksum = "3165f65f62e28e0115a00b2ebdd37eb6f3b641855f9d636d3cd4103767159ad7"
|
|
505
|
+
dependencies = [
|
|
506
|
+
"serde_core",
|
|
507
|
+
]
|
|
508
|
+
|
|
509
|
+
[[package]]
|
|
510
|
+
name = "toml_parser"
|
|
511
|
+
version = "1.1.3+spec-1.1.0"
|
|
512
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
513
|
+
checksum = "1d38ac1cf9b95face32296c0a3ede1fdc270627c9d9c02a7274dd6d960dc4d56"
|
|
514
|
+
dependencies = [
|
|
515
|
+
"winnow",
|
|
516
|
+
]
|
|
517
|
+
|
|
518
|
+
[[package]]
|
|
519
|
+
name = "toml_writer"
|
|
520
|
+
version = "1.1.2+spec-1.1.0"
|
|
521
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
522
|
+
checksum = "7d56353a2a665ad0f41a421187180aab746c8c325620617ad883a99a1cbe66d2"
|
|
523
|
+
|
|
524
|
+
[[package]]
|
|
525
|
+
name = "unicode-ident"
|
|
526
|
+
version = "1.0.24"
|
|
527
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
528
|
+
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
529
|
+
|
|
530
|
+
[[package]]
|
|
531
|
+
name = "wasi"
|
|
532
|
+
version = "0.11.1+wasi-snapshot-preview1"
|
|
533
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
534
|
+
checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
|
|
535
|
+
|
|
536
|
+
[[package]]
|
|
537
|
+
name = "winnow"
|
|
538
|
+
version = "1.0.4"
|
|
539
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
540
|
+
checksum = "23b97319f7b8343df12cc98938e5c3eb436064524c8d2b4e30a1d3a36eecdf81"
|
|
541
|
+
|
|
542
|
+
[[package]]
|
|
543
|
+
name = "zmij"
|
|
544
|
+
version = "1.0.23"
|
|
545
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
546
|
+
checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
|
e_serde-0.1.0/Cargo.toml
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[workspace]
|
|
2
|
+
resolver = "3"
|
|
3
|
+
members = ["crates/native"]
|
|
4
|
+
|
|
5
|
+
[workspace.package]
|
|
6
|
+
version = "0.1.0"
|
|
7
|
+
edition = "2024"
|
|
8
|
+
license = "MIT"
|
|
9
|
+
repository = "https://github.com/damvolkov/e-serde"
|
|
10
|
+
|
|
11
|
+
[workspace.dependencies]
|
|
12
|
+
pyo3 = { version = "0.29", features = ["extension-module"] }
|
|
13
|
+
serde_json = { version = "1.0", features = ["preserve_order"] }
|
|
14
|
+
saphyr = "0.0"
|
|
15
|
+
toml = { version = "1.1", features = ["preserve_order"] }
|
|
16
|
+
jsonc-parser = { version = "0.33", features = ["serde"] }
|
|
17
|
+
rust-ini = "0.21"
|
|
18
|
+
|
|
19
|
+
[profile.release]
|
|
20
|
+
lto = "fat"
|
|
21
|
+
codegen-units = 1
|
|
22
|
+
strip = "symbols"
|
|
23
|
+
panic = "abort"
|
e_serde-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 damvolkov
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|